liveBook · Manning

Chapter 12: Production, an ever-changing landscape: Things are just getting started

What you will learn in chapter 12 of LLMs in Production

The chapter introduction explains why the book emphasizes durable LLM production concepts and previews a review of takeaways, future directions, and closing thoughts.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The chapter introduction explains why the book emphasizes durable LLM production concepts and previews a review of takeaways, future directions, and closing thoughts.

Key terms: core concepts, constantly changing, major takeaways, future of the field, final thoughts

12.1 A thousand-foot view

The section organizes the book’s production concepts into an idealized LLM product life cycle, then uses that view to introduce what may change in the future.

Key terms: Preparation, Training, Serving, Developing, Undercurrents, LLM product life cycle, MLOps infrastructure, provisioning, preparation stage, idealized version

12.2 The future of LLMs

This introduction explains why the book emphasized practical, production-tested foundations before turning to possible future directions for LLMs.

Key terms: foundational knowledge, hands-on, production, production today, research papers, public opinions, lawsuits, political landscapes

12.2.1 Government and regulation

The section explains why real-world LLM products face emerging legal and ethical obligations, using regulation, copyright, AI detection, and chatbot liability to show what builders should consider.

Key terms: Utah’s SB-149 Artificial Intelligence Amendments bill, deceptive act by a supplier, AI analysis and research program, copyright infringement, The New York Times v. OpenAI, intellectual property, word-for-word responses, AI detection, adversarial machine learning, false positives

12.2.2 LLMs are getting bigger

This section surveys why LLMs and context windows keep growing, the costs that growth creates, and emerging architectures and compression techniques that may make large models more practical.

Key terms: emergent behavior, specialized models, training datasets, AGI, context windows, tokens, per-token, quadratic, attention, MAMBA

12.2.3 Multimodal spaces

The section explains how shared embedding spaces can connect different modalities and compares ImageBind and OneLLM as approaches to doing so.

Key terms: multimodality, phonetics, semantics, pragmatics, embedding space, cross-modal search, ImageBind, CLIP, OneLLM, multimodal encoder

12.2.4 Datasets

This section explains how LLMs are changing dataset governance and organization while exposing gaps in evaluation data and language representation.

Key terms: governing and managing their data, finetune, moat, label, tag, CLIP, captioning images, embedding spaces, structured data, open source datasets

12.2.5 Solving hallucination

The section presents prompt optimization, grounding with retrieved context, and knowledge editing as ways to reduce hallucinations in LLM applications.

Key terms: DSPy, ChainOfThought, zero-shot, gsm8k_metric, grounding, RAG, semantic search, VectorDB, knowledge graphs, nodes

12.2.6 New hardware

This section argues that new AI accelerators and memory technologies could make LLM production faster and cheaper, while noting that promising hardware does not always survive in the market.

Key terms: GPU, ASIC, TPU, NPU, accelerators, 3D XPoint, 3DxP, Optane, nonvolatile, parallelization

12.2.7 Agents will become useful

The section argues that specialized, limited-task agents are a more promising near-term direction than agents that replace entire professions, and proposes cached embeddings as a way to make such agents more efficient.

Key terms: LLM-based agents, prompt engineering, smoke and mirrors, small agents, video game NPCs, applicant tracking systems, fair hiring practices, cache embeddings, last hidden state, linear classifiers

12.3 Final thoughts

The authors close by explaining why the book emphasizes current LLM practices, pointing to changes still needed in the industry, and inviting readers to keep learning and updating the book’s code.

Key terms: current best practices, promising research, deploy and serve LLMs, LLM-based products, traditional methods, PRs, GitHub repo, code and listings

12.4 Summary

The chapter summary recaps the legal, technical, and practical forces likely to shape the future of LLMs.

Concepts explained in this chapter

← Chapter 11: Deploying an LLM on a Raspberry Pi: How low can you go?

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.