Download src/bayesian_langchain/__init__.py from Angshul/Bayesian_LangChain: direct link, hf CLI and curl.
- Browser
- Download file 543 Bytes
-
https://huggingface.co/Angshul/Bayesian_LangChain/resolve/main/src/bayesian_langchain/__init__.py
- Command line
-
hf download hf://Angshul/Bayesian_LangChain/src/bayesian_langchain/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Angshul/Bayesian_LangChain/resolve/main/src/bayesian_langchain/__init__.py
543 Bytes
| from .core import ( | |
| BayesianIndex, | |
| BayesianRetrievalConfig, | |
| DocumentRecord, | |
| RetrievalHit, | |
| ExtractiveGroundedGenerator, | |
| ) | |
| __all__ = [ | |
| "BayesianIndex", | |
| "BayesianRetrievalConfig", | |
| "DocumentRecord", | |
| "RetrievalHit", | |
| "ExtractiveGroundedGenerator", | |
| ] | |
| try: | |
| from .retriever import BayesianRetriever | |
| from .rag import BayesianRAG | |
| __all__ += ["BayesianRetriever", "BayesianRAG"] | |
| except ImportError: | |
| # Core retrieval/evaluation remains usable before optional framework deps are installed. | |
| pass | |