RAG Evaluation Metrics: Retrieval Recall, Grounding and Citation Quality
Evaluate retrieval-augmented generation with separate retrieval, answer and operational metrics.
By Codesvalley
Test the evidence pipeline first
A generated answer cannot reliably cite evidence that was never retrieved. Label a representative set of queries with relevant documents or passages. Recall at a chosen candidate count measures how often required evidence appears in retrieved results; ranking measures help assess ordering. Include documents with similar titles, superseded versions and access restrictions.
Grade the generated answer
Judge whether the response addresses the question, whether factual claims are supported by source text and whether cited references actually exist. Include questions where there is insufficient evidence and evaluate appropriate abstention. Use expert-reviewed examples to calibrate any model-assisted grader; do not treat an unvalidated judge score as ground truth.
Release with operational gates
Measure p95 response time, cost per accepted answer, availability and permission leakage tests. Use separate thresholds for serious failures rather than hiding them inside an average quality score. Compare each candidate retrieval or prompt change against a fixed baseline. Keep a holdout dataset and periodically add representative production incidents.
Next step
Bring failing questions and expected evidence to scope an evaluation harness.
Explore AI product development services or email Codesvalley to discuss your requirements. Related guide: eval harnesses.