Explore Library
QuizIntermediate

Context Injection in RAG Prompts

Understanding how retrieved documents are combined with user queries in a RAG prompt.

In a basic RAG pipeline, what is the primary purpose of injecting retrieved documents into the prompt before sending it to the LLM?