Download src/__init__.py from tca111/rag-demo: direct link, hf CLI and curl.
- Browser
- Download file 576 Bytes
-
https://huggingface.co/spaces/tca111/rag-demo/resolve/main/src/__init__.py
- Command line
-
hf download hf://spaces/tca111/rag-demo/src/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/tca111/rag-demo/resolve/main/src/__init__.py
576 Bytes
| """RAG-Pinecone-Demo source package.""" | |
| from .vector_store import VectorStore, create_vector_store_from_env | |
| from .rag_chain import RAGChain, create_rag_chain_from_env | |
| from .utils import ( | |
| load_document, | |
| load_documents_from_directory, | |
| validate_env_variables, | |
| get_document_stats, | |
| format_file_size, | |
| ) | |
| __all__ = [ | |
| "VectorStore", | |
| "create_vector_store_from_env", | |
| "RAGChain", | |
| "create_rag_chain_from_env", | |
| "load_document", | |
| "load_documents_from_directory", | |
| "validate_env_variables", | |
| "get_document_stats", | |
| "format_file_size", | |
| ] | |