Cloud AI Platform v1 API - Class RetrievalMetadata (3.9.0)

public sealed class RetrievalMetadata : IMessage<RetrievalMetadata>, IEquatable<RetrievalMetadata>, IDeepCloneable<RetrievalMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class RetrievalMetadata.

Metadata related to retrieval in the grounding flow.

Inheritance

object > RetrievalMetadata

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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