Text Embedding Models
Jina embeddings are used to generate embeddings for text and image data. You also need to set theJINA_API_KEY environment variable to use the Jina API.
You can find a list of supported models under https://jina.ai/embeddings/
Supported parameters (to be passed in create method) are:
Usage Example:
Replace
your-api-key with your Jina API key. This provider reads it from JINA_API_KEY; the example sets it explicitly. In application code, supply it through your environment or a secrets manager.
Multimodal Embedding Models
Jina embeddings can also be used to embed both text and image data, only some of the models support image data and you can check the list under https://jina.ai/embeddings/ Supported parameters (to be passed increate method) are:
Usage Example: