experiment · growing

End-to-end eval

Faithfulness, answer relevancy, context precision and recall. Label-free and labelled modes.

Isolated evals audit retrieval; end-to-end evals audit the answer the user sees. Both are needed, neither substitutes for the other.

the e2e harness
Question
RAG pipeline
Answer + context
Evaluator
MetricThe question it asks
Faithfulnessis every claim present in the shown context
Answer relevancydoes the answer address the question
Context precisionhow much of the retrieved context was needed
Context recallhow much of the needed context arrived

Two modes

  • Label-free. No reference answer: faithfulness, relevancy, tone, toxicity. Cheap enough to run on every commit.
  • Labelled. Ground-truth answers exist: correctness, coverage. Expensive to write, and the sharpest catcher of regressions.
#eval #faithfulness #ragas

See this note on the whiteboard →