MessageOutputSpelling

public struct MessageOutputSpelling : Codable, Equatable

Properties describing any spelling corrections in the user input that was received.

  • The user input text that was used to generate the response. If spelling autocorrection is enabled, this text reflects any spelling corrections that were applied.

    Declaration

    Swift

    public var text: String?
  • The original user input text. This property is returned only if autocorrection is enabled and the user input was corrected.

    Declaration

    Swift

    public var originalText: String?
  • Any suggested corrections of the input text. This property is returned only if spelling correction is enabled and autocorrection is disabled.

    Declaration

    Swift

    public var suggestedText: String?