docs-devsite/ai.webgroundingchunk.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
A grounding chunk from the web.
Important: If using Grounding with Google Search, you are required to comply with the Service Specific Terms for "Grounding with Google Search".
<b>Signature:</b>
export interface WebGroundingChunk
| Property | Type | Description |
|---|---|---|
| domain | string | The domain of the original URI from which the content was retrieved.<!-- -->This property is only supported in the Vertex AI Gemini API (VertexAIBackend<!-- -->). When using the Gemini Developer API (GoogleAIBackend<!-- -->), this property will be <code>undefined</code>. |
| title | string | The title of the retrieved web page. |
| uri | string | The URI of the retrieved web page. |
The domain of the original URI from which the content was retrieved.
This property is only supported in the Vertex AI Gemini API (VertexAIBackend<!-- -->). When using the Gemini Developer API (GoogleAIBackend<!-- -->), this property will be undefined<!-- -->.
<b>Signature:</b>
domain?: string;
The title of the retrieved web page.
<b>Signature:</b>
title?: string;
The URI of the retrieved web page.
<b>Signature:</b>
uri?: string;