Textbook
Retrieval-Augmented Generation: From Zero to Production
2026 edition: 14 chapters, 14 hands-on labs, diagrams, review questions, capstone and glossary. Covers retrieval foundations, parsing, chunking, contextual retrieval, hybrid search, GraphRAG, agentic and multimodal RAG, evaluation, serving and security.
—How to Use This Book1Why Language Models Need Retrieval2Embeddings, Similarity & Lexical Search3The Naive Pipeline & the Golden Set4Parsing Real Documents5Chunking Strategies, Fixed to Variable6Anthropic's Contextual Retrieval7Embedding Models, Indexes & Vector Databases8Hybrid Search, Reranking & Query Transformation9Knowledge Graphs & Microsoft GraphRAG10Lighter Graphs, Trees & Routing11Agentic & Self-Correcting RAG12Multimodal RAG, Long Context & Memory13Evaluating & Observing RAG14Serving, Cost & Security15Capstone Guide: An Enterprise Document Q&A System16Glossary & Re-Verification Checklist