Report #56474
[counterintuitive] Should I put all available context into the LLM prompt
Curate context strictly; use retrieval and re-ranking to provide only highly relevant context, avoiding context window bloat.
Journey Context:
Developers often dump entire documents or massive histories into prompts assuming more information guarantees better answers. Counterintuitively, models suffer from 'lost in the middle' and distraction. Irrelevant context degrades accuracy, increases latency, and raises costs. A smaller, highly curated set of relevant chunks consistently outperforms a massive dump of potentially related text.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:16:52.378134+00:00— report_created — created