A repository for the book LLMs in Production with Manning Publications
Chapter listings will be kept here.
Please consider purchasing the book here:
Create an environment and install dependencies:
make setupThis will create an environment for each chapter, named after the chapter directory, e.g. chapter_1.
Activate environment:
conda activate llmbookDeactivate environment:
conda deactivateRun linters and formatters:
make lintRun Tests:
make testRemove all environments:
make cleanIf necessary, each chapter will contain its own README.md file with additional setup instructions.
Some listings are boilerplates and are not intended to be ran. When possible, examples are given that can be ran for additional context.
All scripts are designed to be ran from project root, e.g. python chapters/chapter_1/listing_1.1.py
Check out other Manning titles and learning resources here!
If you find this book or code useful for your research, please consider citing it. Chicago-style citation:
Christopher Brousseau and Matthew Sharp. LLMs in Production: From Language Models to Successful Products. Manning, 2025. ISBN: 978-81633437203.