public interface NluSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
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.
|
NluSettings.ModelTrainingMode |
getModelTrainingMode()
Indicates NLU model training mode.
|
int |
getModelTrainingModeValue()
Indicates NLU model training mode.
|
NluSettings.ModelType |
getModelType()
Indicates the type of NLU model.
|
int |
getModelTypeValue()
Indicates the type of NLU model.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getModelTypeValue()
Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3.NluSettings.ModelType model_type = 1;NluSettings.ModelType getModelType()
Indicates the type of NLU model.
.google.cloud.dialogflow.cx.v3.NluSettings.ModelType model_type = 1;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;int getModelTrainingModeValue()
Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode model_training_mode = 4;
NluSettings.ModelTrainingMode getModelTrainingMode()
Indicates NLU model training mode.
.google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode model_training_mode = 4;
Copyright © 2022 Google LLC. All rights reserved.