Get Free Shipping on orders over $0
AI Evals in Practice : Testing, reliability, and quality for LLM systems in production - Caio Incau

AI Evals in Practice

Testing, reliability, and quality for LLM systems in production

By: Caio Incau

eText | 21 September 2026 | Edition Number 1

At a Glance

eText


$49.49

or 4 interest-free payments of $12.37 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

Build evaluation systems that reveal whether your LLM applications are improving or regressing, using calibrated judges, RAG and agent metrics, CI regression tests, online evals, and cost-aware pipelines

Key Features

  • Build a complete Python eval harness from datasets and scorers to CI and dashboards
  • Evaluate RAG, agents, and prompts with calibrated metrics and human feedback
  • Move from offline testing to production evals, guardrails, and reliability workflows

Book Description

LLM applications can look healthy in dashboards while their answers quietly become less accurate, less useful, or less reliable. AI Evals in Practice gives developers and AI engineers a systematic way to measure quality, catch regressions, and make evidence-based improvements before and after deployment. You will build evalkit, a complete Python evaluation harness, while learning the core components of an eval: datasets, scorers, runners, and golden test sets. You will create deterministic scorers and LLM-as-judge evaluations, then calibrate judges and mitigate common biases. The book applies these foundations to prompt regression testing and CI, RAG retrieval and generation metrics, agent trajectories and tool calls, and human annotation workflows. You will then extend evaluation into production with online sampling, guardrails, and cost- and latency-aware pipelines, while comparing tools such as DeepEval, promptfoo, Langfuse, and Braintrust. A case study and final project bring the pieces together into an eval-driven development workflow with CI and a dashboard. By the end, you will be able to design evaluation pipelines that help you ship LLM systems with measurable, repeatable quality.

What you will learn

  • Design eval datasets, scorers, runners, and golden test sets
  • Build deterministic metrics for repeatable quality checks
  • Calibrate LLM judges and reduce common evaluation bias
  • Add prompt regression tests to continuous integration
  • Measure retrieval and generation quality in RAG systems
  • Evaluate agent trajectories, tool calls, and multi-turn behavior
  • Run human annotation workflows and production online evals
  • Control evaluation cost and latency without losing signal

Who this book is for

This book is for AI engineers, LLM application developers, machine learning engineers, platform engineers, and technical leads who build or operate production systems using large language models. It is especially useful for teams working with prompts, RAG pipelines, agents, or AI features that need measurable quality and regression protection. Readers should be comfortable with Python and familiar with building or integrating LLM applications.

on
Desktop
Tablet
Mobile

More in Artificial Intelligence

Learning Under Algorithmic Conditions - Elizabeth de Freitas

eBOOK

RRP $49.16

$39.99

19%
OFF
HBR Guide to Generative AI for Teams : HBR Guide - Gabriele Rosani

eBOOK

The Pigeon Strategy - Hajrë Hyseni

eBOOK