Interface GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder (0.49.0)

public static interface GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getThreshold()

public abstract float getThreshold()

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

optional float threshold = 2;

Returns
Type Description
float

The threshold.

getVersion()

public abstract GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version getVersion()

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

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;

Returns
Type Description
GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version

The version.

getVersionValue()

public abstract int getVersionValue()

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

.google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.DynamicRetrievalConfiguration.DynamicRetrievalPredictor.Version version = 1;

Returns
Type Description
int

The enum numeric value on the wire for version.

hasThreshold()

public abstract boolean hasThreshold()

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

optional float threshold = 2;

Returns
Type Description
boolean

Whether the threshold field is set.