For *Building LLMs for Production*, reading six parts before going on-site is enough, and the newly added data preparation chapter should come before fine-tuning.
Key Takeaways at a Glance
- The book is aimed at readers who know Python and requires no AI or NLP background; the second edition was renamed *Building AI for Production*.
- FDEs should prioritize the chapters on RAG, indexing and retrievers, advanced RAG, and deployment, leaving agents and fine-tuning for later.
- The biggest gains come from hands-on building of a data pipeline with measurements, not from finishing the book.
A roughly 470-page LLM book was updated in October 2024, and the biggest addition turned out to be about data: a brand-new chapter covering indexing, retrievers, and data preparation.
This detail also hints at how to read *Building LLMs for Production*. The book is published by Towards AI and co-authored by Louis-François Bouchard. If you are a Forward Deployed Engineer (FDE), dig into the client's documents before discussing which model to choose, because RAG can only give correct answers if it finds the correct passages.
So the real question isn't whether the book is good, but what to read before going on-site. The short answer: six parts, and not in table-of-contents order.
Buy the Right Book First
The book currently goes by two names. The first edition was titled *Building LLMs for Production*, with a subtitle highlighting prompting, fine-tuning, and RAG. The second edition on the Towards AI website was renamed *Building AI for Production*, with 12 chapters and a subtitle that only mentions fine-tuning and RAG.
If you have the old edition, there's no need to buy another copy just for the Agents or Fine-Tuning chapters. According to Towards AI's comparison table, those two chapters are mainly restructured, while the Deployment chapter is written in more depth; that's the real reason to upgrade—and if your version lacks the new data chapter, that counts too.
The entry barrier is low: Towards AI wrote the book for readers with no knowledge of AI and NLP, and Bouchard only requires some Python. If you've done a few years of backend work, you can skim the LLM and NLP fundamentals and slow down when you hit unfamiliar terms.
Jerry Liu, co-founder and CEO of LlamaIndex, said that as of when he published his review, this was the most comprehensive textbook on LLM applications. But precisely because it's comprehensive, it shouldn't be read cover to cover.
A Reading Order Organized by Deployment Progress
The chapter numbers below follow the second edition. The order and the right-hand column are suggestions for FDEs, not from the book itself.
Only the indexing and retrievers chapter has no number, because its title comes from the October 2024 update and can't be mapped to a chapter number in the second edition. Look it up by topic in the table of contents of your edition.
| Order | What to Read | Work at the Client Site |
|---|---|---|
| 1 | Chapter V: RAG | Before arriving: understand each link in the chain and build a trial version using public documentation |
| 2 | Indexing, retrievers, data preparation | First meeting: request 50 real questions, process messy documents, measure retrieval performance |
| 3 | Chapter IX: Advanced RAG | Fix the specific problems already measured |
| 4 | Chapter XII: Deployment | Determine where the model is deployed, latency, and cost |
| 5 | Chapter X: Agents | Expand after retrieval is reliable |
| 6 | Chapter XI: Fine-Tuning | Consider only when the earlier steps aren't enough |
Putting fine-tuning last is an opinion, not a rule from the book. Fine-tuning consumes labeled data and maintenance effort, while early problems in RAG projects can often be solved more cheaply on the data side. Agents come before fine-tuning because many clients ask about agents early on, but an agent built on a poor retriever just gets things wrong faster.
Build a RAG Data Pipeline by Hand Before Using a Framework
This update includes a step-by-step guide to building a basic RAG data pipeline from scratch, and the book comes with ready-to-run Colab notebooks and code projects. Don't just skim this part. When the demo gives a wrong answer in front of a client, you need to know which step went wrong—someone who has assembled every link by hand finds the cause faster.
A practical reminder: the ebook on the Towards AI website is interactive, not a downloadable PDF. Don't count on saving a file to read on the way to the client.
Test the Retriever Before Blaming the Model
That's why the indexing and retrievers chapter comes second. Imagine an insurance company hands you a pile of PDF contracts and wants a chatbot to answer employees' questions. You work with those employees to write 50 real questions, each paired with a passage containing the answer, then run the retriever on its own.
Suppose the retriever finds the correct passage for only 30 questions. The other 20 have no correct basis for an answer, so no matter which model you swap in, at most 30 of the 50 questions—60%—can be answered based on the correct documents.
With that number, the meeting stops revolving around "the model doesn't seem smart enough," and everyone discusses how to re-chunk and re-index the documents.
So the first thing to do at the client isn't choosing a model. Before writing your first line of RAG code against their data, request 50 real questions and the people who can answer them. Only once you understand why those 20 questions failed does the advanced RAG chapter become a checklist of targeted fixes.
Calculate Latency Before Promising Anything to the Client
The deployment section adds distillation, a technique for reducing inference cost and latency, with a case study on Google Gemma 2. The book also covers deploying LLMs on Together AI, Groq, Fireworks AI, and Replicate. Platform lists go stale quickly, so learn how to compare rather than memorize names.
The math is simple. Suppose the client requires an answer within 1.5 seconds, the retriever takes 300 milliseconds, and the model takes 2 seconds: 2.3 seconds total, 800 milliseconds over the requirement.
At that point you can change where the model is deployed, switch to a smaller model, or consider distillation when traffic is large enough to justify the investment. Don't promise response times to a client before measuring these numbers on real infrastructure.
Turn Reading into Job-Hunting Evidence
Finishing a book proves little to recruiters. If an FDE job description mentions RAG on client data, review Chapters V and IX; if it mentions production deployment or latency optimization, review Chapter XII.
On a resume, a small project with measurement data is far more powerful than "read this book": which messy documents you processed, how many of the questions the retriever answered correctly before and after your fixes, and the latency you measured.
In interviews, be ready to explain why you haven't done fine-tuning yet. That answer shows you know when a technology isn't worth doing yet.
The book is roughly 470 pages, but the first meeting at a client site may start with just a folder of PDFs and 50 questions. For the person prepared for that meeting, the rest of the reading comes with much clearer questions in mind.
Was this article helpful?
Thanks for your feedback!