GroundingChunk

public final class GroundingChunk


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.

Summary

Public fields

final WebGroundingChunk

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)