Jina AI
Portkey provides a robust and secure gateway to facilitate the integration of various models into your applications, including Jina AI embedding & reranker models.
With Portkey, you can take advantage of features like fast AI gateway access, observability, and more, all while ensuring the secure management of your API keys through a virtual key system.
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.
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.
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.
Using Jina AI Reranker Models
Portkey also supports the Reranker models by Jina AI through the REST API.
Supported Models
Portkey works with all the embedding & reranker models offered by Jina AI. You can browse the full list of Jina AI models here.
Next Steps
The complete list of features supported in the SDK are available on the link below.
SDK
You’ll find more information in the relevant sections:
Was this page helpful?