Grounding overview

In generative AI, grounding is the ability to connect model output to verifiablesources of information. If you provide models with access to specific datasources, then grounding tethers their output to these data and reduces thechances of inventing content. This is particularly important in situations whereaccuracy and reliability are significant.

Grounding provides the following benefits:

  • Reduces model hallucinations, which are instances where the model generatescontent that isn't factual.
  • Anchors model responses to your data sources.
  • Provides auditability byproviding grounding support, which are links to sources.

You can ground supported-model output in Vertex AI in the following ways:

Grounding typeDescription
Grounding with Google SearchConnect your model to world knowledge and a wide possible range of topics using results from Google's search engine.
Grounding with Google MapsUse Google Maps data with your model to provide more accurate and context-aware responses to your prompts, including geospatial context.
Grounding with Vertex AI SearchUse retrieval-augmented generation (RAG) to connect your model to your website data or your sets of documents stored in Vertex AI Search.
Grounding with Vertex AI RAG EngineGround using your data through Vertex AI RAG Engine, which is a configurable managed RAG service.
Grounding with ElasticsearchUse retrieval-augmented generation with your existing Elasticsearch indexes and Gemini.
Grounding with your search APIConnect Gemini to your external data sources by grounding with any search API.
Web Grounding for EnterpriseUse a web index suitable for highly-regulated industries to generate grounded responses with compliance controls.
Grounding with Parallel web searchConnect Gemini to an LLM-optimized web index to use the most recent information from the web.

For language support, seeSupported languages for prompts.

What's next

  • To learn more about responsible AI best practices and Vertex AI'ssafety filters, seeResponsible AI.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.