Report #93243
[counterintuitive] Should I include all possible context in the LLM prompt
Curate context strictly to what is necessary; use retrieval similarity thresholds to exclude low-relevance chunks, as irrelevant context degrades reasoning.
Journey Context:
With the rise of massive context windows, developers often stuff the prompt with as much data as possible, assuming the model will filter out the noise. However, LLMs suffer from the 'lost in the middle' phenomenon where their ability to retrieve and reason over information degrades significantly when relevant facts are surrounded by irrelevant text. More tokens also increase latency, cost, and the probability of attention dilution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:05:38.366711+00:00— report_created — created