ClassifyInput

public struct ClassifyInput : Codable, Equatable

Request payload to classify.

  • The submitted phrase. The maximum length is 2048 characters.

    Declaration

    Swift

    public var text: String
  • Initialize a ClassifyInput with member variables.

    Declaration

    Swift

    public init(
        text: String
    )

    Parameters

    text

    The submitted phrase. The maximum length is 2048 characters.

    Return Value

    An initialized ClassifyInput.