Diagram

A sequence diagram with App/User, LLM (Gemini), and External Tool lifelines showing the six function-calling messages in order: provide functions, prompt, analyze and generate structured call, call function, return results, and final response. Animation moves dots along each arrow in order.
Personalized Search, Agents, and Tool Connections
Meaning-based search depends on embeddings and retrieval-augmented generation (RAG). An embedding is a numerical representation of text, image, or video as arrays of floating point numbers called vectors, where closer vectors mean similar meanings. The RAG retrieval flow runs in fixed order: first the user query is converted into an embedding, then the query embedding is compared with document embeddings in a knowledge base, then a similarity search retrieves the most relevant documents for the response. Function calling then connects large language models (LLMs) to external tools such as APIs, databases, and customer relationship management systems:
Domain 4 of 4
420 practice questions
Practice this DomainLast updated