Spaces:
Sleeping
Sleeping
Download query_engine/__init__.py from tiramesu55/powerintel: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/tiramesu55/powerintel/resolve/main/query_engine/__init__.py
- Command line
-
hf download hf://spaces/tiramesu55/powerintel/query_engine/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/tiramesu55/powerintel/resolve/main/query_engine/__init__.py
432 Bytes
| """ | |
| query_engine package | |
| RAG pipeline: Qdrant retrieval → Cohere reranking → Claude answer generation. | |
| Public API: | |
| run_query(query, history) → QueryResponse | |
| """ | |
| from .pipeline import run_query, RETRIEVE_TOP_K, RERANK_TOP_N | |
| from .models import QueryResponse, RankedResult, SearchResult | |
| __all__ = [ | |
| "run_query", | |
| "RETRIEVE_TOP_K", | |
| "RERANK_TOP_N", | |
| "QueryResponse", | |
| "RankedResult", | |
| "SearchResult", | |
| ] | |