← Back to Index

04 — Patterns

Reusable RAG design patterns that cut across the architectures in 02_interview_bank/.

Contents

File Pattern When to Use
01-router-fallback.md Router + Fallback Route queries to cheapest retriever; fall back to expensive tiers only on failure
02-fan-out-fan-in.md Fan-Out / Fan-In Decompose multi-aspect queries into sub-queries, retrieve in parallel, merge with RRF
03-migration-path.md Migration Path Upgrade Naive → Advanced → Modular → Agentic incrementally with forcing functions
04-anti-patterns.md Anti-Patterns Five most common RAG design mistakes and how to avoid them

How to Use These Patterns

These patterns are not architectures (those are in 02_interview_bank/). They are design decisions that sit on top of any architecture: