MessageInputOptionsStateless
public struct MessageInputOptionsStateless : Codable, Equatable
Optional properties that control how the assistant responds.
-
Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. Note: This does not affect
turn_countor any other context variables.Declaration
Swift
public var restart: Bool? -
Whether to return more than one intent. Set to
trueto return all matching intents.Declaration
Swift
public var alternateIntents: Bool? -
Spelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.
Declaration
Swift
public var spelling: MessageInputOptionsSpelling? -
Whether to return additional diagnostic information. Set to
trueto return additional information in theoutput.debugproperty.Declaration
Swift
public var debug: Bool? -
Initialize a
MessageInputOptionsStatelesswith member variables.Declaration
Swift
public init( restart: Bool? = nil, alternateIntents: Bool? = nil, spelling: MessageInputOptionsSpelling? = nil, debug: Bool? = nil )Parameters
restartWhether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. Note: This does not affect
turn_countor any other context variables.alternateIntentsWhether to return more than one intent. Set to
trueto return all matching intents.spellingSpelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.
debugWhether to return additional diagnostic information. Set to
trueto return additional information in theoutput.debugproperty.Return Value
An initialized
MessageInputOptionsStateless.
View on GitHub
MessageInputOptionsStateless Structure Reference