Chapter 7. Foundation Models and Context Engineering
The number of Generative AI (GenAI) use cases has grown rapidly over the past few years, moving well beyond experimentation into applications that deliver tangible business value.
For example, Airbnb completed a large-scale LLM-driven code migration to update nearly 3,500 React component test files. It completed in just six weeks a project that had initially been estimated to require 1.5 years of manual engineering, by combining frontier models with robust automation.
Similarly, DoorDash built AutoEval, an LLM-powered, human-in-the-loop system for evaluating the quality of search result pages. Instead of relying on slow and inconsistent human labeling, the system increased evaluation speed by 98% and expanded capacity by a factor of nine. Beyond scalability, it improved alignment with expert judgment and enabled continuous quality monitoring, allowing human experts to focus on higher-value tasks such as defining guidelines, handling edge cases, and improving models.
These examples illustrate a broader shift: organizations are no longer asking if they should use LLMs but how to operationalize them effectively. From my consulting experience, this is where the real challenge begins.
Introduction to LLMOps
Many teams are eager to build “agents” and experiment with increasingly complex LLM-powered systems, but far fewer have the infrastructure, processes, and practices required to run them reliably in production. The result is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access