confidenceScores property

List<double>? confidenceScores
getter/setter pair

The confidence scores for the support references.

This list is parallel to the grounding_chunk_indices list. A score is a value between 0.0 and 1.0, with a higher score indicating a higher confidence that the reference supports the claim. For Gemini 2.0 and before, this list has the same size as grounding_chunk_indices. For Gemini 2.5 and later, this list is empty and should be ignored.

Implementation

core.List<core.double>? confidenceScores;