Spaces:
Sleeping
Sleeping
v2: cited answers with hybrid retrieval + cross-encoder rerank, Qwen3-1.7B on CPU, retrieval trace
a072368 verified Download src/rag/__init__.py from Phoenixak99/RAG-System-Demo: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/Phoenixak99/RAG-System-Demo/resolve/main/src/rag/__init__.py
- Command line
-
hf download hf://spaces/Phoenixak99/RAG-System-Demo/src/rag/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Phoenixak99/RAG-System-Demo/resolve/main/src/rag/__init__.py
294 Bytes
| """Grounded document Q&A: hybrid retrieval, cross-encoder reranking and cited answers.""" | |
| from .config import REFUSAL, Settings | |
| from .pipeline import RAG, Answer | |
| from .retrieve import Hit, Retrieval | |
| __all__ = ["RAG", "Answer", "Hit", "Retrieval", "Settings", "REFUSAL"] | |
| __version__ = "2.0.0" | |