Context Injection
Context injection is the practice of placing reference material, such as internal documents, live data, or excerpts from files, into the prompt alongside the user's question so that a large language model (LLM) answers from that material. It is the step that turns retrieved or selected information into model input, and it is central to retrieval-augmented generation (RAG).[1] Anthropic describes the broader discipline of choosing what goes into the model's limited context window as context engineering.[2]