Study FAQ
When does Microsoft Foundry score a stored response instead of generating a new one?
Also asked as 2
- 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?
Answer
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
Full explanation
AI-300: Preparing Evaluation Datasets and Field Mappings
Study guide · AI-300
Read the full explanation