Raudaschl/rag-fusion

RAG-Fusion: multi-query generation + Reciprocal Rank Fusion for better retrieval-augmented generation. Includes evaluation harness with NFCorpus/BEIR.

66
/ 100
Established

Multi-query generation is powered by OpenAI's GPT to explore different facets of user intent, with results aggregated via Reciprocal Rank Fusion for re-ranking across multiple retrieval perspectives. The implementation combines vector search (ChromaDB) with optional BM25 keyword search in a hybrid architecture, and includes a quantitative evaluation harness against NFCorpus/BEIR benchmarks showing +22% NDCG and +40% recall gains over baseline vector search through diverse prompt variants and result fusion strategies.

908 stars. Actively maintained with 7 commits in the last 30 days.

No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

908

Forks

110

Language

Python

License

MIT

Last pushed

Mar 07, 2026

Commits (30d)

7

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/Raudaschl/rag-fusion"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.