Grounding Chunk
A piece of evidence that supports a claim made by the model.
This is used to show a citation for a claim made by the model. When grounding is enabled, the model returns a `GroundingChunk` that contains a reference to the source of the information.
Properties
Functions
Link copied to clipboard
Instantiates a builder for GroundingChunk.
Link copied to clipboard
Deserializes a JSON string to a GroundingChunk object.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
A grounding chunk from an image search result.
Link copied to clipboard
A `Maps` chunk is a piece of evidence that comes from Google Maps.
Link copied to clipboard
Link copied to clipboard
A grounding chunk from a data source retrieved by a retrieval tool, such as Vertex AI Search.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
A grounding chunk from a web page, typically from Google Search.