sagelearnai

Measuring RAG Quality

A RAG system has two components that fail independently, the retriever and the generator, so evaluate both separately, and then together.

Question Retrieved context Answer Ground truth context relevance faithfulness answer relevance context recall correctness
The RAG evaluation triangle (plus ground truth).

In this lesson

  • Retrieval metrics
  • Generation metrics
  • Reading the results
  • Evaluating agents

This lesson is part of AI Engineering. Unlock the full course to read it, take the quiz and track your progress.

See plans →

Last reviewed 2026-11-05.