Skip to content
Every project

Hybrid-Search RAG Pipeline

Dense + BM25 dual index, RRF fusion, cross-encoder rerank — and a gate that knows when to say I don't know.

What it does

Most RAG demos hallucinate when they are unsure. This pipeline binds every generated claim to its source, verifies citations with an LLM judge, and refuses to answer when the composite confidence score drops below threshold. Ships with three swappable chunking strategies and multi-format ingestion.

Architecture

documentschunkingdenseBM25RRFrerankgate