RAG prompts integrate retrieved chunks into the LLM's context window. To prevent the model from ignoring context ('lost in the middle') or hallucinating outside the retrieved facts, prompts must define strict grounding boundaries, prioritize chunk ordering, and instruct the model to provide citations for every claim.