rag-fusion
multi-query generation + Reciprocal Rank Fusion for retrieval-augmented generation
GraphCanon updated today · GitHub synced today
Decision brief
RAG-Fusion leverages multi-query generation and Reciprocal Rank Fusion for enhanced retrieval-augmented generation tasks, supporting evaluations via NFCorpus/BEIR.
Good fit when
- For enhancing precision in retrieval-augmented generation tasks needing complex query processing
- When using BEIR or similar datasets to benchmark your generation models
Avoid when
- If you require real-time performance, as multi-query generation may introduce latency
- In scenarios where only simple keyword-based search suffices without the need for advanced fusion techniques
Observed Jul 15, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Slowing (118d since push)
- As of today
- Provenance
- Not a fork · Personal account
- As of today
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install rag-fusion PyPISimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
RAG-Fusion uses multi-query generation and Reciprocal Rank Fusion to improve retrieval-augmented generation applications. It provides an evaluation framework using NFCorpus/BEIR.
Capability facts
- Languages
- python
Source: github.language · Aug 23, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 23, 2026)
2. Set up your OpenAI API key:Source link
Source: README excerpt (regex_v1, Aug 23, 2026)
pip install openai chromadb python-dotenv tqdm tabulate rank_bm25Source link
Tags
README
Getting Started
-
Install dependencies:
pip install openai chromadb python-dotenv tqdm tabulate rank_bm25 -
Set up your OpenAI API key:
cp .env.example .envThen edit
.envand replaceyour-key-herewith your actual key. -
Run the demo:
python main.py -
Run the tests (no API key needed):
python -m pytest test_main.py -v
For agents
This page has a .md twin and JSON over the API.