Discovery Engine v1 API - Class GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata (1.5.0)

public sealed class GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata : IMessage<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata>, IEquatable<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata>, IDeepCloneable<GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata.

Describes the metadata about the dynamic retrieval predictor.

Inheritance

object > GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

DynamicRetrievalPredictorMetadata()

public DynamicRetrievalPredictorMetadata()

DynamicRetrievalPredictorMetadata(DynamicRetrievalPredictorMetadata)

public DynamicRetrievalPredictorMetadata(GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata other)
Parameter
Name Description
other GenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesDynamicRetrievalPredictorMetadata

Properties

HasPrediction

public bool HasPrediction { get; }

Gets whether the "prediction" field is set

Property Value
Type Description
bool

Prediction

public float Prediction { get; set; }

The value of the predictor. This should be between [0, 1] where a value of 0 means that the query would not benefit from grounding, while a value of 1.0 means that the query would benefit the most. In between values allow to differentiate between different usefulness scores for grounding.

Property Value
Type Description
float

Version

public GenerateGroundedContentResponse.Types.Candidate.Types.GroundingMetadata.Types.DynamicRetrievalPredictorMetadata.Types.Version Version { get; set; }

The version of the predictor which was used in dynamic retrieval.

Property Value
Type Description
GenerateGroundedContentResponseTypesCandidateTypesGroundingMetadataTypesDynamicRetrievalPredictorMetadataTypesVersion