Report #55367
[counterintuitive] Should I include all available context in the LLM prompt
Curate context strictly to what is necessary. Use smaller top-k values, apply relevance filtering, and place critical information at the beginning or end of the prompt.
Journey Context:
Developers dump entire documents or high top-k results into prompts thinking more information equals better answers. Research shows LLMs suffer from the 'lost in the middle' effect, where performance degrades significantly when relevant information is buried in a sea of irrelevant context. More context increases prompt cost, latency, and actively distracts the model, leading to worse reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:25:26.426317+00:00— report_created — created