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_count or any other context variables.

    Declaration

    Swift

    public var restart: Bool?
  • Whether to return more than one intent. Set to true to 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 true to return additional information in the output.debug property.

    Declaration

    Swift

    public var debug: Bool?
  • Initialize a MessageInputOptionsStateless with member variables.

    Declaration

    Swift

    public init(
        restart: Bool? = nil,
        alternateIntents: Bool? = nil,
        spelling: MessageInputOptionsSpelling? = nil,
        debug: Bool? = nil
    )

    Parameters

    restart

    Whether to restart dialog processing at the root of the dialog, regardless of any previously visited nodes. Note: This does not affect turn_count or any other context variables.

    alternateIntents

    Whether to return more than one intent. Set to true to return all matching intents.

    spelling

    Spelling correction options for the message. Any options specified on an individual message override the settings configured for the skill.

    debug

    Whether to return additional diagnostic information. Set to true to return additional information in the output.debug property.

    Return Value

    An initialized MessageInputOptionsStateless.