Class DialogSuggestion

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.DialogSuggestion
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DialogSuggestion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
DialogSuggestion.
  • Constructor Details

    • DialogSuggestion

      public DialogSuggestion()
  • Method Details

    • getLabel

      public String getLabel()
      Gets the label.

      The user-facing label for the suggestion. This label is taken from the **title** or **user_label** property of the corresponding dialog node, depending on the disambiguation options.

      Returns:
      the label
    • getValue

      public DialogSuggestionValue getValue()
      Gets the value.

      An object defining the message input to be sent to the assistant if the user selects the corresponding disambiguation option.

      Returns:
      the value
    • getOutput

      public Map<String,​Object> getOutput()
      Gets the output.

      The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.

      Returns:
      the output