MessageOutput

public struct MessageOutput : Codable, Equatable

Assistant output to be rendered or processed by the client.

  • Output intended for any channel. It is the responsibility of the client application to implement the supported response types.

    Declaration

    Swift

    public var generic: [RuntimeResponseGeneric]?
  • An array of intents recognized in the user input, sorted in descending order of confidence.

    Declaration

    Swift

    public var intents: [RuntimeIntent]?
  • An array of entities identified in the user input.

    Declaration

    Swift

    public var entities: [RuntimeEntity]?
  • An array of objects describing any actions requested by the dialog node.

    Declaration

    Swift

    public var actions: [DialogNodeAction]?
  • Additional detailed information about a message response and how it was generated.

    Declaration

    Swift

    public var debug: MessageOutputDebug?
  • An object containing any custom properties included in the response. This object includes any arbitrary properties defined in the dialog JSON editor as part of the dialog node output.

    Declaration

    Swift

    public var userDefined: [String : JSON]?
  • Properties describing any spelling corrections in the user input that was received.

    Declaration

    Swift

    public var spelling: MessageOutputSpelling?