FastAPI RAG benchmarking backend with Qdrant, DeepEval, and multi-provider LLM support.
60
FastAPI-based evaluation engine and API service for RagBench — an open-source platform for evaluating, comparing, and optimizing RAG (Retrieval-Augmented Generation) pipelines.
The easiest way to run the complete RagBench stack is with the pre-configured Docker Compose file.
curl -O https://raw.githubusercontent.com/paramjeetn/RagBench/main/docker-compose.hub.yml
docker compose -f docker-compose.hub.yml up -d
Once the containers are running:
| Service | URL |
|---|---|
| Backend API | http://localhost:8000 |
| Swagger API Docs | http://localhost:8000/docs |
| Frontend UI | http://localhost:3000 |
To stop the stack:
docker compose -f docker-compose.hub.yml down
Document Ingestion — Parse PDF, Markdown, and TXT documents, chunk them, generate embeddings, and store them in Qdrant.
Hybrid Retrieval — Dense vector search, sparse BM25 retrieval, and Hybrid Search using Reciprocal Rank Fusion (RRF).
Reranking — Cross-encoder reranking using ms-marco-MiniLM-L-12-v2.
RAG Evaluation — Evaluate pipelines using:
Multiple LLM Providers — Gemini, OpenAI, Anthropic, and Ollama.
RagBench consists of:
Frontend
│
▼
FastAPI Backend
│
├── Document Ingestion
├── Retrieval
├── Reranking
├── RAG Evaluation
│
├── Qdrant
└── LLM Providers
The Docker Compose setup provides the required services and allows the stack to be started with a single command.
See the LICENSE file for licensing information.
Content type
Image
Digest
sha256:50abb91db…
Size
401.2 MB
Last updated
25 days ago
docker pull paramjeetn/ragbench-backend