Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. AI-300/
  4. AI-300 Learning Path/
  5. Study FAQs/
  6. How should I measure retrieved evidence separately from generated answer quality?

Study FAQ

How should I measure retrieved evidence separately from generated answer quality?

Exam · AI-300Knowledge domain · Optimize generative AI systems and model performanceUpdated Nov 25, 2026
Also asked as 2
  • How can I tell whether a RAG change improved evidence coverage, generated answers or both?
  • How should I score the retrieved passages and the final answers independently in a RAG experiment?

Answer

Measure whether required evidence reaches the selected context, then evaluate the actual generated answer separately. A better ranking is useful, but it does not prove that the model received enough evidence or answered correctly.

One application-owned measure is evidence coverage at a fixed context boundary: distinct required source passages whose answer-bearing content is present in selected chunks, divided by all required passages for that query. For example, if two passages are required and only one survives selection, coverage is one-half. Include necessary conditions, count duplicated coverage once, and mark no-coverage queries not applicable rather than divide by zero.

Also record the first required passage's rank and whether all multi-passage evidence survives. Save query/configuration, ordered chunk IDs, source mappings, query mode, stage-specific scores and retrieval time. Raw search scores are not an evidence label and cannot be directly compared across pure-vector and RRF modes.

Generate with the unchanged prompt and context-selection rule. Save actual context, output, citations, timing, errors and available usage. Evaluate groundedness against that context, relevance to the query and chosen safety/application rules. If using stored-output evaluation, score that saved response; an invoked Foundry target generates a new response instead.

Measure retrieval, generation and full-response time separately. Use repeated paired comparisons where variation matters and record run order and cold/warm conditions. Token counts remain usage evidence, not a full invoice.

Microsoft Learn

  • Built-in Evaluators Reference
  • Evaluation dataset schema in Microsoft Foundry
  • Relevance in vector search

Full explanation

AI-300: Lab: Comparing RAG Retrieval Configurations

Study guide · AI-300

Read the full explanation →
← Back to AI-300 FAQsView learning path →

Related questions

When should a RAG system use keyword, vector or hybrid retrieval? →How do I choose between SFT, DPO and RFT in Microsoft Foundry? →How do I compare RAG retrieval configurations fairly in an offline experiment? →How do Developer training and Developer serving differ for fine-tuned models? →Can I fine-tune any hosted embedding model for my domain? →What evidence justifies changing a RAG embedding model? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.