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 %} # GroundingChunk interface 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: ```typescript export interface GroundingChunk ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [maps](./ai.groundingchunk.md#groundingchunkmaps) | [GoogleMapsGroundingChunk](./ai.googlemapsgroundingchunk.md#googlemapsgroundingchunk_interface) | Contains details if the grounding chunk is from a Google Maps source. | | [web](./ai.groundingchunk.md#groundingchunkweb) | [WebGroundingChunk](./ai.webgroundingchunk.md#webgroundingchunk_interface) | Contains details if the grounding chunk is from a web source. | ## GroundingChunk.maps Contains details if the grounding chunk is from a Google Maps source. Signature: ```typescript maps?: GoogleMapsGroundingChunk; ``` ## GroundingChunk.web Contains details if the grounding chunk is from a web source. Signature: ```typescript web?: WebGroundingChunk; ```