Interface NluSettingsOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      • 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 Detail

      • getModelTypeValue

        int getModelTypeValue()
         Indicates the type of NLU model.
         
        .google.cloud.dialogflow.cx.v3.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.v3.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.
         
        float classification_threshold = 3;
        Returns:
        The classificationThreshold.
      • getModelTrainingModeValue

        int getModelTrainingModeValue()
         Indicates NLU model training mode.
         
        .google.cloud.dialogflow.cx.v3.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.v3.NluSettings.ModelTrainingMode model_training_mode = 4;
        Returns:
        The modelTrainingMode.