semantic-retrieval-api / README_HF.md
Kind07's picture
Initial clean commit for web deployment
ed65693
|
Raw
History Blame Contribute Delete
762 Bytes
---
title: Semantic Document Retrieval API
emoji: πŸ”¬
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---
# πŸ”¬ Calibrated Entropy-Weighted Hybrid Retrieval API
A research-oriented hybrid retrieval system deployed on Hugging Face Spaces. Combines BM25 sparse retrieval, FAISS dense retrieval, corpus-level CDF score calibration, entropy-weighted adaptive fusion, and cross-encoder reranking behind a FastAPI service.
## πŸ“‘ API Endpoints
- `GET /` β€” Root API status & route map
- `GET /health` β€” Service health & index state
- `GET /modes` β€” List all 7 retrieval modes
- `POST /query` β€” Query indexed documents
- `POST /upload` β€” Upload PDF/TXT/MD files to index
- `GET /documents` β€” List all indexed source documents