GroundingChunk

@Serializable
data class GroundingChunk(val web: GroundingChunkWeb? = null, val retrievedContext: GroundingChunkRetrievedContext? = null)

A single cited source chunk that grounds part of the model's response.

Constructors

Link copied to clipboard
constructor(web: GroundingChunkWeb? = null, retrievedContext: GroundingChunkRetrievedContext? = null)

Properties

Link copied to clipboard

A chunk sourced from a retrieval (RAG) context.

Link copied to clipboard
val web: GroundingChunkWeb? = null

A chunk sourced from the open web.