Class RetrievalMetadata
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Metadata related to retrieval in the grounding flow.
public class RetrievalMetadata
- Inheritance
-
RetrievalMetadata
- Inherited Members
- Extension Methods
Properties
GoogleSearchDynamicRetrievalScore
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.
[JsonPropertyName("googleSearchDynamicRetrievalScore")]
public double? GoogleSearchDynamicRetrievalScore { get; set; }