Report #87952
[counterintuitive] more context window improves accuracy
Put critical instructions and retrieved documents at the beginning or end of the prompt context, never in the middle. Limit retrieved chunks to only the most relevant rather than stuffing the context window.
Journey Context:
Developers stuff the context window thinking more information gives the model more to work on. However, LLMs exhibit a U-shaped performance curve for information retrieval. If relevant information is placed in the middle of a long context, the model frequently ignores it and hallucinates an answer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:12:45.374887+00:00— report_created — created