An evaluation flow is a workflow that runs after a generative flow to score outputs against criteria and aggregate the results. In prompt flow, it uses Python blocks rather than LLM blocks for scoring and aggregation. section 9.7.3 section 9.8
A practical evaluation flow typically:
- Processes each result, converts numeric criterion scores, and calculates an average score. section 9.7.3
- Aggregates criterion values across results and logs summary metrics. section 9.7.3
- Runs against an existing batch run so prompt or profile variations can be compared. section 9.7.3
Comparing recommendation prompts
Run recommendation variations in batch mode, select a previous run for evaluation, execute the evaluation flow, and compare aggregated criteria in Visualize Runs. A separate flow can also evaluate multiple generated plans and select the most consistent answer. section 9.7.3 section 10.3.1
Figure 9.24 Looking at the evaluate_groundings flow used to ground recommendation runs
Inspect the flow diagram to see how Python scoring and aggregation blocks form a reusable evaluation workflow. section 9.7.3
