01Chapter 1: What classic MLOps manages: data, training, serving, and driftAssume you know the basic machine learning lifecycle: training a model on historical data, validating it on held-out data, and deploying it to make predictions. You should also be comfortable with Python services and basic production monitoring.3 min read
02Chapter 2: What changes when the model is a dependency: the anatomy of an LLM appThis chapter assumes you understand training, validation, deployment, basic Python, and service logging. You should also know that a large language model (LLM) generates text from a prompt and that an application can call an LLM through an API.2 min read
03Chapter 3: Prompts, model IDs, and settings as versioned artifactsAn LLM application depends on more than its model. Its behavior also depends on the prompt template, model identifier, temperature, retrieved context, and output settings. Treat these inputs as versioned artifacts, just as classic MLOps treats training data, model files, and feature definitions as a2 min read
04Chapter 4: Why the same input can produce different outputsThis chapter assumes you understand prompts, model inference, and basic Python. It also assumes you have seen the classic machine learning pattern of training, validation, and deployment.3 min read
05Chapter 5: Retrieval and context assembly as part of the pipelineThis chapter assumes you understand the basic machine learning lifecycle, can read Python, and know what a prompt and a language model are. You should also be familiar with basic application logging.3 min read
07Chapter 7: Releasing prompt and model changes behind evaluation gatesThis chapter assumes you understand training, validation, and deployment in classic machine learning, can write basic Python, and know how production logging works. We will focus on releasing changes to an LLM application safely, not on building the model itself.2 min read
08Chapter 8: Tracing LLM calls: inputs, outputs, tokens, and latencyAssume you know Python, can call an LLM through an SDK or HTTP API, and understand basic production logging. This chapter focuses on tracing one request from your application to the model and back.2 min read
09Chapter 9: Monitoring quality in production and closing the feedback loopAssume you understand Python, production logs, basic monitoring, and how an LLM application receives a request and returns an output. This chapter focuses on what happens after deployment: measuring whether answers remain useful, finding quality failures, and feeding evidence back into development.2 min read
10Chapter 10: Managing token cost and latencyAssume you understand prompts, model APIs, and basic production monitoring. This chapter focuses on applications that call a pretrained large language model rather than training and serving a model yourself.2 min read
11Chapter 11: Guardrails, data handling, and prompt injectionAssume you know how to call a model API, log requests, and deploy a service. This chapter focuses on the safety controls around an LLM application. These controls matter because an LLM treats instructions and data as text, while your application must treat them as having different trust levels.3 min read
12Chapter 12: Operating tool-using and agentic workflowsThis chapter assumes you understand Python, API-based model calls, basic logging, and the difference between a prompt and a model. It also assumes you know that a tool is a controlled function an LLM application can call, such as looking up an order or creating a calendar event.2 min read
13Chapter 13: Where fine-tuning fits, and where it does notThis chapter assumes you understand prompts, retrieval-augmented generation (RAG), model evaluation, and basic deployment workflows. You should also be comfortable calling a model through a Python SDK or HTTP API.2 min read
14Chapter 14: Putting it together: the LLMOps loopThis chapter assumes that you understand the classic machine learning lifecycle, can write basic Python, and know how production services use logs and monitoring. The goal is to connect those ideas into one operating loop for an application that calls a pretrained large language model.2 min read