Report #76982
[counterintuitive] Should I include all available context in the LLM prompt
Curate context aggressively; place critical information at the beginning or end of the prompt, and filter out irrelevant documents even if they are topically related.
Journey Context:
Developers stuff prompts with as much context as possible, assuming the model will find what it needs. However, LLMs suffer from the 'Lost in the Middle' phenomenon where performance degrades significantly when relevant information is buried in the middle of a long context. Irrelevant context also increases attention noise and inference cost without improving accuracy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:48:15.519365+00:00— report_created — created