Class DialogSuggestion

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.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.
  • Method Details

    • newBuilder

      public DialogSuggestion.Builder newBuilder()
      New builder.
      Returns:
      a DialogSuggestion builder
    • label

      public String label()
      Gets the label.

      The user-facing label for the disambiguation option. This label is taken from the **title** or **user_label** property of the corresponding dialog node.

      Returns:
      the label
    • value

      public DialogSuggestionValue value()
      Gets the value.

      An object defining the message input, intents, and entities to be sent to the Watson Assistant service if the user selects the corresponding disambiguation option.

      Returns:
      the value
    • output

      public Map<String,​Object> output()
      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
    • dialogNode

      public String dialogNode()
      Gets the dialogNode.

      The unique ID of the dialog node that the **label** property is taken from. The **label** property is populated using the value of the dialog node's **title** or **user_label** property.

      Returns:
      the dialogNode