Provider Slug.
jina
Portkey SDK Integration with Jina AI Models
Portkey provides a consistent API to interact with models from various providers. To integrate Jina AI with Portkey:1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with Jina AI’s API through Portkey’s gateway.- NodeJS
- Python
2. Initialize Portkey with the Virtual Key
To use JinaAI with Portkey, get your API key from here, then add it to Portkey to create the virtual key.- NodeJS SDK
- Python SDK
3. Invoke Embeddings with Jina AI
Use the Portkey instance to send your embeddings requests to Jina AI. You can also override the virtual key directly in the API call if needed.- NodeJS SDK
- Python SDK
Using Jina AI Reranker Models
Portkey also supports the Reranker models by Jina AI through the REST API.- cURL