DialogSuggestion

public struct DialogSuggestion : Codable, Equatable

DialogSuggestion.

  • 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.

    Declaration

    Swift

    public var label: String
  • An object defining the message input to be sent to the assistant if the user selects the corresponding disambiguation option.

    Declaration

    Swift

    public var value: DialogSuggestionValue
  • The dialog output that will be returned from the Watson Assistant service if the user selects the corresponding option.

    Declaration

    Swift

    public var output: [String : JSON]?