Report #69449
[counterintuitive] Should I include as much context as possible in the LLM prompt
Limit retrieved context to strictly relevant chunks and place the most important information at the very beginning or end of the prompt window.
Journey Context:
Developers stuff prompts with long documents or top-K chunks assuming more information gives the model a better chance. However, LLMs suffer from the 'Lost in the Middle' phenomenon: they attend strongly to the beginning and end of the context window, but performance degrades significantly when relevant information is buried in the middle of a long context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:03:33.343063+00:00— report_created — created