Lesson 3.3

Evaluating retrieval

Before blaming the model for a bad answer, check whether the right passage was ever retrieved. Recall at k tells you which half of the system to fix.

Duration
12m
Level
Advanced
Students
5.4k students

Overview

Before blaming the model for a bad answer, check whether the right passage was ever retrieved. Recall at k tells you which half of the system to fix.

In this lesson you will:

  • Build a query set with known correct passages
  • Measure recall and precision at k
  • Separate retrieval failures from generation failures

Resources

Sanity Context and content APIs

The official reference for the tools used in this lesson.