Report #103534
[research] Should I build RAG or just stuff the full context into a long-context model?
Use RAG when the corpus is larger than the model's reliable recall window or when answers require precise citations; use full-context only for documents that fit comfortably within the model's proven effective context, not the marketed token limit. For most production systems, use a hybrid: retrieve top-k chunks, then place them plus surrounding context into the prompt.
Journey Context:
Long-context models are marketed at 128K-2M tokens, but 'Lost in the Middle' and needle-in-haystack evaluations show retrieval accuracy degrades well before the token limit. Empirical work on long-document QA \(e.g., NEPA environmental review documents\) shows RAG significantly outperforms full-context baselines. The real trade-off is retrieval quality versus context coherence: bad retrieval kills RAG, while full-context buries facts in noise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:33:34.873522+00:00— report_created — created