An AI application can complete requests without runtime errors and still produce inaccurate, unsupported, incomplete, or inefficient responses.

AI Evaluation helps you assess the quality, risk, and efficiency of an AI application’s behavior. A separate AI model, called the judge, evaluates user sessions and scores aspects such as hallucination, faithfulness, groundedness, relevance, completeness, and tool use.

A session is a user conversation with the application, including activity across its agents, tools, traces, and model calls. Session-level evaluation helps you investigate issues that can span multiple execution steps rather than a single response.

Use AI Evaluation to:

  • Identify sessions with potentially unsupported, unsafe, incomplete, or low-quality responses.
  • Review the judge’s explanation for each evaluation result.
  • Identify the metrics and execution steps associated with a failed evaluation.
  • Follow findings to the related traces and spans.
  • Investigate agent behavior and tool use alongside response quality.
  • Compare evaluation results after changing a prompt, model, tool, or workflow.

Time picker for selecting the AI Observability dashboard time range

Before you begin

Make sure that:

  • AI Observability is enabled for your tenant.
  • An LLM is configured for the tenant so the judge can evaluate sessions.
  • The application has sessions in the time range you want to investigate.
  • Agentic span capture and the required trace attributes are available for the application.
  • You can access the application, sessions, traces, and related telemetry.

Evaluation runs once per hour for the hour that just ended. Results for the latest hour can display NA until the evaluation cycle finishes.

When to use AI Evaluation

Open AI Evaluation when:

  • An application in AI Evaluations By App shows an orange count instead of a green check mark.
  • The application’s AI Evaluation Critical Scores card highlights one or more scores in orange.
  • Users report inaccurate, invented, irrelevant, or incomplete responses even though latency, error rate, and request status appear normal.
  • An agent repeats steps, chooses an inappropriate tool, or calls a tool with incorrect inputs.
  • You changed a prompt, model, tool, retrieval source, or workflow and want to review subsequent session quality.

Understand evaluation results

Evaluation categories

Judge-generated scores range from 0 to 1. The preferred direction depends on the category and metric.

CategoryPreferred directionPurpose
Agent Result RiskLower is betterIdentifies potentially harmful, biased, toxic, or unsupported content.
Agent Result QualityHigher is betterAssesses whether responses are safe, coherent, complete, relevant, faithful, helpful, and supported by session evidence.
Agent EfficiencyHigher is betterAssesses how effectively agents progress through a task and use tools.
PerformanceDepends on the metricReports runtime measurements such as throughput and latency. These are not judge-generated quality scores.
Error RateLower is betterReports the share of requests that ended in an error.

Score reference

The metrics available in your environment can vary by evaluator and application telemetry.

CategoryScoreWhat it assesses
Agent Result RiskHallucinationWhether the response introduces information unsupported by the inputs and evidence available to the agents.
Agent Result RiskToxicityWhether the response contains harmful, abusive, or offensive language.
Agent Result RiskBiasWhether the response provides unfair or one-sided treatment of people or groups.
Agent Result QualitySafetyWhether the response is safe and appropriate to provide.
Agent Result QualityFaithfulnessWhether the response accurately reflects information returned by tools, retrieval sources, and helper agents.
Agent Result QualityGroundednessWhether claims in the response are supported by evidence available in the session.
Agent Result QualityCompletenessWhether the response addresses the required parts of the user's request.
Agent Result QualityCoherenceWhether the response is logically organized and internally consistent.
Agent Result QualityHelpfulnessWhether the response gives useful information or actions relevant to the user's need.
Agent Result QualityRelevanceWhether the response stays focused on the user's request.
Agent EfficiencyStep EfficiencyWhether agents avoid repeated or unnecessary execution steps.
Agent EfficiencyProgress RateWhether execution steps move the task toward completion.
Agent EfficiencyTool Invocation AccuracyWhether tools are called correctly with valid inputs.
Agent EfficiencyTool Selection AccuracyWhether agents select appropriate tools for the task.

Thresholds and pass rules

The default threshold for judge-generated scores is 0.5. Interpret each result using the Pass rule displayed in Session Details.

For example:

  • A risk score with the pass rule < 0.50 must be below 0.50 to pass.
  • A quality score with the pass rule >= 0.50 passes at or above 0.50.

Do not assume that a higher score is always better. A high Hallucination score is a risk signal, while a high Faithfulness score is a positive quality signal.

Summary indicators

In the Summary view of AI Evaluations By App:

IndicatorMeaning
Green check markEvery available score in the category is within its configured threshold.
Number in an orange circleThe number of scores in the category that crossed their thresholds. This is not a count of failed sessions or requests.
NANo evaluated session result is available for that score in the selected time range.

Aggregate statistics

The AI Evaluation tab can show Average, P95, and P99 for each metric.

  • Average represents the mean score across evaluated sessions.
  • P95 is the value at or below which 95 percent of observed scores fall.
  • P99 is the value at or below which 99 percent of observed scores fall.

P95 and P99 are not automatically the worst results. Higher risk scores are less desirable, while higher quality scores are more desirable.

Investigate an issue

1. Select the AI environment and time range

  1. Go to Infrastructure > AI Observability > AI Overview.
  2. Select the AI environment that runs the application.
  3. Choose a time range that includes the reported issue.
  4. Review the application in AI Evaluations By App.

If the latest hour shows NA, wait for the evaluation cycle to complete or select an earlier period with evaluation results.

2. Identify the evaluation category

  1. In AI Evaluations By App, change the view from Summary to an evaluation category, such as Agent Result Risk.
  2. Review scores highlighted in orange.
  3. Repeat for other relevant categories, such as Agent Result Quality or Agent Efficiency.
  4. Compare the highlighted scores with the reported behavior.

For example, a high Hallucination score together with low Faithfulness and Groundedness suggests that the response can contain claims unsupported by session evidence. Review the judge’s explanation and source data before determining what happened.

3. Open the application’s AI Evaluation tab

  1. Select the application name.
  2. Open the AI Evaluation tab.
  3. Review token summaries, evaluation metrics, and evaluated sessions for the selected time range.
AreaDescription
Input Tokens / Output TokensShows total usage and minimum, maximum, and average usage per evaluated session.
Evaluation MetricsShows Average, P95, and P99 values for each metric. Metrics outside their thresholds are highlighted.
All / Sessions Failed / Sessions PassedFilters the session list by the overall session verdict.
Session rowShows the session ID, trace count, LLM span count, failed metric count, failed metric values, and overall verdict.
Failed metricsIdentifies metrics that failed their pass rules for the session and displays their score values.

Time picker for selecting the AI Observability dashboard time range

4. Filter sessions by a metric

To focus on one metric:

  1. Select its card in Evaluation Metrics.
  2. Confirm that the metric appears as a filter beside Sessions.
  3. Select Metric Failed or Metric Passed to filter by that metric’s result.
  4. Review the selected score and metric result on each session row.
  5. Select the metric card again, or select X on the filter, to clear the selection.

5. Review Session Details

Select a session row to open Session Details.

DetailDescription
Session IDIdentifies the conversation being investigated.
Behavior ScoreAssesses tool use, plan adherence, execution efficiency, and progress separately from response-quality scores.
Verdict, Traces, and LLM SpansShows the overall session result and the number of associated traces and model-call spans.
Session AssessmentSummarizes the judge's assessment of agent behavior, difficulties, and suggested next steps. Select Show more to read the full assessment.
Metric EvaluationsFilters the session's evaluated metrics.
Selected metric resultShows the verdict, score, pass rule, and judge's reasoning for the selected metric.
Impacted Span FindingsLists spans associated with the finding and provides trace and span identifiers or links.

Read the Session Assessment and metric reasoning together. A Behavior Score or a single passing metric does not establish that the final response is correct.

Time picker for selecting the AI Observability dashboard time range

6. Follow a finding into the trace

  1. In Impacted Span Findings, open a trace link. The trace opens in a new tab.
  2. Review the trace summary and the relevant agent, tool, service, and model-call spans.
  3. Compare the available inputs, retrieved content, and tool results with the generated response.
  4. Identify where the response diverged from the user’s request or available evidence.
  5. Select View Related Logs when additional runtime context is required.

Some findings identify span attribution as approximate. In these cases, the linked span identifies the relevant conversation turn but might not identify the exact model call responsible. Review surrounding spans before drawing a conclusion.

Use the trace views

Use the available trace views for different questions:

ViewUse it to
TimelineFollow the execution order and inspect individual spans, durations, attributes, inputs, and outputs.
LatencyCompare service contribution to total trace duration and identify services that account for significant execution time.
Service MapsUnderstand interactions among supervisor agents, helper agents, model clients, MCP servers, retrieval services, and other dependencies.

Time picker for selecting the AI Observability dashboard time range

Time picker for selecting the AI Observability dashboard time range

Time picker for selecting the AI Observability dashboard time range

7. Review evaluation impact across traces

Return to the application page and open AI Traces.

Use the available filters to distinguish runtime completion from evaluation impact:

Filter or fieldDescription
All / Failed / PassedFilters requests by runtime outcome.
Impacted / Not ImpactedFilters traces by whether evaluation flagged a step in the trace.
Evaluated / Not EvaluatedFilters traces by whether their associated sessions were evaluated.
Sessions: Total / Eval ImpactedSummarizes total sessions and sessions with at least one evaluation-flagged step.
StatusReports the runtime outcome. A request can complete successfully even when evaluation identifies a quality issue.
Eval ScoreFor a flagged trace, shows the overall score of its associated session. A non-flagged trace can display 0.00; this value alone does not mean the trace passed every quality check.

The filter controls change the displayed list, not the summary counts.

Example: Investigate unsupported travel recommendations

The following example is illustrative. Application names, scores, and findings vary by environment.

Reported issue

A travel-planning application uses a supervisor agent and helper agents to gather information and generate a final travel plan.

Users report that some plans include hotel, train, and restaurant recommendations that cannot be verified. Users also report that the requested trip length changes in the response. The application continues to respond, and runtime performance and error-rate indicators appear normal.

Identify the evaluation signals

The application’s evaluation results highlight Hallucination, Faithfulness, and Groundedness.

MetricExample scoreInterpretation under the displayed pass rule
Hallucination0.95Fails the risk pass rule < 0.50.
Faithfulness0.12Fails the quality pass rule >= 0.50.
Groundedness0.13Fails the quality pass rule >= 0.50.

These results suggest that the generated response might not accurately reflect the information available to the agents. The scores alone do not prove that a recommendation is incorrect or nonexistent.

Inspect the findings and trace

Open Session Details, read the judge’s reasoning, and follow a relevant finding into the trace.

In the example workflow:

  1. The supervisor delegates the task to a travel-plan synthesis agent.
  2. Helper agents and tools return travel information.
  3. A model call generates the final plan.
  4. Comparing the response with the available inputs reveals unsupported recommendations and a changed trip length.

This illustrates how a request can complete successfully without meeting the user’s requirements. Runtime completion and response quality are separate outcomes.

Determine the next action

Review the synthesis prompt, tool outputs, retrieval sources, and handling of missing information. Consider changes that instruct the application to:

  • Use only facts supported by available tool and retrieval results.
  • Preserve the user’s requested trip length and other constraints.
  • State when required information is unavailable.
  • Avoid replacing missing facts with invented details.

If the same pattern appears across applications using different models, investigate shared prompts, tools, retrieval sources, and workflow design. A shared pattern is a diagnostic clue, not proof that the model is unrelated to the issue.

Validate the change

After making an appropriate change:

  1. Run representative requests, including requests with incomplete tool data.
  2. Confirm that responses preserve the user’s constraints and use supported information.
  3. Allow the next evaluation cycle to complete.
  4. Review Hallucination, Faithfulness, and Groundedness against their displayed pass rules.
  5. Review findings from multiple newly evaluated sessions.
  6. Inspect relevant traces and spans.

A single passing session or improved aggregate score is not sufficient to establish that every affected scenario is resolved.

Evaluation data and retention

AI Evaluation stores:

  • Session scores
  • Judge findings and assessments
  • Associated trace and span identifiers

AI Evaluation does not retain a separate copy of prompts and responses. Open the associated trace to review the conversation and execution evidence.

DataRetention period
Session findings90 days
Session scoresOne year

Troubleshooting

For help resolving evaluation issues, see the AI Observability troubleshooting guide.