Table of Contents

Class GeminiRetrievalMetadata

Metadata related to retrieval in the grounding flow.

public class GeminiRetrievalMetadata
Inheritance
object
GeminiRetrievalMetadata
Extension Methods

Fields

GoogleSearchDynamicRetrievalScore

Score indicating how likely information from google search could help answer the prompt.

public float? GoogleSearchDynamicRetrievalScore

Field Value

float?

Remarks

The score is in the range [0, 1], 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.