Building and Testing a Hybrid RAG Pipeline: Dense Search, BM25, RRF and Reranking

Affectionate_Slip654 · reddit · 2026-10-05

The author built ReRankEval, a hybrid retrieval pipeline combining Dense Search + BM25 → Reciprocal Rank Fusion (RRF) → LLM reranking → answer generation, and benchmarked it against three baselines (vector-only, BM25-only, and hybrid without reranking) on five real financial/payments documents and ten hand-verified questions, with a real comparison table.

Key takeaways:

Stack: Python, Qdrant, rankbm25, EURI LLM Gateway, custom RRF, prompt-driven LLM reranker, pdfplumber. Full code is open-sourced on GitHub with a YouTube walkthrough.

Original post →

More from coding & agent

coding & agent channel →