The process of querying for supporting information to understand context. This happens through semantic search (see Embeddings). I think it does embedding on the prompt, then does a search on Vector Databases to gather hopefully relevant context.
A key technique in Context Engineering — RAG is how you get relevant external knowledge into an LLM’s context window.