What an evaluation measures
An evaluation reports two kinds of results: scores from the evaluators you select, and retrieval metrics that AWS Context measures during the run. Select at least one evaluator or one metric. Correctness, Goal success rate, and Faithfulness are evaluators. Latency is a metric.
| Name | ID | What it measures |
|---|---|---|
|
Correctness |
|
Assesses whether the response states the same facts as the scenario’s expected answer, regardless of wording, format, or level of detail. Without an expected answer, it assesses the factual accuracy of the response. |
|
Goal success rate |
|
Assesses whether the response satisfies each of the scenario’s assertions. Without assertions, it assesses whether the agent completed all user goals in the session. |
|
Faithfulness |
|
Assesses whether the response conflicts with the conversation history, including tool outputs. Uses no ground truth. |
|
Latency |
|
Measures the time to retrieve context and produce the response, averaged over the scenarios that returned an answer. |
For how each evaluator scores an answer, see Prompt templates in the Amazon Bedrock AgentCore Developer Guide.
Each scenario runs one agentic retrieval, and each selected evaluator scores each answered scenario once. An evaluator still scores an answered scenario that has no ground truth for it, and that score counts in the evaluator’s average.