-
Front Matter
- A Letter Before You Begin
- What’s New in Version 2
- Seven Interactive Companion Labs
-
Part I — Foundations of Evaluation
- Chapter 1 — The Cost of Flying Blind
- Chapter 2 — Build Your First Evaluation Suite in One Afternoon
- Chapter 3 — The Evaluation Stack: Tools, Roles, and Evidence
- Chapter 4 — Engineering the Evaluation Pipeline
- Chapter 5 — The Eight Dimensions of Gen AI System Evaluation
- Chapter 6 — From Evaluation Scores to Business Outcomes
-
Part II — Building the Evaluation Assets
- Chapter 7 — Prompt Evaluation and Regression Contracts
- Chapter 8 — Building and Managing Evaluation Datasets
-
Part III — Operating Evaluation in Production
- Chapter 9 — Observability and Production Monitoring
- Chapter 10 — Regression Testing and Release Gates
- Chapter 11 — Human Review and Expert Adjudication
-
Part IV — Evaluating Complex Gen AI Systems
- Chapter 12 — Agentic and Multi-Step System Evaluation
- Chapter 13 — Advanced RAG and Retrieval Evaluation
- Chapter 14 — Evaluating Code Generation and Reasoning Applications
- Chapter 15 — Model Changes, Fine-Tuning, Public Benchmarks, and Selection
- Chapter 16 — Evaluation Economics and Cost Engineering
-
Part V — Risk, Trust, and Governance
- Chapter 17 — Bias, Fairness, Representation, and Accessibility
- Chapter 18 — Red Teaming and Adversarial Evaluation
- Chapter 19 — Governance, Compliance, and the 90-Day Roadmap
-
End Matter
- Appendix A — Glossary
- Appendix B — Evaluation Metrics Reference
- Appendix C — Current Evaluation Tools and Frameworks
- Appendix D — Companion Pack Guide
- About the Author
Evaluating Gen AI Applications: A Practitioner’s Playbook for Testing What AI Actually Gets Right
A Practioner's Guide for RAG, Agents, Multimodal AI, and Enterprise Knowledge Systems
Build defensible evaluation systems for Gen AI, RAG, agents and multimodal applications using datasets, metrics, release gates, monitoring and seven interactive labs.
Minimum price
$7.99
$9.99
You pay
Author earns
About
About the Book
<p><strong>Second Edition — July 2026</strong></p>
<p>Gen AI applications rarely fail with a clean error message. They fail while producing fluent, persuasive and apparently useful answers. <em>Evaluating Gen AI Applications</em> gives engineering, testing, product, risk and governance teams a practical operating model for finding those failures before users, auditors or regulators do.</p>
<p>Using the continuing Meridian case, the book shows how to turn business requirements, failure modes and production incidents into versioned evaluation datasets, measurable checks, calibrated human review, regression suites, release gates, monitoring signals and audit-ready evidence. It covers prompts, RAG systems, agents, multimodal applications, code and reasoning, fine-tuning, model migrations, red teaming, retrieval authority, workflow economics and production governance.</p>
<p>The Second Edition strengthens uncertainty treatment, paired comparisons, retrieval denominators, the correct pass@k estimator, protected-behaviour gates and evidence-linked release decisions. It also adds deeper treatment of MCP and agent-protocol security, memory failures, C2PA provenance, current OWASP and MITRE ATLAS guidance, and seven interactive browser-based companion applications that let readers practise the book’s evaluation decisions using realistic Meridian scenarios.</p>
<p>This is not a prompt collection or a catalogue of benchmark scores. It is a practitioner’s guide to deciding what must be tested, which evidence is credible, when a release should be stopped and how evaluation should continue after deployment.</p>
Author
About the Author
Srinivas is a Generative AI Practitioner and Educator specializing in the architectural design and rigorous evaluation of LLM-powered applications. With deep experience in developing multi-agent frameworks and hybrid RAG architectures, he focus on bridging the gap between experimental AI and production-ready systems.
He is the creator of popular technical practice tests on Udemy, including the AWS Certified GenAI Developer - Professional series, and have developed comprehensive frameworks for AI project estimation and compliance. His work frequently involves industry-leading evaluation tools such as RAGAS, Giskard, and Guardrails.ai.
Driven by the mission to help IT professionals navigate the "mindset shift" required for the AI era, Srinivas provides systematic, data-driven methodologies for building AI that is not only innovative but reliable and compliant with emerging standards like the EU AI Act.
Contents
Table of Contents
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.