groundingChunks

public abstract GroundingMetadata.Builder groundingChunks(List<GroundingChunk> groundingChunks)
@CanIgnoreReturnValue()
public GroundingMetadata.Builder groundingChunks(Array<GroundingChunk> groundingChunks)

Setter for groundingChunks.

groundingChunks: A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps.


@CanIgnoreReturnValue()
public GroundingMetadata.Builder groundingChunks(Array<GroundingChunk.Builder> groundingChunksBuilders)

Setter for groundingChunks builder.

groundingChunks: A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps.