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.
Implements
IMessageRetrievalMetadata, IEquatableRetrievalMetadata, IDeepCloneableRetrievalMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
RetrievalMetadata()
public RetrievalMetadata()
RetrievalMetadata(RetrievalMetadata)
public RetrievalMetadata(RetrievalMetadata other)
Parameter | |
---|---|
Name | Description |
other |
RetrievalMetadata |
Properties
GoogleSearchDynamicRetrievalScore
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.
Property Value | |
---|---|
Type | Description |
float |