Buckets:

download
raw
905 Bytes
"""Nancy Brain - Turn GitHub repos into AI-searchable knowledge bases."""
__version__ = "0.3.0"
__all__ = ["cli", "RAGService", "__version__"]
def __getattr__(name):
"""Lazily expose heavyweight package attributes.
Importing `nancy_brain` should stay cheap so isolated OCR worker runtimes
can import `nancy_brain.pdf_ocr` without also needing CLI or full RAG deps.
"""
if name == "cli":
from .cli import cli
return cli
if name == "RAGService":
try:
import sys
from pathlib import Path
# Add parent directory to path to import rag_core
sys.path.insert(0, str(Path(__file__).parent.parent))
from rag_core.service import RAGService
return RAGService
except ImportError:
return None
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")

Xet Storage Details

Size:
905 Bytes
·
Xet hash:
57f938d1b8dfae5a40f9e75ba790637089847ddb59b68c67d5e374f01a4f2000

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.