Lesson 4.3

End-to-end RAG evaluation

Evaluate the pipeline the user experiences: was the answer faithful to the retrieved context, and did it address the question.

Duration
11m
Level
Advanced
Students
3.9k students

Overview

Evaluate the pipeline the user experiences: was the answer faithful to the retrieved context, and did it address the question.

In this lesson you will:

  • Score faithfulness to the retrieved context
  • Score relevance to the original question
  • Track both across releases to catch regressions

Resources

Sanity Context and content APIs

The official reference for the tools used in this lesson.