File size: 762 Bytes
ed65693
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
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