Grounding Chunk
@Serializable
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.
Constructors
Link copied to clipboard
constructor(image: GroundingChunkImage? = null, maps: GroundingChunkMaps? = null, retrievedContext: GroundingChunkRetrievedContext? = null, web: GroundingChunkWeb? = null)
Properties
Link copied to clipboard
A grounding chunk from an image search result. See the Image message for details.
Link copied to clipboard
A Maps chunk is a piece of evidence that comes from Google Maps.
Link copied to clipboard
A grounding chunk from a data source retrieved by a retrieval tool, such as Vertex AI Search. See the RetrievedContext message for details
Link copied to clipboard
A grounding chunk from a web page, typically from Google Search. See the Web message for details.