confidenceScores property

List<double>? confidenceScores
getter/setter pair

Confidence score of the support references.

Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored.

Implementation

core.List<core.double>? confidenceScores;