DialogSuggestionValue
public struct DialogSuggestionValue : Codable, Equatable
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.
-
An input object that includes the input text.
Declaration
Swift
public var input: MessageInput? -
An array of intents to be sent along with the user input.
Declaration
Swift
public var intents: [RuntimeIntent]? -
An array of entities to be sent along with the user input.
Declaration
Swift
public var entities: [RuntimeEntity]? -
Initialize a
DialogSuggestionValuewith member variables.Declaration
Swift
public init( input: MessageInput? = nil, intents: [RuntimeIntent]? = nil, entities: [RuntimeEntity]? = nil )Parameters
inputAn input object that includes the input text.
intentsAn array of intents to be sent along with the user input.
entitiesAn array of entities to be sent along with the user input.
Return Value
An initialized
DialogSuggestionValue.
View on GitHub
DialogSuggestionValue Structure Reference