An evaluation run replays test cases through the current version of the agent, has the judge score the new answers, and checks the scores against the thresholds. You can run one case, a suite, or all of an agent's suites — interactively from Studio, or from any automation through the evaluation web service.
aifusion.AgentEvaluator pipeline. See Installation and Setup.aifusion.AgentEvaluator pipeline is not disabled or paused in the Pipeline application.Evals folder, is deployed. Studio deploys it automatically before each run; in other environments, deploy the LU as part of your release.While a run is in progress, the case's bullet in the AI Explorer spins and the editor button shows Running…. When the run ends, the bullet shows the result:
Studio stops waiting for a case after about five minutes without a result and marks it failed.
user turn of the transcript is sent to the agent, in order and in the same conversation, with the case's initialization parameters. If the case was saved with a snapshot, the agent reads the snapshot data instead of live data. If the case pins the date with now, the agent's current_datetime tool returns that date.evaluation_chat, evaluation_details), and the run status is recorded by the pipeline (case_execution).When a run completes, the Eval Editor switches to the Evaluation tab. The tab is available once the case has at least one run.
The chips above the conversation show the case's initialization parameters and the run's own session ID (different from the case's baseline session).
Click Analyze to ask Studio AI to analyze the failed run and suggest a fix. See AI-Assisted Development.
Evaluation runs are started and monitored through the evaluation web services, so you can trigger them from a CI/CD pipeline, a Fabric job, or any scheduler after a deployment. AI Fusion does not schedule evaluation runs by itself.
POST /api/agent/{luName}/{agentName}/evaluate
The response contains a runId that identifies this run:
{
"message": "Pipeline started successfully: aifusion.AgentEvaluator",
"runId": "3f0c2a8e-..."
}
Each call gets its own runId, so several runs can be in progress at the same time.
GET /api/agent/case/evaluation-status?luName=<LU>&agentName=<agent>&suiteName=<suite>&runId=<runId>
Add id=<caseId> for a single case; omit it to get a row for every case of the run. Each row carries process_status (completed when the case is done; fail, stopped or unknown for a technical failure), evaluation_result (passed or failed, once completed) and the run's sessionid.
GET /api/case/conversation?sessionid=<sessionid>
Returns the replayed conversation with the per-answer ratings, expected answers, explanations and performance figures, plus the aggregate ratings and the overall score — the same data the Evaluation tab shows.
Next article: Data Snapshots and Production Import
An evaluation run replays test cases through the current version of the agent, has the judge score the new answers, and checks the scores against the thresholds. You can run one case, a suite, or all of an agent's suites — interactively from Studio, or from any automation through the evaluation web service.
aifusion.AgentEvaluator pipeline. See Installation and Setup.aifusion.AgentEvaluator pipeline is not disabled or paused in the Pipeline application.Evals folder, is deployed. Studio deploys it automatically before each run; in other environments, deploy the LU as part of your release.While a run is in progress, the case's bullet in the AI Explorer spins and the editor button shows Running…. When the run ends, the bullet shows the result:
Studio stops waiting for a case after about five minutes without a result and marks it failed.
user turn of the transcript is sent to the agent, in order and in the same conversation, with the case's initialization parameters. If the case was saved with a snapshot, the agent reads the snapshot data instead of live data. If the case pins the date with now, the agent's current_datetime tool returns that date.evaluation_chat, evaluation_details), and the run status is recorded by the pipeline (case_execution).When a run completes, the Eval Editor switches to the Evaluation tab. The tab is available once the case has at least one run.
The chips above the conversation show the case's initialization parameters and the run's own session ID (different from the case's baseline session).
Click Analyze to ask Studio AI to analyze the failed run and suggest a fix. See AI-Assisted Development.
Evaluation runs are started and monitored through the evaluation web services, so you can trigger them from a CI/CD pipeline, a Fabric job, or any scheduler after a deployment. AI Fusion does not schedule evaluation runs by itself.
POST /api/agent/{luName}/{agentName}/evaluate
The response contains a runId that identifies this run:
{
"message": "Pipeline started successfully: aifusion.AgentEvaluator",
"runId": "3f0c2a8e-..."
}
Each call gets its own runId, so several runs can be in progress at the same time.
GET /api/agent/case/evaluation-status?luName=<LU>&agentName=<agent>&suiteName=<suite>&runId=<runId>
Add id=<caseId> for a single case; omit it to get a row for every case of the run. Each row carries process_status (completed when the case is done; fail, stopped or unknown for a technical failure), evaluation_result (passed or failed, once completed) and the run's sessionid.
GET /api/case/conversation?sessionid=<sessionid>
Returns the replayed conversation with the per-answer ratings, expected answers, explanations and performance figures, plus the aggregate ratings and the overall score — the same data the Evaluation tab shows.
Next article: Data Snapshots and Production Import