Course map
Stage 1: Foundations
Stage 2: Machine Learning
Stage 3: Deep Learning
Stage 4: LLMs & Generative AI
Stage 5: Production & Specialization

Part 17 / Topic 4 of 6

Measuring answers

Retrieval green does not make answers green. Two answer-side checks:

  • Faithfulness — is every claim supported by the retrieved text? Spot-check by following the citations; automate with an LLM judge comparing answer sentences to sources (Track A).
  • Correctness — on questions with known answers, does the reply contain them? A labelled set of (question, expected-fact) pairs, scored like Part 15's eval.

Separate scoreboards matter because the fixes differ: faithfulness failures are prompt problems; correctness failures with good retrieval are generation problems; correctness failures with bad retrieval are Part 16 problems.

🧪 Quick quiz

  1. Retrieval returns the right document but the answer is still wrong. Where do you look next?
Show the answer

The prompt and the generation step — separate retrieval failures from generation failures, each with its own eval.

Done here? The practice set for Part 17 — 4 exercises with solutions — is on the part page.

Search the guide