googleSearchDynamicRetrievalScore property

double? googleSearchDynamicRetrievalScore
getter/setter pair

A score indicating how likely it is that a Google Search query could help answer the prompt.

The score is in the range of [0, 1]. A score of 1 means the model is confident that a search will be helpful, and 0 means it is not. This score is populated only when Google Search grounding and dynamic retrieval are enabled. The score is used to determine whether to trigger a search.

Optional.

Implementation

core.double? googleSearchDynamicRetrievalScore;