HarshitaNalajala/real-world-rag
Real World RAG System — RAG 4 group
Retrieval-augmented generation over the biomedical (CovidQA) subset of RAGBench, built as a capstone project by Group 18, IIIT Hyderabad AIML Post-Graduate Certificate Program.
Supervisor: Dr. Manish Shrivastava · Mentors: Gopichand, Lokesh
Pick a domain and one of its curated questions. The pipeline retrieves passages, generates an answer, and an LLM judge scores it live — showing the four TRACe metrics (Context Relevance, Utilization, Completeness, Adherence) plus recall. Use the pipeline controls to change the generator, top-k, hybrid retrieval, reranking, and prompt, and watch the metrics respond.
Pipeline
This is the R4/R6 configuration from a seven-run ablation study (R0–R6) evaluated on 100 CovidQA questions.
Setup
This Space requires a Groq API key. Add it under Settings → Variables and secrets:
- Name:
GROQ_API_KEY - Value: your key from console.groq.com
Then restart the Space. Retrieval works without the key; answer generation does not.
Note on the RAGBench reference column
The "RAGBench ref" scores were annotated on the dataset's original answer, not the answer this system generates, so they are a reference point rather than a direct grade.
Disclaimer
Research demo built on a fixed benchmark corpus. Not a source of medical advice.
