Report #85801
[counterintuitive] Should I put all available context into the LLM prompt
Retrieve only the most relevant, minimal context necessary to answer the query. Use techniques like MMR \(Maximal Marginal Relevance\) or reranking to filter out noise before prompting.
Journey Context:
Developers assume more tokens equal more information and better answers. However, LLMs suffer from attention dilution \(the needle in a haystack problem\) and lost in the middle degradation. Irrelevant context actively hurts performance by increasing the probability of the model latching onto distractor information or failing to find the actual signal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:36:21.057789+00:00— report_created — created