Glossary · AI search
Grounding
Grounding is connecting an AI model's output to verifiable sources of information, such as live web search results or an organisation's own documents, so each answer can be traced back to a source. [1]
[01]
How it works
Google Cloud's documentation gives the general definition and lists several kinds: grounding with Google Search or Google Maps, search over your own website or documents, RAG Engine, Elasticsearch, your own search API, Web Grounding for Enterprise and Parallel web search. [1]
The benefits it lists are fewer hallucinations, answers anchored to your own data, and auditability through grounding support links back to the sources. [1]
In the Gemini API, Grounding with Google Search connects the model to real-time web content and works in all available languages. The model decides whether to search at all, and may run one query or several. [2]
Google's guide to AI features in Search also uses the term retrieval-augmented generation for how AI Overviews and AI Mode bring web pages into an answer. [3]
“grounding is the ability to connect model output to verifiable sources of information”
[02]
Example
A grounded Gemini API response (Generate Content API) carries the text answer plus groundingMetadata, which holds the search queries, the web results and the citations in four fields: [2]
- webSearchQueries
- The search queries linked to the cited sources, for attribution and debugging. Not a billing count. [2]
- searchEntryPoint
- HTML and CSS for the Search Suggestions the developer is required to show; the usage rules are in the Terms of Service. [2]
- groundingChunks
- The web sources, each with a uri and a title. [2]
- groundingSupports
- Links each segment of the answer text, by startIndex and endIndex, to one or more groundingChunkIndices. Google's doc calls this the key to building inline citations. [2]
[03]
Why it matters for a brand
In a grounded answer, sources are tied to specific parts of the text, and that link between a passage and its source is how inline citations are built. [2]
Google says its AI features in Search show prominent, clickable links to relevant web pages that support the information in the response. Whether a brand is also named in the text is a separate question: see AI mention rate and AI citation rate. [3]
[04]
How to measure or check it
Developers can read the grounding data directly: the queries in webSearchQueries, the sources in groundingChunks and the text-to-source links in groundingSupports. The newer Interactions API returns the same information as inline url_citation annotations, a google_search_call step with the queries and a google_search_result step with the suggestions HTML. Because the model may run extra queries during reasoning, the listed queries are not a complete record. [2]
In consumer products you see the end result, the cited links. Canlah AI counts one citation as one distinct URL within one answer, and publishes its rules. Its citation log holds 204 answers that recommended, listed or cited Canlah AI; it is a selection, not a rate.
[06]
Sources
Each statement on this page is followed by the number of its source. We paraphrase in our own words; the one quotation is marked.
- [1] Google Cloud documentation Grounding overview
- [2] Google AI for Developers (Gemini API docs) Grounding with Google Search
- [3] Google Search Central AI features and your website