GroundingChunk

public final class GroundingChunk


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

Summary

Public fields

final GoogleMapsGroundingChunk

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

final WebGroundingChunk

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

Public constructors

Public fields

maps

public final GoogleMapsGroundingChunk maps

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

web

public final WebGroundingChunk web

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

Public constructors

GroundingChunk

public GroundingChunk(WebGroundingChunk web, GoogleMapsGroundingChunk maps)