00-START-HERE · 01-READING-ROUTES · 00_01_title_page · 00_03_preface This unit maps printed contents pages i through x to the book’s topics. Printed page numbers are source-edition references, not live Notion positions.
TL;DR
- The book moves from interview framing and generator limits through prompting, representation, indexing, retrieval, routing, training, context assembly, evaluation, trust, scaling, and design drills.
- Parts I through III establish the problem, the generator, and the context interface.
- Parts IV through VII trace the retrieval path from representation to indexing, ranking, reformulation, routing, and multi-step control flow.
- Parts VIII through XII cover training, assembly, evaluation, credibility, robustness, systems, advanced variants, and full design exercises.
- Appendices A through G provide formulas, question banks, design checklists, documentation templates, readings, notation, and terminology.
The story
Treat the contents as a metro map for a RAG interview. The front matter is the ticket hall. It explains who the route serves, how to read the signs, and which notation appears along the way. Part I is the central interchange because it frames the interview, compares competing answers, and supplies a repeatable design route. The next lines travel through the system itself. The generator, prompting, representation, indexing, retrieval, query control, training, and context assembly each get their own line. Every chapter is a station where an interviewer can stop the conversation and ask for a mechanism, trade-off, failure mode, or design choice. The final lines are the inspection route. Evaluation checks retrieval, generation, and the complete system. Trust and robustness inspect the evidence and threat surface. Scaling and advanced variants test whether the route still works under operational pressure. The appendices are the service depot, holding formulas, drills, checklists, documentation, readings, notation, and a glossary for rapid repair before an interview.
Decoder table
| Map line | Printed-page start | Interview use |
|---|---|---|
| Part I. The RAG Interview Landscape | 1 | Frame the problem, compare alternatives, and structure a design answer. |
| Part II. The Generator Side | 63 | Explain what the generator contributes and where it fails. |
| Part III. Prompting and Context Construction | 184 | Control instructions, reasoning scaffolds, sensitivity, abstention, and calibration. |
| Part IV. Representing What You Retrieve | 251 | Choose representations, chunking granularity, and document structure. |
| Part V. Indexing and Vector Search | 323 | Connect search structures, compression, and vector-store operations. |
| Part VI. Retrieval and Ranking | 402 | Compare classical, dense, sparse, multi-vector, reranking, and generative retrieval. |
| Part VII. Query Understanding and Control Flow | 548 | Reformulate, route, iterate, recurse, and stop retrieval. |
| Part VIII. Training the RAG System | 642 | Train generators and retrievers, then bootstrap training data. |
| Part IX. Generation and Context Assembly | 727 | Place evidence, manage positional effects, and support attribution. |
| Part X. Evaluation | 777 | Separate retrieval, generation, and system-level measurement. |
| Part XI. Trust, Credibility, and Adversarial Robustness | 838 | Examine source credibility, provenance, attacks, and privacy. |
| Part XII. Scaling, Advanced Variants, and Design Drills | 901 | Reason about systems, federation, modalities, graphs, and end-to-end cases. |
| Appendices A through G | 1050 | Rehearse formulas, questions, checklists, documentation, readings, notation, and terms. |
Core mechanics
The catalog preserves source titles, section labels and printed page references. These are original-edition navigation labels, not current Notion page positions or a claim that every revised heading retains identical wording. Standard abbreviations may be explained in prose without changing quoted titles.
Front matter
| Unit | Printed page |
|---|---|
| Preface | xi |
| How to Use This Book | xiii |
| For Interview Candidates | xviii |
| For Practicing Engineers | xxiii |
| Notation and Symbols | xxvii |
| Acknowledgments | xxxi |
| About the Author | xxxii |
Part I. The RAG Interview Landscape
| Unit | Printed page |
|---|---|
| Part I. The RAG Interview Landscape | 1 |
| Chapter 1. What a RAG Interview Actually Tests | 2 |
| Parametric, non-parametric, semi-parametric: the frame behind every question | 2 |
| The five bottlenecks that created RAG | 6 |
| The five benefits, and what each one costs you | 10 |
| RAG is one instance of tool use, not the general case | 13 |
| When not to retrieve: the popularity curve and retrieval-induced harm | 17 |
| Chapter 2. The Competing Answers to the Same Problem | 22 |
| Continual learning and catastrophic forgetting | 22 |
| Model editing: gradient-based and locate-and-update | 26 |
| Long context vs retrieval | 31 |
| Generative retrieval: putting the index back in the weights | 35 |
| Choosing between them out loud in an interview | 39 |
| Chapter 3. A Repeatable Framework for Any RAG Design Question | 43 |
| The five retrieval decisions as an answer skeleton | 43 |
| Naive -> Advanced -> Modular: naming your design’s maturity | 47 |
| The three injection interfaces: text, embeddings, parameters | 50 |
| Sizing the problem before designing it | 54 |
| “One size does not fit all”: adaptivity as the default answer | 58 |
Part II. The Generator Side
| Unit | Printed page |
|---|---|
| Part II. The Generator Side | 63 |
| Chapter 4. What the LLM Brings and What It Breaks | 64 |
| Pre-training, SFT, post-training - which stage owns which failure | 64 |
| Memorization: three laws and their consequences | 68 |
| Long-tail knowledge and co-occurrence bias | 71 |
| Hallucination taxonomy: factuality vs faithfulness, intrinsic vs extrinsic | 76 |
| The five causes of factual error | 80 |
| Why verification is hard: black box, moving truth, biased verifiers | 84 |
| Chapter 5. Data, Privacy, and the Legal Surface | 89 |
| What is actually in the pre-training corpus | 89 |
| PII extraction and the divergence attack | 93 |
| Copyright, Books3, and verbatim continuation | 97 |
| Unlearning and why it cannot scale | 101 |
| SILO: low-risk weights, high-risk datastore | 106 |
| Chapter 6. Scaling Laws and the Economics of Retrieval vs Parameters | 112 |
| Kaplan, Chinchilla, and post-Chinchilla token/parameter ratios | 112 |
| FLOPs ~= 6ND and the memory arithmetic you must do live | 117 |
| Three observations that change decisions: shape, embeddings, convergence | 121 |
| Test-time compute vs pre-training compute | 126 |
| The small-model-plus-datastore argument, and its limit | 130 |
| Chapter 7. In-Context Learning - The Mechanism RAG Rides On | 135 |
| ICL vs SFT: what each actually buys you | 135 |
| Demonstration selection and the test-input conjecture | 140 |
| Format sensitivity, and why there is no universally best format | 144 |
| Ordering, K! search space, and content-free calibration | 148 |
| Why ICL works, theory 1: Bayesian / kernel regression | 152 |
| Why ICL works, theory 2: gradient descent as inference | 156 |
| Chapter 8. Reading the Machine: Circuits, Induction Heads, and Attribution | 161 |
| Feature attribution vs mechanistic interpretability | 161 |
| The residual stream as an information bus | 165 |
| QK and OV circuits: where to look, what to move | 170 |
| Induction heads and “advanced copying” | 175 |
| What circuits let you claim about a RAG answer - and what they don’t | 179 |
Part III. Prompting and Context Construction
| Unit | Printed page |
|---|---|
| Part III. Prompting and Context Construction | 184 |
| Chapter 9. Prompting for Retrieval-Augmented Systems | 185 |
| The prompt hierarchy: completion -> instruction -> ICL -> RAG | 185 |
| Reasoning scaffolds: CoT, self-consistency, Tree and Graph of Thoughts | 189 |
| When more scaffolding makes things worse | 194 |
| Retrieving more can hallucinate more | 198 |
| Chapter 10. Prompt Sensitivity | 203 |
| How much formatting alone moves accuracy | 203 |
| Measuring sensitivity: POSIX, PSS, decoding confidence | 207 |
| Sensitivity as a label-free performance predictor | 211 |
| Few-shot beats scale for reducing sensitivity | 214 |
| Prompt optimization: COPLE and P2G | 219 |
| Chapter 11. Abstention and Calibration | 224 |
| Should a RAG system ever refuse? | 224 |
| Five abstention mechanisms and how each fails | 228 |
| Self-reflection compounds - the model-collapse connection | 233 |
| Calibration vs failure prediction | 237 |
| Eliciting confidence from a black box | 242 |
| Long-form calibration: of what? | 246 |
Part IV. Representing What You Retrieve
| Unit | Printed page |
|---|---|
| Part IV. Representing What You Retrieve | 251 |
| Chapter 12. Text Representation | 252 |
| Four eras: bag-of-words -> static -> contextual -> universal | 252 |
| Distributional semantics and meaning drift | 256 |
| Sparse vs dense: dimensionality, interpretability, exact match | 260 |
| Sentence embeddings, and why vision augmentation fails on text | 265 |
| What a sentence embedding actually contains | 269 |
| Chapter 13. Chunking and Granularity | 274 |
| Five levels of splitting | 274 |
| Chunking by intent: pseudo-instructions | 278 |
| Mixture of Granularity: routing over chunk sizes | 282 |
| Propositions and fine-grained retrieval | 287 |
| Evaluating a chunker: IoU and the segmentation metrics | 291 |
| Does semantic chunking actually pay? | 295 |
| Chapter 14. Beyond Plain Text - Tables, Layout, Documents | 300 |
| Semi-structured data and why splitting a table corrupts it | 300 |
| Table encoding: TAPAS and its positional assumptions | 304 |
| Row/column order bias and TableFormer’s fix | 309 |
| Document layout: blocks, reading order, hierarchical pre-training | 313 |
| Layout priors you should be able to name | 318 |
Part V. Indexing and Vector Search
| Unit | Printed page |
|---|---|
| Part V. Indexing and Vector Search | 323 |
| Chapter 15. Approximate Nearest Neighbor Search | 324 |
| Why exact search dies: the curse of dimensionality | 324 |
| From skip lists to HNSW | 328 |
| IVF: coarse quantizers, centroids, Voronoi cells | 333 |
| LSH and hash-collision retrieval | 337 |
| Graph indexes: RNG, Vamana/DiskANN, Annoy | 341 |
| Choosing an index: the recall/latency/memory triangle | 345 |
| Chapter 16. Compression and Index Economics | 351 |
| Product quantization and the k^m/km argument | 351 |
| Residual quantization and IVFADC | 355 |
| Scalar and binary quantization | 360 |
| FAISS, parallelism, and why block structure matters | 364 |
| Index memory arithmetic, end to end | 369 |
| Chapter 17. Operating a Vector Store | 374 |
| Static index, dynamic corpus: tombstones and re-indexing | 374 |
| Sharding, replication, partitioning | 378 |
| Choosing a vector database: no winner on all axes | 383 |
| Metadata: descriptive, structural, generated | 387 |
| Pre-filtering, post-filtering, and the over-filtering risk | 392 |
| Self-querying: LLM-extracted filter constraints | 396 |
Part VI. Retrieval and Ranking
| Unit | Printed page |
|---|---|
| Part VI. Retrieval and Ranking | 402 |
| Chapter 18. Classical IR You Are Expected to Know | 403 |
| Boolean and extended Boolean models | 403 |
| Vector space model and TF-IDF’s two failures | 408 |
| BM25: saturation and length normalization | 412 |
| Probabilistic models and the binary independence assumption | 417 |
| Why sparse still wins on the long tail | 422 |
| Chapter 19. Learning to Rank | 427 |
| The LTR setup and why regression is the wrong framing | 427 |
| Pointwise: classification and ordinal regression | 431 |
| Pairwise: RankSVM, RankNet, LambdaRank | 435 |
| Listwise: SoftRank, LambdaMART, SetRank | 440 |
| Neural LTR: representation, interaction, hybrid | 444 |
| Chapter 20. Dense Retrieval | 449 |
| Bi-encoders, DPR, and the efficiency/expressiveness trade | 449 |
| Where dense wins and where BM25 wins | 453 |
| Hard negatives, gradient norm, and ANCE | 457 |
| Unsupervised dense retrieval: Contriever and MoCo | 462 |
| Cross-lingual and low-resource retrieval | 466 |
| Chapter 21. Learned Sparse and Multi-Vector Retrieval | 472 |
| SPLADE: MLM-predicted term importance and implicit expansion | 472 |
| FLOPS regularization: making sparsity a trainable objective | 476 |
| ColBERT and late interaction | 481 |
| The three ablations that show what makes ColBERT work | 485 |
| Making multi-vector affordable: ColBERTv2 and PLAID | 489 |
| Hybrid retrieval and Reciprocal Rank Fusion | 493 |
| Chapter 22. Reranking | 499 |
| Why a second stage exists at all | 499 |
| Cross-encoders and choosing rerank depth | 503 |
| LLM rerankers: pointwise, pairwise, listwise | 507 |
| monoT5 -> RankT5: from classification to real ranking losses | 512 |
| Zero-shot listwise prompting and the sliding window | 516 |
| Instruction-aware reranking | 521 |
| Document-bound vs model-bound | 525 |
| Chapter 23. Generative Retrieval | 530 |
| Generating document IDs instead of searching | 530 |
| Constant-time retrieval vs quality ceiling | 534 |
| Incremental indexing: the open wound | 538 |
| Recite-then-answer, and GenIR as RAG’s complement | 543 |
Part VII. Query Understanding and Control Flow
| Unit | Printed page |
|---|---|
| Part VII. Query Understanding and Control Flow | 548 |
| Chapter 24. Query Reformulation | 549 |
| Why queries fail: misspelling, synonymy, polysemy | 549 |
| Expansion: lexical, semantic, signal-based | 553 |
| Rewriting: Rocchio -> seq2seq -> reinforcement learning | 558 |
| Retrieval-specific embeddings: why word2vec is wrong here | 562 |
| Conversational rewriting: five operations | 566 |
| HyDE: searching with a hypothetical answer | 570 |
| Chapter 25. Routing and Adaptive Retrieval | 575 |
| When to retrieve: classifier, confidence, and self-reflective families | 575 |
| Unified Active Retrieval: four criteria as a decision tree | 579 |
| Where to retrieve: source selection, conflict, heterogeneity | 583 |
| Query routers: descriptive vs prescriptive | 587 |
| Query stratification: four levels of information need | 591 |
| Adaptive RAG and silver-label supervision | 595 |
| The out-of-distribution weakness every router shares | 599 |
| Chapter 26. Iterative, Recursive, and Agentic Retrieval | 604 |
| Why one-shot retrieval breaks: three failure modes | 604 |
| Iterative: alternating retrieval and generation | 608 |
| Recursive: IRCoT and Self-Ask | 612 |
| Confidence-triggered: FLARE’s implicit and explicit queries | 616 |
| Corrective RAG: evaluate, decompose, fall back to web search | 620 |
| Self-RAG: reflection tokens and distilled supervision | 624 |
| RL for search: Search-R1, GRPO, and learned stopping | 627 |
| Agentic RAG and its costs | 632 |
| When to stop: the accuracy/latency/context trade-off | 636 |
Part VIII. Training the RAG System
| Unit | Printed page |
|---|---|
| Part VIII. Training the RAG System | 642 |
| Chapter 27. Fine-tuning the Generator | 643 |
| SFT teaches behavior, RAG supplies knowledge | 643 |
| RAFT: training with distractors on purpose | 647 |
| Robustness to retrieval defects: noisy, irrelevant, counterfactual | 651 |
| Answer invariance to context as a training objective | 655 |
| PEFT: LoRA, QLoRA, and quantization | 659 |
| Chapter 28. Training the Retriever | 664 |
| Four quadrants: freeze or train x retriever or generator | 664 |
| Fusion-in-Decoder and FiD-light | 668 |
| Relevance is discrete: Gumbel noise and the differentiability fix | 672 |
| REPLUG: black-box LLM, ensembled output distributions | 677 |
| LM-supervised retrieval: KL between retriever and LM preference | 681 |
| Index refresh during training | 686 |
| REALM and retrieval inside pre-training | 690 |
| Chapter 29. Bootstrapping Training Data | 695 |
| Inverting the relation: what queries does this document answer? | 695 |
| doc2query and vocabulary mismatch | 699 |
| InPars: contrasting good and bad generated queries | 702 |
| Promptagator: retrieval tasks are not one task | 706 |
| Consistency filtering | 709 |
| Multilingual and conversational extensions | 713 |
| Synthetic data: the right question is how, not whether | 717 |
| Gold, silver, bronze: label provenance and the teacher ceiling | 721 |
Part IX. Generation and Context Assembly
| Unit | Printed page |
|---|---|
| Part IX. Generation and Context Assembly | 727 |
| Chapter 30. Lost in the Middle | 728 |
| The U-curve and the serial position effect | 728 |
| Worse than closed-book: the finding that changes designs | 732 |
| Longer context windows do not help | 735 |
| Where the bias comes from: system messages and next-token locality | 739 |
| Mitigation by prompting and reordering | 743 |
| Ranked-list truncation: retrieve fewer documents | 747 |
| Positional encoding and attention calibration | 750 |
| Training and architecture fixes: IN2, FILM, DIFF Transformer | 753 |
| Chapter 31. Attribution and Citation | 758 |
| Attribution as RAG’s core promise | 758 |
| The AIS framework: interpretability then attribution | 761 |
| Post-hoc citations and why they are nearly worthless | 765 |
| Attributable, extrapolatory, contradictory - and the fact-checking mapping | 769 |
| How good are automatic attribution judges? | 772 |
Part X. Evaluation
| Unit | Printed page |
|---|---|
| Part X. Evaluation | 777 |
| Chapter 32. Evaluating Retrieval | 778 |
| Set metrics vs rank metrics | 778 |
| MRR, nDCG, recall@k - derived, not quoted | 781 |
| Evaluating without ground truth: humans and LLM judges | 785 |
| Judge design: exemplars, class balance, macro-F1 | 788 |
| Chapter 33. Evaluating Generation | 793 |
| Faithfulness vs factuality, restated for evaluation | 793 |
| FActScore and atomic facts | 797 |
| VeriScore: unverifiable claims and the recall correction | 802 |
| RAGAS: faithfulness, answer relevance, context relevance | 806 |
| Error length dependence and summarization’s open question | 810 |
| Chapter 34. Evaluating the System | 815 |
| RAG is not end-to-end: attributing failure to a stage | 815 |
| Macro, micro, mezzo analysis | 818 |
| Ablation design and sanity cases | 822 |
| The remove-the-evidence ablation | 826 |
| System-level properties: latency, self-consistency, robustness | 830 |
| Benchmark hygiene: contamination, synthetic sets, VQA-in-RAG-clothing | 834 |
Part XI. Trust, Credibility, and Adversarial Robustness
| Unit | Printed page |
|---|---|
| Part XI. Trust, Credibility, and Adversarial Robustness | 838 |
| Chapter 35. Source Credibility | 839 |
| Six aspects across three stages: a trustworthiness taxonomy | 839 |
| One bad document among many good ones | 842 |
| RA-RAG: reliability from cross-source agreement | 845 |
| CAG: training the model to reason about credibility | 849 |
| CrAM: down-weighting attention on gullible heads | 852 |
| Choosing among the three | 856 |
| Temporal awareness and credibility laundering | 859 |
| Pluralism: when every credible source shares a blind spot | 862 |
| Fair exposure: doubly stochastic rankings and group constraints | 866 |
| Chapter 36. Provenance and Adversarial Robustness | 870 |
| Attribution is linguistic, authenticity is technical | 870 |
| Content credentials and C2PA | 873 |
| Missing and forged credentials | 877 |
| Indirect prompt injection: the native RAG threat model | 881 |
| Data poisoning the datastore | 885 |
| Jailbreaking, red teaming, guardrails | 889 |
| Adversarial training: discrete, continuous, and hybrid | 892 |
| Privacy: what the datastore protects and what it doesn’t | 896 |
Part XII. Scaling, Advanced Variants, and Design Drills
| Unit | Printed page |
|---|---|
| Part XII. Scaling, Advanced Variants, and Design Drills | 901 |
| Chapter 37. Latency, Cost, and Systems | 902 |
| Where the milliseconds actually go | 902 |
| KV-cache reuse for retrieved chunks | 906 |
| Reordering a decoder to make caching possible | 909 |
| Kernel fusion, static layouts, and GPU-shaped design | 913 |
| CPU/GPU pipelining and prefetching | 917 |
| Funnel retrieval: coarse-to-fine cascades | 921 |
| Recursive summarization for thematic queries | 925 |
| Cost per query, end to end | 929 |
| Chapter 38. Distributed and Federated RAG | 933 |
| Why there is no single vector database | 933 |
| Federated search and source selection | 936 |
| RAGRoute: learning which sources to query | 940 |
| Multi-tenancy, compliance, and data residency | 943 |
| RAG’s externalities: the commons and the energy bill | 948 |
| Chapter 39. Multimodal RAG | 952 |
| Three generations, and the multilingual analogy | 952 |
| Encoding: joint vs decoupled-and-aligned | 955 |
| CLIP’s three biases | 959 |
| Per-modality thresholds | 963 |
| Multi-granularity noise correspondence and reranking | 966 |
| Fusion: score, attention, unified | 970 |
| The time dimension: key frames, hierarchy, causality | 974 |
| Generation and non-textual attribution | 978 |
| Benchmarks and what they actually measure | 982 |
| Chapter 40. Graph RAG | 987 |
| When a graph earns its place - and when it doesn’t | 987 |
| Constructing the graph: extraction, cost, and quality | 991 |
| Query processing: five sub-processes and grounded decomposition | 994 |
| Heuristic retrieval: linking, matching, traversal | 998 |
| Knowledge graphs as reasoning sources | 1002 |
| Learned retrieval: GNN-RAG and query-conditioned message passing | 1006 |
| Organizing: pruning, reranking, augmenting, verbalizing | 1010 |
| Generation: verbalize, fuse, or stay in graph space | 1013 |
| GraphRAG vs LightRAG: communities vs dual-level keys | 1017 |
| Chapter 41. End-to-End Design Drills | 1022 |
| Enterprise RAG over 100M documents at 500 QPS | 1022 |
| A RAG system that must stay fresh | 1025 |
| High-stakes RAG: medicine and law | 1029 |
| Multi-hop question answering | 1033 |
| Multimodal enterprise search | 1038 |
| Debugging a RAG system that got worse | 1041 |
| Retrofitting credibility onto an existing pipeline | 1045 |
Appendices
| Unit | Printed page |
|---|---|
| Appendix A. Formula Sheet | 1050 |
| A.1 BM25 | 1050 |
| A.2 Reciprocal Rank Fusion | 1051 |
| A.3 Mean Reciprocal Rank | 1052 |
| A.4 nDCG | 1053 |
| A.5 Modularity | 1054 |
| A.6 Product Quantization Sizing | 1055 |
| A.7 FLOPs and Latency | 1056 |
| A.8 Index Memory, End to End | 1057 |
| Appendix B. Question Bank | 1060 |
| B.1 Core Questions | 1060 |
| B.2 Senior Questions | 1062 |
| B.3 Staff Questions | 1065 |
| B.4 Answers | 1068 |
| Appendix C. Design Checklists | 1078 |
| C.1 The Retrieval Design Checklist | 1078 |
| C.2 The Indexing and Capacity Checklist | 1079 |
| C.3 The Evaluation Checklist | 1080 |
| C.4 The Credibility and Robustness Checklist | 1081 |
| C.5 The Latency and Cost Checklist | 1083 |
| Appendix D. The RAG Card and Index Datasheet | 1084 |
| D.1 The RAG Card | 1084 |
| D.2 The Index Datasheet | 1086 |
| Appendix E. Annotated Reading List | 1089 |
| E.1 Reading List, Mapped to Chapters | 1089 |
| Appendix F. Notation Quick Reference | 1101 |
| Appendix G. Glossary | 1103 |
| G.1 The Same Idea Under Four Names | 1103 |
| G.2 Glossary of Terms | 1105 |
Diagrams
The manifest records zero figures and zero tables for this unit, so there are no source visuals or captions to recreate.
Interview route
Front matter
|
Part I: frame and design method
|
Part II -> Part III: generator and context
|
Part IV -> Part V -> Part VI -> Part VII
representation -> indexing -> ranking -> control flow
|
Part VIII -> Part IX: training and assembly
|
Part X -> Part XI: evaluation and trust
|
Part XII: systems, variants, and design drills
|
Appendices A through G: rehearsal and reference
Whiteboard pack
Numbered drawing order
- Write
RAG interviewat the top and draw a vertical route beneath it. - Add Part I as the framing station.
- Add paired stations for Parts II and III, then Parts IV through VII as the retrieval pipeline.
- Add Parts VIII and IX for training and context assembly.
- Add Parts X and XI as the evaluation and trust checkpoint.
- Add Part XII as the systems and design-drill terminus.
- Draw a side box for Appendices A through G and label it
formulas, questions, checklists, documentation, readings, notation, glossary.
90-100 word script
The book is organized like a system walkthrough. I start with the interview frame and the generator's limits. Then I move through prompting, representation, indexing, retrieval, and query control because each stage changes what evidence reaches the model. After that, I cover training and context assembly, then evaluate retrieval, generation, and the whole system separately. I finish with credibility, adversarial robustness, scaling, distributed designs, multimodal and graph variants, and end-to-end drills. The appendices give formulas, questions, checklists, documentation templates, readings, notation, and a glossary. This route lets me answer from first principles, then test the design.
Interview traps
1. Why is the contents more useful as a map than as a memorization list?
The outline groups each interview topic with its mechanism and page anchor. Part I frames the answer, Parts II through IX walk through the system, and Parts X and XI test evaluation and trust. Part XII applies the earlier material to advanced variants and design drills.
2. Why not start with agentic, multimodal, or graph retrieval?
The source places those variants after generator behavior, prompting, representation, indexing, ranking, routing, training, context assembly, evaluation, and trust. The order makes the prerequisite design choices visible before Part XII begins on page 901.
3. Where does the outline separate the three evaluation levels?
Part X assigns Chapter 32 to retrieval evaluation on page 778, Chapter 33 to generation evaluation on page 793, and Chapter 34 to system evaluation on page 815. A complete answer should preserve those three levels.
4. Is attribution the whole trust story?
No. Chapter 31 covers attribution and citation on page 758. Part XI separates source credibility on page 839 from provenance and adversarial robustness on page 870, while Section places privacy on page 896.
5. How should an appendix entry connect back to the main outline?
Use an appendix as a reference, then return to the chapter developing its assumptions. The source contents place Appendix A at printed page 1050, Appendix C at 1078 and Appendix D at 1084. Those are preserved source page labels, not page numbers generated by this revised Notion copy.
Key numbers
| Number | Source-grounded meaning |
|---|---|
| 10 | Portable Document Format (PDF) pages in this contents unit, labeled i through x. |
| Seven listed front-matter units | The source contents list Preface through About the Author; title and contents themselves are excluded from this seven-unit count. |
| 12 | Major parts in the main book. |
| 41 | Numbered chapters. |
| 7 | Appendices, A through G. |
| documents | Assumed corpus size in design drill , not a measured deployed scale. |
| Assumed request rate in design drill ; size per-query work, capacity and headroom separately. | |
| 1105 | Last listed printed page start (G.2); not proof that the book has exactly 1105 total pages. |
00-START-HERE · 01-READING-ROUTES · 00_01_title_page · 00_03_preface