GroundingChunk

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 constructors

Public properties

WebGroundingChunk?

Contains details if the grounding chunk is from a web source.

Public constructors

GroundingChunk

GroundingChunk(web: WebGroundingChunk?)

Public properties

web

val webWebGroundingChunk?

Contains details if the grounding chunk is from a web source.