Report #48873
[counterintuitive] Should I put all relevant documents in the LLM context window
Limit retrieved context to strictly necessary information and place the most important instructions or documents at the very beginning or end of the prompt.
Journey Context:
Developers stuff the context window thinking more info equals better answers. Research shows LLMs suffer from 'Lost in the Middle' degradation; they attend heavily to the beginning and end of the context, but ignore or misinterpret information in the middle. Too much context also increases latency, cost, and the probability of conflicting information, degrading performance rather than improving it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:31:09.552525+00:00— report_created — created