Diagram
A process flow showing the four ordered steps of retrieval-augmented generation: the user query is converted into an embedding, compared against document embeddings in the knowledge base via similarity search, the most relevant passages are retrieved, and the model generates a grounded response returned to the user.
Grounding Answers with Retrieval and Live Tools
RAG depends on embeddings and vector search to match meaning rather than exact words. Embeddings are numerical representations of text, images, or video that capture relationships between inputs, stored as arrays of floating point numbers called vectors. The ordered RAG flow runs from user to knowledge base to model and back to the user:
Domain 3 of 4
417 practice questions
Practice this DomainLast updated