Interface NluSettingsOrBuilder (0.23.0)

public interface NluSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassificationThreshold()

public abstract float getClassificationThreshold()

To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.

float classification_threshold = 3;

Returns
Type Description
float

The classificationThreshold.

getModelTrainingMode()

public abstract NluSettings.ModelTrainingMode getModelTrainingMode()

Indicates NLU model training mode.

.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode model_training_mode = 4;

Returns
Type Description
NluSettings.ModelTrainingMode

The modelTrainingMode.

getModelTrainingModeValue()

public abstract int getModelTrainingModeValue()

Indicates NLU model training mode.

.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode model_training_mode = 4;

Returns
Type Description
int

The enum numeric value on the wire for modelTrainingMode.

getModelType()

public abstract NluSettings.ModelType getModelType()

Indicates the type of NLU model.

.google.cloud.dialogflow.cx.v3.NluSettings.ModelType model_type = 1;

Returns
Type Description
NluSettings.ModelType

The modelType.

getModelTypeValue()

public abstract int getModelTypeValue()

Indicates the type of NLU model.

.google.cloud.dialogflow.cx.v3.NluSettings.ModelType model_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for modelType.