Provider Slug: voyage
Portkey SDK Integration with Voyage
Portkey provides a consistent API to interact with models from Voyage. To integrate Voyage with Portkey:1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with Voyage AI’s models through Portkey’s gateway.- NodeJS
- Python
2. Initialize Portkey with the API Key
To use Voyage with Portkey, get your API key from here, then add it to Portkey to create the virtual key.- NodeJS SDK
- Python SDK
Embeddings
Embedding endpoints are natively supported within Portkey like this:- NodeJS
- Python SDK
Re-ranking
You can use Voyage reranking theportkey.post
method with the body expected by Voyage
- NodeJS SDK
- Python SDK
Next Steps
The complete list of features supported in the SDK is available on the link below.SDK
Explore the SDK documentation