AIP-C01

Introduction to Evaluating FM Outputs

Measuring generative AI quality beyond traditional metrics, running Amazon Bedrock evaluations with built-in metrics, LLM-as-a-judge and human reviewers, comparing models with A/B and canary tests, and collecting user feedback and annotations.

  • 4 lessons
  • Module quiz

Evaluating generative AI is harder than testing ordinary software. There is rarely one correct output: two answers worded differently can both be right, and an answer can be fluent and well formatted yet factually wrong. Traditional text-overlap metrics such as ROUGE and BLEU penalise valid paraphrases, so they capture only part of quality.

Generative outputs are therefore evaluated on several dimensions, such as correctness, completeness, faithfulness to sources, helpfulness and harmlessness, with several methods. Amazon Bedrock Evaluations provides automatic evaluation jobs with built-in metrics, LLM-as-a-judge jobs in which a model scores outputs against criteria, human evaluation jobs with an organisation's own reviewers, and RAG evaluation jobs. In production, A/B and canary tests compare configurations on real traffic, and user feedback and expert annotation show how outputs serve real users.

What the exam expects

Questions test choosing metrics and methods for a use case, preparing evaluation datasets in the JSON Lines format the jobs expect, and the principle that LLM judges must be calibrated against human ratings before their scores are relied on. Expert annotation at scale uses SageMaker Ground Truth with a private workforce.

How this module is organised

Choosing Evaluation Metrics for Generative Outputs explains the quality dimensions and how to choose metrics. Running Amazon Bedrock Evaluation Jobs explains each kind of evaluation job. Comparing Configurations Offline and in Production explains how configurations are compared offline and in production, and Collecting User Feedback and Expert Annotation explains how feedback and annotation are collected and used.

  1. Choosing Evaluation Metrics for Generative Outputs Lesson 1
  2. Running Amazon Bedrock Evaluation Jobs Lesson 2
  3. Comparing Configurations Offline and in Production Lesson 3
  4. Collecting User Feedback and Expert Annotation Lesson 4
  5. Practise and review
  6. Checkpoint Practice activities across the module
  7. Test your knowledge 3 questions