01Chapter 1: Start with the user problem and the scope of the AI featureAssume you understand basic product requirements or user stories. You should also have a general idea of what a large language model does and be comfortable reading short examples of structured data. This chapter uses a support assistant as an example, but the method applies to search, summarization3 min read
02Chapter 2: Why AI features need different requirementsThis chapter assumes you understand basic product requirements or user stories, know what a large language model does, and can read short Python and JSON snippets.3 min read
03Chapter 3: Choosing the quality dimensions that matterAssume you understand basic product requirements and have a general idea of how a language model generates text. You should also be comfortable reading short Python and JSON examples. This chapter focuses on selecting the dimensions you will measure, not yet on building the full evaluation set or re3 min read
04Chapter 4: Listing failure modes and ranking their severityAssume you understand basic product requirements, user stories, and the idea of an AI model producing variable outputs. This chapter uses a customer-support assistant that answers refund-policy questions as an example.3 min read
05Chapter 5: Writing requirements you can testAssume you already understand basic product requirements, user stories, and the general role of a language model. You should also be comfortable reading short Python and JSON snippets.2 min read
06Chapter 6: Building an evaluation datasetAn evaluation dataset is a collection of representative inputs and expected checks used to measure an AI feature. This chapter assumes you understand basic product requirements, have a general idea of how language models work, and can read short Python and JSON snippets.3 min read
07Chapter 7: Grading outputs: code checks, human review, and model judgesAssume you understand basic product requirements, evaluation datasets, and Python and JSON syntax. This chapter focuses on selecting a grader, which is a method for deciding whether an AI output meets a requirement.3 min read
08Chapter 8: Turning grades into metricsThis chapter assumes you already have an evaluation dataset and at least one grader for each important quality dimension. You should also be comfortable reading short Python and JSON snippets. The goal here is to turn individual case grades into numbers that support product decisions.2 min read
09Chapter 9: Using and calibrating a model-based judgeAssume you understand user stories, evaluation datasets, and basic Python and JSON. You should also know that a language model can produce different valid answers for the same input.3 min read
10Chapter 10: Setting acceptance criteria and thresholdsAcceptance criteria are measurable conditions that decide whether an AI feature is good enough for its intended use. A threshold is the boundary for passing a criterion. This chapter assumes you understand basic product requirements, have a general idea of how language models work, and can read shor2 min read
11Chapter 11: Using evaluations as release gatesThis chapter assumes that you understand evaluation cases, graders, pass rates, and failure severity. It also assumes that you can read short Python code. You will use those ideas to decide when an AI feature is safe to release.2 min read
12Chapter 12: Offline evaluation versus online monitoringAssume you understand basic product requirements, user stories, and short Python and JSON snippets. This chapter uses an AI feature that answers customer questions from a help center.3 min read
13Chapter 13: Keeping the evaluation currentAssume you understand basic product requirements, have a general idea of how language models work, and can read short Python and JSON examples. This chapter focuses on maintenance after you create an evaluation set. An evaluation set is a collection of test cases used to measure whether an AI featur3 min read