public sealed class RetrievalMetadata : IMessage<RetrievalMetadata>, IEquatable<RetrievalMetadata>, IDeepCloneable<RetrievalMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class RetrievalMetadata.
Metadata related to retrieval in the grounding flow.
public float GoogleSearchDynamicRetrievalScore { get; set; }
Optional. Score indicating how likely information from Google Search could
help answer the prompt. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This page provides reference documentation for the `RetrievalMetadata` class within the Google Cloud AI Platform v1beta1 API, specifically for versions beta21 and beta20."],["`RetrievalMetadata` is designed to handle metadata related to retrieval processes in the grounding flow of the AI Platform."],["The class `RetrievalMetadata` inherits from `object` and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes a `GoogleSearchDynamicRetrievalScore` property which is a float value used to quantify the likelihood of Google Search results being able to answer a given prompt."],["The `RetrievalMetadata` class also includes two constructors, one with no parameters, and one which takes in another `RetrievalMetadata` object."]]],[]]