Report #95695
[counterintuitive] Should I include as much context as possible in the LLM prompt
Curate context ruthlessly; place critical information at the very beginning or end of the prompt, and use retrieval to fetch only strictly relevant chunks rather than dumping entire documents.
Journey Context:
Developers maximize token limits thinking more data = better answers. Empirical studies show LLMs exhibit U-shaped performance on long contexts \(Lost in the Middle\). Irrelevant context acts as noise, degrading accuracy and increasing latency/cost. Models pay disproportionate attention to the start and end of the context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:12:29.181247+00:00— report_created — created