Skip to main content
The JinaEmbedder class is used to embed text data into vectors using the Jina AI API. You can get started with Jina AI here. Get your API key.

Usage

jina_embedder.py

Advanced Usage

Params

Features

  • Async Support: Full async/await support for better performance in concurrent applications
  • Batch Processing: Efficient batch processing of multiple texts with configurable batch size
  • Late Chunking: Support for Jina’s late chunking optimization technique
  • Flexible Output: Multiple embedding formats (float, base64, int8)
  • Usage Tracking: Get detailed usage information for API calls
  • Error Handling: Robust error handling with fallback mechanisms

Developer Resources