GroundingChunk

public final classGroundingChunk


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

Summary

Public fields

finalWebGroundingChunk

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

Public constructors

Public fields

web

public final WebGroundingChunk web

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

Public constructors

GroundingChunk

public GroundingChunk(WebGroundingChunk web)

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.