
Designing Large Language Model Applications
A Holistic Approach to LLMs
by Suhas Pai
Have a question? Ask on WhatsApp or Message on Messenger
- Pay after we confirm your order by phone.
- Delivery charge confirmed before you pay. Store pickup in Nilkhet is free.
- Read our delivery, return and refund policy.
Call 01963 822422 / 01817 506044 for help with your order
- ISBN-13
- 978-1098150501
- Publisher
- O'Reilly Media
- Edition
- 1st Edition
- Format
- Paperback
- Condition
- New
Contact us for paper details and condition photos.
Designing Large Language Model Applications: A Holistic Approach to LLMs by Suhas Pai is a practical, end-to-end guide to building real products with large language models. It goes beyond simple prompting and shows you how LLMs actually work, how to adapt them to your own data and use cases, and how to design reliable applications that can run in production.
Many developers can call an LLM API, but turning that into a dependable product is much harder. You have to choose the right model, prepare data, reduce hallucinations, control cost and latency, and measure quality. This book takes a holistic view of the whole process, so you understand not only what to do, but why each design decision matters.
Topics covered in this book:
- How large language models work: transformers, tokenization, embeddings, pretraining, and model architectures
- Choosing between open-source and proprietary LLMs, and understanding their strengths and limits
- Prompt engineering, in-context learning, and structured outputs
- Fine-tuning and adapting models, including parameter-efficient methods, to fit your domain
- Retrieval-augmented generation (RAG), vector databases, and embedding-based search
- Building LLM agents, tool use, and multi-step reasoning workflows
- Preparing and curating datasets for training, fine-tuning, and evaluation
- Evaluating LLM applications, benchmarking, and measuring quality in the real world
- Reducing hallucinations and handling safety, bias, and reliability issues
- Inference, optimization, and deployment: reducing latency and cost at scale
- Design patterns and architectures for production-ready LLM applications
Who is this book for?
- Software engineers and developers who want to build LLM-powered products
- Machine learning engineers and data scientists moving into generative AI
- AI engineers working on chatbots, copilots, search, and agent-based systems
- Technical leads, architects, and product teams planning LLM projects
- Students and professionals who want a solid understanding of how modern LLM applications are designed
Why do so many readers choose this book over other LLM books?
- It is application-focused. You learn how to design and ship real systems, not just read about model theory.
- It covers the full lifecycle: model selection, data, adaptation, evaluation, and deployment in one place.
- It explains the reasoning behind each choice, so you can make good trade-offs for your own project.
- It covers the techniques teams use today, including RAG, fine-tuning, and agents, so the knowledge is directly useful at work.
- It balances depth with clarity, making advanced topics accessible without oversimplifying them.
- It gives you a framework that stays useful even as individual tools and models change.
Key topics: large language models, LLM applications, generative AI, prompt engineering, RAG, retrieval-augmented generation, fine-tuning, embeddings, vector databases, LLM agents, LLM evaluation, hallucination, and LLM deployment.
If you want to move from experimenting with LLMs to building real, reliable applications, Designing Large Language Model Applications is a strong and practical choice. It gives you the understanding and the design thinking you need to build with confidence.


