Back to Projects
RAG & LLM2026
Distributed Hybrid RAG & Rerank Mesh
Dense Vector + BM25 RRF + Cross-Encoder Pipeline at 10M+ Scale
Project Overview
Designed an end-to-end Hybrid RAG architecture capable of indexing 10M+ enterprise document chunks with sub-40ms retrieval latency. Queries undergo multi-query expansion and metadata pre-filtering before hitting Qdrant HNSW dense indexes and BM25 sparse indexes in parallel.
Results are merged via Reciprocal Rank Fusion (RRF), re-scored by a Cross-Encoder reranker, and expanded via Parent-Child context resolution so the LLM receives complete, coherent sections with verifiable inline citations and Ragas faithfulness gating.
- 97.4%
- Recall@10
- 38ms
- P95 Retrieval
- 0.982
- Faithfulness
- 10M+
- Indexed Docs
Gallery
Key Features
- 01Parallel Dense HNSW + Sparse BM25 hybrid retrieval with RRF fusion
- 02Cross-Encoder reranking + Parent-Child document context expansion
- 03Automated Ragas CI/CD evaluation suite across 500+ golden QA pairs
- 04Zero-hallucination inline citation grounding & permission ACL filtering
- 05Incremental async ingestion pipeline with deduplication hashing
Technology Stack
PythonQdrantBM25Cohere RerankFastAPIOpenAIRagasPostgreSQL