Raudaschl/rag-fusion
RAG-Fusion: multi-query generation + Reciprocal Rank Fusion for better retrieval-augmented generation. Includes evaluation harness with NFCorpus/BEIR.
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.
Stars
908
Forks
110
Language
Python
License
MIT
Category
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.
Related tools
beir-cellar/beir
A Heterogeneous Benchmark for Information Retrieval. Easy to use, evaluate your models across...
superlinear-ai/raglite
🥤 RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL
HKUDS/LightRAG
[EMNLP2025] "LightRAG: Simple and Fast Retrieval-Augmented Generation"
illuin-tech/vidore-benchmark
Vision Document Retrieval (ViDoRe): Benchmark. Evaluation code for the ColPali paper.
HKUDS/RAG-Anything
"RAG-Anything: All-in-One RAG Framework"