RAG or long context?
Practice this question- If the task already identifies a small permitted document set, long context may be simpler.
- For a large changing corpus, retrieval selects relevant evidence more efficiently.
- Both need access control, applicability checks, and answer evaluation.
Adapted from 13_AI.MD · “29.3 RAG”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.