MediaPipeTasksRetrieval Framework Reference

Protocols

The following declarations are available globally.

  • Protocol for generating embeddings across different modalities using task content parts.

    Declaration

    Swift

    protocol EmbeddingProvider : NSObjectProtocol
  • A protocol that users can implement to supply their own custom text chunker.

    Declaration

    Swift

    protocol TextChunker : NSObjectProtocol
  • A protocol that defines the storage backend for semantic retriever.

    Declaration

    Swift

    protocol VectorStore : NSObjectProtocol