Skill 5.2.4

Evaluate AI/ML applications and validate outputs (for example, by using Amazon Bedrock Evaluations).

Key Concepts

Amazon Bedrock Evaluations runs evaluation jobs on a prompt data set: automatic evaluations with built-in metrics (accuracy, robustness, toxicity), LLM-as-a-judge evaluations in which a model scores responses for correctness, completeness, harmfulness and custom criteria, and human evaluations by internal teams. RAG evaluations score knowledge base retrieval (context relevance and coverage) and generated answers (faithfulness, citation quality). Results compare models, prompts and configurations side by side.

In a pipeline, a change to a prompt template, model, guardrail or knowledge base configuration triggers an evaluation job against a curated golden data set, and the release proceeds only if scores meet thresholds and no safety regressions appear. In production, outputs are validated at run time with guardrails, grounding checks and structured output validation, and AgentCore Evaluations scores live agent sessions so quality regressions are detected after release.