In generative AI, grounding is the ability to connect model output to verifiable sources of information. When you provide models with access to specific data sources, grounding connects their output to this data and reduces the chances of the model inventing content. This is particularly important in situations where accuracy and reliability are significant. Grounding provides the following benefits: You can ground a supported model's output in Vertex AI in the following ways: For language support, see Supported languages for prompts.
Grounding type
Description
Grounding with Google Search
You want to connect your model to world knowledge and a wide possible range of topics.
Grounding with Google Maps
You want to use Google Maps data with your model to provide more accurate and context-aware responses to your prompts.
Grounding Gemini to your data
You want to use retrieval-augmented generation (RAG) to connect your model to your website data or your sets of documents.
Grounding Gemini with Elasticsearch
You want to use retrieval-augmented generation with your existing
Elasticsearch indexes and Gemini.
Web Grounding for Enterprise
You want to use a web index to generate grounded responses.
What's next
Grounding overview
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-15 UTC.