GroundingChunk

classGroundingChunk


Represents a chunk of retrieved data that supports a claim in the model's response.

Summary

Public constructors

Public properties

WebGroundingChunk?

Contains details if the grounding chunk is from a web source.

Public constructors

GroundingChunk

GroundingChunk(web: WebGroundingChunk?)

Public properties

web

val webWebGroundingChunk?

Contains details if the grounding chunk is from a web source.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-09 UTC.