# Protocols

The following declarations are available globally.
- `
  ### [EmbeddingProvider](https://developers.google.com/edge/api/mediapipe/swift/text/Protocols/EmbeddingProvider.md.txt)

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

  #### Declaration

  Swift

      protocol EmbeddingProvider: NSObjectProtocol