Report #85719
[counterintuitive] Should I include all available context in the LLM prompt
Curate context ruthlessly. Include only strictly relevant information, placing critical instructions at the beginning or end of the prompt, as excessive context degrades performance due to attention dilution.
Journey Context:
Developers dump entire documents or multiple documents into prompts hoping the model will 'find' the answer. However, transformer attention mechanisms struggle to maintain fidelity over long contexts. Performance follows a U-shaped curve where information in the middle of long contexts is often ignored or forgotten, meaning more context actively hurts performance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:28:03.456805+00:00— report_created — created