The step where an AI system searches a database to find the most relevant text passages before writing an answer.
Technically: The process of querying a vector index (or hybrid sparse+dense index) with an embedded representation of a user query to fetch the top-k semantically similar chunks. Retrieval quality — governed by embedding choice, re-ranking, and chunk granularity — is the first bottleneck in RAG: model capability cannot compensate for retrieving the wrong context.
Category: Data & Representations