Diagram
A seven-step process flow showing enterprise data converted to embeddings, stored in a vector database, searched by similarity, then added to a prompt for the Gemini model to produce a grounded response.
How Generative AI Understands User Input
An embedding is a numerical representation of data — text, images, or video — that captures relationships between different inputs. Embeddings are generated during training by converting content into arrays of floating-point numbers called vectors, which map data into a continuous vector space where closer proximity reflects similar meaning. This lets models recognize nuanced patterns and relationships that raw data would hide. Systems that use retrieval-augmented generation (RAG) rely on embeddings to match a user query with relevant knowledge: the query becomes an embedding, it is compared against the embeddings of documents in a knowledge base, and a similarity search retrieves the most semantically relevant information.
Domain 3 of 7
35 practice questions
Practice this DomainLast updated