← Overview

RAG FIELD GUIDE · MODULE 01

Measure the stages, not just the answer.

RAG has two failure surfaces. If retrieval misses the evidence, generation cannot recover it. Evaluate both before tuning prompts.

RAG FIELD GUIDE · READER · 2 sections

01

What to measure

  1. Recall@k — did the evidence appear?
  2. MRR / nDCG — is the right evidence near the top?
  3. Context precision — is the context clean?
  4. Faithfulness — is the answer supported?
  5. Citation quality — does the citation prove the claim?
  6. Latency and cost — what did the improvement cost?

02

How to use it

Keep a small, fixed evaluation set. Change one stage at a time and record the tradeoff.

Record both the gain and the cost. A higher score that you cannot explain is not an improvement you can maintain.