使用“使用 Google 搜索建立依据”时,它会将 Google 模型连接到互联网。由于没有建立依据的生成式 AI 模型的回答会根据学习的模式被视为新内容,因此您不会获得特定于时间的真实回答,例如在提示中询问天气预报情况。由于通过互联网,您可以访问现有信息和新信息,因此,一个有依据的提示可以为您提供细致且具体的提示回答,几乎没有错误,并引用来源。
使用 Google 搜索建立依据支持动态检索,让您可以选择仅在必要时使用 Google 搜索生成接地结果。因此,动态检索配置会评估提示是否需要了解近期活动,并启用“依托 Google 搜索进行接地”功能。如需了解详情,请参阅动态检索。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-25。"],[],[],null,["# Grounding overview\n\n| To see an example of grounding,\n| run the \"Intro to grounding\" notebook in one of the following\n| environments:\n|\n| [Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/generative-ai/blob/main/gemini/grounding/intro-grounding-gemini.ipynb)\n|\n|\n| \\|\n|\n| [Open in Colab Enterprise](https://console.cloud.google.com/vertex-ai/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fgenerative-ai%2Fmain%2Fgemini%2Fgrounding%2Fintro-grounding-gemini.ipynb)\n|\n|\n| \\|\n|\n| [Open\n| in Vertex AI Workbench](https://console.cloud.google.com/vertex-ai/workbench/deploy-notebook?download_url=https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fgenerative-ai%2Fmain%2Fgemini%2Fgrounding%2Fintro-grounding-gemini.ipynb)\n|\n|\n| \\|\n|\n[View on GitHub](https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/grounding/intro-grounding-gemini.ipynb) \n\nIn generative AI, grounding is the ability to connect model output to verifiable\nsources of information. If you provide models with access to specific data\nsources, then grounding tethers their output to these data and reduces the\nchances of inventing content. This is particularly important in situations where\naccuracy and reliability are significant.\n\nGrounding provides the following benefits:\n\n- Reduces model hallucinations, which are instances where the model generates content that isn't factual.\n- Anchors model responses to your data sources.\n- Provides auditability by providing grounding support, which are links to sources.\n\nYou can ground supported-model output in Vertex AI in the following ways:\n\nFor language support, see\n[Supported languages for prompts](/gemini/docs/codeassist/supported-languages#supported_languages_for_prompts).\n\nWhat's next\n-----------\n\n- To learn more about responsible AI best practices and Vertex AI's safety filters, see [Responsible AI](/vertex-ai/generative-ai/docs/learn/responsible-ai).\n- To ground with your Google Search API, see [Grounding with\n Google Search\n API](/vertex-ai/generative-ai/docs/grounding/grounding-with-google-search-api)."]]