# When does Microsoft Foundry score a stored response instead of generating a new one?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Implement generative AI quality assurance and observability
Updated: 2026-11-25T04:35:48.683409+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-stored-response-or-target-evaluation.html

## Also asked as

- When is a Foundry evaluation scored against the answer already in the dataset?
- How does evaluating captured output differ from invoking a target in Foundry?

Foundry scores a stored response when you evaluate an existing interaction or stored input/output pair. When the run invokes a model or agent target, Foundry generates a fresh response and ignores any `response` already present in that row.

For a simple captured exchange, separate `query` and `response` fields can be sufficient. Use `messages` when conversation history, roles, tool calls or tool results are needed to interpret the interaction. A stored `messages` interaction includes the assistant response being evaluated; the documented target-input pattern ends with a user message so the target can produce the next response.

Preserve the history that gives the final request its meaning. Flattening a conversation into its last question can change the task. Record the mode, dataset revision and invoked target/configuration with the results: scoring yesterday's captured answer and calling today's target answer different questions, even when their input text is identical.

**Microsoft Learn**

* [Evaluation dataset schema in Microsoft Foundry](https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluation-dataset-schema)

Source: [AI-300: Preparing Evaluation Datasets and Field Mappings](https://learningpathx.com/news/ai-300-preparing-evaluation-datasets-and-field-mappings.html)
