Google retrieval-augmented generation guide
Official guidance on grounding generated responses in retrieved information and evaluating the retrieval pipeline.
Compute College
Measure whether retrieval finds useful evidence and whether the final answer stays grounded in that evidence.
Retrieval evaluation asks whether the system found the right evidence; grounded-answer evaluation asks whether the model used that evidence accurately. They are related but separate: a correct passage can be retrieved and ignored, while a fluent answer can sound grounded without being supported by the retrieved text.
Memory trick: Find the evidence, then prove the answer used it.
A single end-to-end answer score cannot show whether failure came from chunking, ranking, missing documents, prompt instructions, or generation. Separating retrieval and answer checks makes fixes more targeted and prevents adding more context when the real problem is poor ranking or unsupported synthesis.
For a policy question, the evaluator records whether the authoritative policy section appears in the top five retrieved passages, whether each answer claim has supporting text, and whether the assistant declines when the policy is absent or outdated.
Example figures are illustrative calculations, not current quoted market prices.
Current example
This source explains the method or risk boundary. It does not replace testing the actual model, data, provider, and workload conditions in production.
Official guidance on grounding generated responses in retrieved information and evaluating the retrieval pipeline.
Source discipline: examples on this page are illustrative; measure the real workload before making a release or capacity decision.
More documents do not automatically make an answer more grounded. Extra context can bury the right passage, increase cost, and introduce contradictory or untrusted evidence.
Practical takeaway
Create a retrieval test set with a known authoritative passage, distractors, stale documents, and unanswered questions. Score retrieval and final answer support separately.
Decision check: when an answer fails, can you identify whether retrieval, evidence selection, generation, or abstention caused the failure?
Compute College learning path
Step 24 of 48: Evaluate retrieval and grounded answers