Diagram
A five-step left-to-right process flow showing query embedding, vector similarity search, document retrieval, prompt augmentation, and LLM grounded generation.
Ordered Retrieval Flow Using Embeddings and Vector Search
The ordered retrieval flow using embeddings and vector search explains how a query becomes a grounded answer. An embedding is a numerical representation of text, images, or video stored as an array of floating point numbers called a vector. Embeddings place similar meanings close together in vector space, so similarity search finds relevant documents even when wording differs. Many engines store these vectors in a vector database, which is optimized for similarity search.
Retrieval for RAG follows a fixed order from query to answer:
Domain 2 of 3
33 practice questions
Practice this DomainLast updated