How do you evaluate a RAG system?
AdvancedProductionRAG & vector databases
Answer
Measure retrieval and generation separately. For retrieval: does the right chunk appear in the top k (recall@k)? For generation: is the answer correct, grounded in the retrieved text, and properly cited? Build a labelled question set from real user questions and run it on every change to chunking, models or prompts.