AI Evals in Practice

AI Evals in Practice

Caio Incau

54,70 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2026
Materia
Programación informática/desarrollo de software
ISBN:
9781808817250
54,70 €
IVA incluido
Disponible
Añadir a favoritos

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 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 workflowsBook 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 signalWho 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.Table of Contents- Why Evals Are the Missing Discipline- Anatomy of an Eval: Datasets, Scorers, and Runners- Building Golden Datasets- Deterministic Scorers- LLM-as-Judge: Design, Calibration, and Bias- Prompt Regression Testing and CI Integration- Evaluating RAG: Retrieval and Generation Metrics- Evaluating Agents: Trajectories, Tool Calls, and Multi-Turn- Human-in-the-Loop Annotation and Labeling Ops- Production: Online Evals, Sampling, and Guardrails- Cost and Latency of Eval Pipelines- Tooling Landscape: DeepEval, promptfoo, Langfuse, Braintrust- Eval-Driven Development Workflow- Case Study: Taking a Flaky Agent to 99% Reliability- Final Project: Complete Evalkit with CI and Dashboard

Artículos relacionados

  • SPARK 2014 Reference Manual
    AdaCore / Altran UK Ltd
    SPARK 2014 is a programming language and a set of verification tools designed to meet the needs of high-assurance software development. SPARK 2014 is based on Ada 2012, both subsetting the language to remove features that defy verification, but also extending the system of contracts and aspects to support modular, formal verification.This manual is available online for free at ...
    Disponible

    19,91 €

  • Software and Intelligent Sciences
    Yingxu Wang
    The junction of software development and engineering combined with the study of intelligence has created a bustling intersection of theory, design, engineering, and conceptual thought. Software and Intelligent Sciences: New Transdisciplinary Findings sits at a crossroads and informs advanced researchers, students, and practitioners on the developments in computer science, theor...
  • Power System Planning Technologies and Applications
    Fawwaz Elkarmi / Nazih Abu Shikhah / Nazih Abu-Shikhah
    Planning is an important function of the management of any business, providing knowledge of future prospects and enabling prudent and appropriate decision-making. Planning is especially critical for power systems, since electricity is a fundamental part of modern societies and many conventional electrical energy resources currently in use are limited. Power System Planning Tech...
  • Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery
    Masha Etkind / Uri Shafrir
    Text analysis tools aid in extracting meaning from digital content. As digital text becomes more and more complex, new techniques are needed to understand conceptual structure. Concept Parsing Algorithms (CPA) for Textual Analysis and Discovery: Emerging Research and Opportunities provides an innovative perspective on the application of algorithmic tools to study unstructured d...
  • Model-Based Design for Effective Control System Development
    Wei Wu
    Control systems are an integral aspect of modern society and exist across numerous domains and applications. As technology advances more and more, the complexity of such systems continues to increase exponentially. Model-Based Design for Effective Control System Development is a critical source of scholarly information on model-centric approaches and implementations for control...
  • Verification, Validation and Testing in Software Engineering
    ...

Otros libros del autor

  • AI Cost Playbook
    Caio Incau
    Bring FinOps discipline to production LLM systems by measuring AI spend, optimizing token usage, and building cost controls that scale with your applicationsKey Features:- Build tokenwatch to measure, attribute, and optimize production LLM costs- Reduce AI spend using caching, batching, model routing, and RAG optimization- Establish budgets, quotas, forecasting, and accountabil...
    Disponible

    41,53 €

  • AI Side Hustle Playbook
    Caio Incau
    Turn AI into a real source of income with five proven side hustles, realistic earning expectations, and a 90-day plan to build recurring revenue without codingKey Features:- Explore five AI side hustles with realistic income ranges and startup costs- Start earning with AI through opportunities that require little or no coding- Follow a 90-day launch plan to move from your first...
    Disponible

    26,08 €