Book index
This Notion edition links forty-one chapters, nine front-matter units and seven appendices: content units. This start page, Reading Routes and Source Index are three additional navigation pages, making sixty indexed pages. Links open Notion pages; the titles and source page labels do not imply downloadable Markdown files or current Notion page numbers. Use the route guide for selected study and the source index for original-edition spans and declared prose-only reading estimates. 01-READING-ROUTES · 98-SOURCE-INDEX
Roadmap
| Part | Chapters | Focus |
|---|---|---|
| Front matter | – | You learn the scope, study method, notation, and intended use of the edition. |
| I. The RAG Interview Landscape | 1–3 | You frame the problem, compare alternatives, and structure a design answer. |
| II. The Generator Side | 4–8 | You examine generator capabilities, possible failure causes and model-capacity economics without assuming one unique owner for every error. |
| III. Prompting and Context Construction | 9–11 | You control instructions and assess prompt sensitivity, abstention, and calibration. |
| IV. Representing What You Retrieve | 12–14 | You choose representations, retrieval units, and ways to preserve document structure. |
| V. Indexing and Vector Search | 15–17 | You choose and operate an index within recall, latency, memory, and update budgets. |
| VI. Retrieval and Ranking | 18–23 | You compare retrieval families and ranking stages by quality and serving cost. |
| VII. Query Understanding and Control Flow | 24–26 | You reformulate queries, route requests, and control repeated retrieval. |
| VIII. Training the RAG System | 27–29 | You decide what to train and how to obtain useful supervision. |
| IX. Generation and Context Assembly | 30–31 | You manage context position and check the evidence behind generated claims. |
| X. Evaluation | 32–34 | You measure retrieval and generation separately and together, then test regression hypotheses and interactions. |
| XI. Trust, Credibility, and Adversarial Robustness | 35–36 | You evaluate credibility signals, provenance and access boundaries without treating authenticity as proof of truth or a security guarantee. |
| XII. Scaling, Advanced Variants, and Design Drills | 37–41 | You apply the earlier decisions to scale, federation, multimodality, graphs, and design drills. |
| Appendices | A1–A7 | You look up formulas, test yourself, review designs, and prepare system documentation. |
Contents
Front matter
- 00_01_title_page
- 00_02_contents
- 00_03_preface
- 00_04_how_to_use_this_book
- 00_05_for_interview_candidates
- 00_06_for_practicing_engineers
- 00_07_notation_and_symbols
- 00_08_acknowledgments
- 00_09_about_the_author
Part I. The RAG Interview Landscape
- 01_what_a_rag_interview_actually_tests
- 02_the_competing_answers_to_the_same_problem
- 03_a_repeatable_framework_for_any_rag_design_question
Part II. The Generator Side
- 04_what_the_llm_brings_and_what_it_breaks
- 05_data_privacy_and_the_legal_surface
- 06_scaling_laws_and_the_economics_of_retrieval_vs_parameters
- 07_in_context_learning_the_mechanism_rag_rides_on
- 08_reading_the_machine_circuits_induction_heads_and_attribution
Part III. Prompting and Context Construction
Part IV. Representing What You Retrieve
Part V. Indexing and Vector Search
- 15_approximate_nearest_neighbor_search
- 16_compression_and_index_economics
- 17_operating_a_vector_store
Part VI. Retrieval and Ranking
- 18_classical_ir_you_are_expected_to_know
- 19_learning_to_rank
- 20_dense_retrieval
- 21_learned_sparse_and_multi_vector_retrieval
- 22_reranking
- 23_generative_retrieval
Part VII. Query Understanding and Control Flow
- 24_query_reformulation
- 25_routing_and_adaptive_retrieval
- 26_iterative_recursive_and_agentic_retrieval
Part VIII. Training the RAG System
Part IX. Generation and Context Assembly
Part X. Evaluation
Part XI. Trust, Credibility, and Adversarial Robustness
Part XII. Scaling, Advanced Variants, and Design Drills
- 37_latency_cost_and_systems
- 38_distributed_and_federated_rag
- 39_multimodal_rag
- 40_graph_rag
- 41_end_to_end_design_drills