AI Evals in Practice
Testing, reliability, and quality for LLM systems in production

EPUB · English
Price and availability
EPUB eBookUS store
$32.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Packt Publishing
- Published
- 21 September 2026
- ISBN
- 9781808817243
- Subjects
- Computer programming / software development, Software Engineering, Artificial intelligence, Computer programming / software engineering, Software Engineering, Artificial intelligence (AI)
About this book
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 pipelinesKey FeaturesBuild a complete Python eval harness from datasets and scorers to CI and dashboardsEvaluate RAG, agents, and prompts with calibrated metrics and human feedbackMove from offline testing to production evals, guardrails, and reliability workflowsBook DescriptionLLM 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 learnDesign eval datasets, scorers, runners, and golden test setsBuild deterministic metrics for repeatable quality checksCalibrate LLM judges and reduce common evaluation biasAdd prompt regression tests to continuous integrationMeasure retrieval and generation quality in RAG systemsEvaluate agent trajectories, tool calls, and multi-turn behaviorRun human annotation workflows and production online evalsControl evaluation cost and latency without losing signalWho this book is forThis 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.]]>
Bibliographic data © Gardners Books Ltd.