Part 3 · Test performance and human review

Chapter 13: Evaluating Retrieval-Augmented Generation

Evaluate retrieval, source selection, citation support and access controls separately.

On this page

Break the problem into stages

Check source eligibility, extraction and indexing, retrieval relevance, answer support, and user interpretation. A failure at an early stage can make later answer evaluation misleading.

Worked example — fictional

A user asks how Site B handles an overdue calibration. The system retrieves Site A’s procedure because its title is similar. The answer accurately summarizes Site A, but it is wrong for the user’s context.

The improvement is not merely asking the model to be more accurate. Examine metadata, filters, ambiguity handling, and whether the system should ask which site applies.

Evidence to collect

For each case, identify the expected relevant source or the reason no answer should be given. Record retrieved passages and their versions. Evaluate whether the answer’s claims are supported and whether omitted exceptions change the meaning. Challenge access boundaries so unauthorized material does not enter retrieval or output.

Completed finding: “The answer is supported by the retrieved passage but fails contextual relevance because the source applies to a different site. This is recorded as an incorrect response, not a successful grounded answer.”

What changes for this type of AI?

TechnologyFailure and potential impactPractical controlEvidence needed
Retrieval-augmented generationApproved-source selection, currency, retrieval or access fails; a supported-looking answer is wrong for the userVerify source eligibility, contextual retrieval, citations and permission enforcement separatelyExpected/retrieved passages, approved revisions, access challenges and claim-level support

Related work: testing, supplier assessment, records, change control, monitoring.

Exercise

Can a high citation rate establish answer quality?

Show suggested answer

No. Citations can be irrelevant, obsolete, or insufficient for the claim. Evaluate the support and applicability of each material claim, not only whether a link is present.

Expected records

A retrieval/source evaluation record separating eligible sources, retrieved passages, claim support, access and final outcome. Adapt record names and detail to the applicable procedures; these are practitioner examples, not a universal mandatory document list.

Relevant regulations and guidance

Regulations set requirements within their scope; guidance offers recommendations or explains applicable expectations; standards depend on adoption or incorporation. Voluntary frameworks do not establish compliance. The lesson's controls, test designs and example records are practitioner suggestions unless explicitly identified otherwise.

Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile ↗

Voluntary framework · National Institute of Standards and Technology · NIST AI 600-1 · July 2024

Scope: United States · Cross-sector AI governance and risk management, including generative AI.

Relevance to this lesson: Provides context for information integrity and generative-AI risks; the staged retrieval tests are practitioner examples.

Publication status: Final / published. Source checked 21 September 2026.

Publication identity, scope and status checked against the linked official source. This is not an independent audit of every retained guide statement.

Source details and applicability

21 CFR Part 11 — Electronic Records; Electronic Signatures ↗

Regulation · U.S. Food and Drug Administration · Current eCFR text

Scope: United States · Electronic records and signatures within FDA Part 11 scope, tied to the underlying required records.

Relevance to this lesson: If the retrieved or approved information forms records in scope, assess the relevant record controls.

Publication status: Final / published. Source checked 21 September 2026.

Publication identity, scope and status checked against the linked official source. This is not an independent audit of every retained guide statement.

Source details and applicability
Editorial information and limitations

Educational chapter · Editorial version 2.0. The update date records substantive site editing; a completed independent technical review is not claimed.

AI tools assisted drafting and structural editing. Examples and results labelled fictional or synthetic are teaching material. Adapt the methods to the actual intended use, applicable requirements and approved procedures.

Estimated reading time uses the written lesson at 220 words per minute, with links and Markdown formatting removed. Video time comes from the media file and is separate.

Sources, authorship and editorial policy
Suggest a correction

Sent privately to the editorial moderation queue. Your account email and correction are not published as a comment. Do not include confidential or personal information.

Chapter: 13: Evaluating Retrieval-Augmented Generation · Chapter link

Loading sign-in status…

Correction details

Was this resource useful?

Tell us what helped and what could be clearer. Usefulness feedback does not establish technical validity or regulatory compliance.

Loading contribution options…

Questions and discussion

Ask a question or share a perspective. Contributions are reviewed before publication.

Loading contribution options…