RetrievalMetadataGoogleSearchDynamicRetrievalScore Property

Optional. Score indicating how likely information from google search could help answer the prompt. The score is in the range, where 0 is the least likely and 1 is the most likely. This score is only populated when google search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger google search.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public double? GoogleSearchDynamicRetrievalScore { get; set; }

Property Value

NullableDouble

See Also