GroundingChunk interface
Stay organized with collections
Save and categorize content based on your preferences.
Represents a chunk of retrieved data that supports a claim in the model's response. This is part of the grounding information provided when grounding is enabled.
Signature:
export interface GroundingChunk
Properties
Property |
Type |
Description |
web |
WebGroundingChunk |
Contains details if the grounding chunk is from a web source. |
GroundingChunk.web
Contains details if the grounding chunk is from a web source.
Signature:
web?: WebGroundingChunk;
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-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["Represents a chunk of retrieved data that supports a claim in the model's response. This is part of the grounding information provided when grounding is enabled.\n\n**Signature:** \n\n export interface GroundingChunk \n\nProperties\n\n| Property | Type | Description |\n|-------------------------------------------------|----------------------------------------------------------------------------|---------------------------------------------------------------|\n| [web](./ai.groundingchunk.md#groundingchunkweb) | [WebGroundingChunk](./ai.webgroundingchunk.md#webgroundingchunk_interface) | Contains details if the grounding chunk is from a web source. |\n\nGroundingChunk.web\n\nContains details if the grounding chunk is from a web source.\n\n**Signature:** \n\n web?: WebGroundingChunk;"]]