Diagram
A left-to-right process flow showing enterprise data indexed as embeddings, retrieved by similarity search, added to the prompt, and used by Gemini to generate a grounded answer.
How Retrieval Flows to Generation in an Enterprise
How retrieval flows to generation in an enterprise is an ordered chain from enterprise data to a grounded answer. First, the application connects the model to real-time data or an index of enterprise data. Then a search engine or vector database stores embeddings and performs similarity search to find content related to the user's question. Next, the retrieved content is added to the model prompt, and finally the model generates a response grounded in that information. If the data is not in a vector database, the application can query an existing database such as Cloud SQL or Firestore and place the query result in the prompt.
Domain 2 of 3
31 practice questions
Practice this DomainLast updated