Skill 5.1.2

Create systematic model evaluation systems to identify optimal configurations (for example, by using Amazon Bedrock Model Evaluations, A/B testing and canary testing of FMs, multi-model evaluation, cost-performance analysis to measure token efficiency, latency-to-quality ratios, and business outcomes)

Key Concepts

Amazon Bedrock model evaluation runs evaluation jobs on built-in or custom prompt datasets in S3. Automatic jobs compute metrics such as accuracy, robustness and toxicity; LLM-as-a-judge jobs score correctness, completeness, faithfulness, helpfulness and harmfulness with an evaluator model; human jobs use a work team. Results land in S3 and the console for comparison. Responses from models outside Bedrock can be brought in for evaluation.

Multi-model evaluation runs the same jobs for each candidate. A/B testing splits live traffic between configurations and canary testing sends a small share to a new configuration before full rollout. Cost-performance analysis combines quality scores with tokens per request, latency and business outcomes to find the best ratio.