MediaPipeTasksRetrieval Framework Reference

Enumerations

The following enumerations are available globally.

  • Text chunking strategy used when indexing documents in SemanticRetriever.

    Declaration

    Swift

    enum ChunkingMode : UInt, @unchecked Sendable
  • The hardware delegate to run MediaPipe. If not set, the default CPU delegate is used.

    Declaration

    Swift

    enum Delegate : UInt, @unchecked Sendable
  • Identifies the modality of a TaskPart.

    Declaration

    Swift

    enum TaskPartKind : UInt, @unchecked Sendable
  • Specifies error codes for errors thrown by the iOS MediaPipe Task Library.

    Declaration

    Swift

    enum TasksErrorCode : UInt, @unchecked Sendable