Knowing If It WorksLesson 19 of 76

Module 2 · Metrics that mean something

Three questions, not one, for a retrieval system

In this lesson

  • 10 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 9 of 10 in this chapter

This chapter’s goalChoose a metric that matches the decision at hand, set a threshold from a real confusion matrix or a precision-recall curve, say whether a model’s 0.8 means anything about probability, and separate a retrieval failure from a generation failure in a system that does both.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Four numbers for a retrieval-augmented systemRetrievalWas the supportingpassage in thecontext? Recall at thek you actually passin.GroundednessIs every claimsupported by thesupplied passages? Oneclaim per call, quoterequired.RelevanceDoes the answeraddress what wasasked, rather than aneighbouring question?AbstentionOn the twentyunanswerable items,did it say so? Readbeside the refusalrate on answerableones.One ‘answer correctness’ figure fuses all four. Split apart, each failure points at a different fix:chunking and search, the prompt, the corpus, or the refusal behaviour.
One 'answer correctness' figure fuses all four. Split apart, each failure points at a different fix: chunking and search, the prompt, the corpus, or the refusal behaviour.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

One number cannot diagnose a two-stage pipeline

A retrieval-augmented system does two separable things: it finds passages, then it writes an answer from them. “Answer correctness” fuses the two, so a fall from 71% to 62% tells you a great deal about your morning and nothing about where to look.

Split it into three measurements, each with its own number:

  1. Retrieval. Was the supporting passage in the context? Recall@k, from the previous lesson.
  2. Groundedness. Is every factual claim in the answer supported by the passages that were supplied? Also called faithfulness.
  3. Relevance. Does the answer address what was actually asked?

The combinations are diagnostic, and each points somewhere different:

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Shipping It exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘Three questions, not one, for a retrieval system’, in Knowing If It Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/evaluating-ai/evaluating-rag (Accessed: 29 November 2026).