Discovery Engine v1 API - Class GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor (1.6.0)

public sealed class GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor : IMessage<GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor>, IEquatable<GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor>, IDeepCloneable<GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor.

Describes the predictor settings for dynamic retrieval.

Inheritance

object > GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

DynamicRetrievalPredictor()

public DynamicRetrievalPredictor()

DynamicRetrievalPredictor(DynamicRetrievalPredictor)

public DynamicRetrievalPredictor(GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor other)
Parameter
Name Description
other GenerateGroundedContentRequestTypesDynamicRetrievalConfigurationTypesDynamicRetrievalPredictor

Properties

HasThreshold

public bool HasThreshold { get; }

Gets whether the "threshold" field is set

Property Value
Type Description
bool

Threshold

public float Threshold { get; set; }

The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source.

Property Value
Type Description
float

Version

public GenerateGroundedContentRequest.Types.DynamicRetrievalConfiguration.Types.DynamicRetrievalPredictor.Types.Version Version { get; set; }

The version of the predictor to be used in dynamic retrieval.

Property Value
Type Description
GenerateGroundedContentRequestTypesDynamicRetrievalConfigurationTypesDynamicRetrievalPredictorTypesVersion