SummarizationOptions

public struct SummarizationOptions : Codable, Equatable

(Experimental) Returns a summary of content. Supported languages: English only.

  • Maximum number of summary sentences to return.

    Declaration

    Swift

    public var limit: Int?
  • Initialize a SummarizationOptions with member variables.

    Declaration

    Swift

    public init(
        limit: Int? = nil
    )

    Parameters

    limit

    Maximum number of summary sentences to return.

    Return Value

    An initialized SummarizationOptions.