GroundingChunk

class GroundingChunk


Represents a chunk of retrieved data that supports a claim in the model's response.

Summary

Public constructors

Public properties

GoogleMapsGroundingChunk?

Contains details if the grounding chunk is from a Google Maps source.

WebGroundingChunk?

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

Public constructors

GroundingChunk

GroundingChunk(
    web: WebGroundingChunk? = null,
    maps: GoogleMapsGroundingChunk? = null
)

Public properties

maps

val mapsGoogleMapsGroundingChunk?

Contains details if the grounding chunk is from a Google Maps source.

web

val webWebGroundingChunk?

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