ClassificationsOptions

public struct ClassificationsOptions : Codable, Equatable

Returns text classifications for the content. Supported languages: English only.

  • Enter a custom model ID of the classification model to be used.

    Declaration

    Swift

    public var model: String?
  • Initialize a ClassificationsOptions with member variables.

    Declaration

    Swift

    public init(
        model: String? = nil
    )

    Parameters

    model

    Enter a custom model ID of the classification model to be used.

    Return Value

    An initialized ClassificationsOptions.