Interface NluSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NluSettings, NluSettings.Builder

@Generated public interface NluSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    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.
    Indicates NLU model training mode.
    int
    Indicates NLU model training mode.
    Indicates the type of NLU model.
    int
    Indicates the type of NLU model.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getModelTypeValue

      int getModelTypeValue()
       Indicates the type of NLU model.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
      Returns:
      The enum numeric value on the wire for modelType.
    • getModelType

      NluSettings.ModelType getModelType()
       Indicates the type of NLU model.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelType model_type = 1;
      Returns:
      The modelType.
    • getClassificationThreshold

      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. You can set a separate classification
       threshold for the flow in each language enabled for the agent.
       
      float classification_threshold = 3;
      Returns:
      The classificationThreshold.
    • getModelTrainingModeValue

      int getModelTrainingModeValue()
       Indicates NLU model training mode.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
      Returns:
      The enum numeric value on the wire for modelTrainingMode.
    • getModelTrainingMode

      NluSettings.ModelTrainingMode getModelTrainingMode()
       Indicates NLU model training mode.
       
      .google.cloud.dialogflow.cx.v3beta1.NluSettings.ModelTrainingMode model_training_mode = 4;
      Returns:
      The modelTrainingMode.