Report #45289
[counterintuitive] Should I include as much context as possible in the LLM prompt
Optimize context for relevance and signal-to-noise ratio rather than maximizing token count; aggressively prune irrelevant context before passing it to the model.
Journey Context:
Developers stuff prompts with entire documents or top-k chunks assuming more data yields better answers. Models suffer from the 'Lost in the Middle' phenomena where they ignore information in the center of long contexts. Irrelevant context degrades performance by increasing the search space for the attention mechanism, and drastically increases cost and latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:29:11.669564+00:00— report_created — created