MediaPipeTasksText Framework Reference

TextSummarizerMode

enum TextSummarizerMode : Int, @unchecked Sendable

The summarization output mode for TextSummarizerOptions.

  • Generate a concise TLDR summary.

    Declaration

    Swift

    case tldr = 0
  • Generate bulleted key points.

    Declaration

    Swift

    case keyPoints = 1