GroundingMetadata
data class GroundingMetadata(val imageSearchQueries: List<String>? = null, val groundingChunks: List<GroundingChunk>? = null, val groundingSupports: List<GroundingSupport>? = null, val webSearchQueries: List<String>? = null, val retrievalQueries: List<String>? = null, val searchEntryPoint: SearchEntryPoint? = null, val retrievalMetadata: RetrievalMetadata? = null)
Metadata returned to client when grounding is enabled.
Constructors
Link copied to clipboard
constructor(imageSearchQueries: List<String>? = null, groundingChunks: List<GroundingChunk>? = null, groundingSupports: List<GroundingSupport>? = null, webSearchQueries: List<String>? = null, retrievalQueries: List<String>? = null, searchEntryPoint: SearchEntryPoint? = null, retrievalMetadata: RetrievalMetadata? = null)
Properties
Link copied to clipboard
The cited source chunks that ground the response.
Link copied to clipboard
Maps response segments to the grounding chunks that support them.
Link copied to clipboard
The image search queries used to retrieve grounding sources.
Link copied to clipboard
Metadata about the retrieval step.
Link copied to clipboard
The retrieval queries used to retrieve grounding sources.
Link copied to clipboard
The Google Search entry point for rendering search suggestions.
Link copied to clipboard
The web search queries used to retrieve grounding sources.