A RAG system is two systems in one — a retriever and a generator — and each fails differently. Learn retrieval metrics, faithfulness and groundedness, answer relevance and context quality, then run a full RAG evaluation on Docent that pinpoints where failures come from.
Welcome to Evaluating RAG, the fifth module. Docent is a retrieval-augmented system: it retrieves the Meridian doc pages most relevant to a question, then generates an answer from them. That means a wrong answer has two possible causes — the retriever fed the model the wrong context, or the model mishandled the right context — and if you only measure the final answer, you can’t tell which. This module teaches you to evaluate both halves.
You’ll learn retrieval metrics — precision, recall, MRR, and NDCG — to score whether the right documents came back, then faithfulness and groundedness to catch a generator that invents claims the context doesn’t support, and finally answer relevance and context quality to judge the pipeline as a whole. Along the way you’ll reconnect with a bug you met in Module 1: Docent’s keyword retriever quietly pulls the wrong pages for certain questions. The guided project runs a full RAG evaluation on Docent and, crucially, diagnoses each failure as retrieval or generation — the difference between fixing your search and fixing your prompt.
Start with Lesson 1, where one system becomes two — and each gets its own scorecard.
Complete all 5 lessons to finish the Evaluating RAG module.