GroundingMetadata

@Serializable
data class GroundingMetadata(val searchEntryPoint: SearchEntryPoint? = null, val webSearchQueries: List<String> = emptyList(), val groundingChunks: List<GroundingChunk> = emptyList(), val groundingSupports: List<GroundingSupport> = emptyList())

Metadata returned to the client when grounding is enabled.

Constructors

Link copied to clipboard
constructor(searchEntryPoint: SearchEntryPoint? = null, webSearchQueries: List<String> = emptyList(), groundingChunks: List<GroundingChunk> = emptyList(), groundingSupports: List<GroundingSupport> = emptyList())

Properties

Link copied to clipboard

Optional. List of supporting references retrieved from specified grounding sources.

Link copied to clipboard

Optional. List of grounding support.

Link copied to clipboard

Optional. Google search entry for the following-up web searches.

Link copied to clipboard
val webSearchQueries: List<String>

Optional. Web search queries for the following-up web searches.