Provider Slug.
ovhcloudPortkey SDK Integration with OVHcloud AI Endpoints Models
Portkey provides a consistent API to interact with models from various providers. To integrate AI Endpoints with Portkey:1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with AI Endpoints’s API through Portkey’s gateway.- NodeJS
- Python
2. Initialize Portkey with the Virtual Key
To use AI Endpoints with Portkey, navigate to OVHcloud control panel, in thePublic Cloud section, then in AI & Machine Learning in AI Endpoints > API key. You can then add it to Portkey to create the virtual key.
- NodeJS SDK
- Python SDK
3. Invoke Chat Completions with AI Endpoints
Use the Portkey instance to send requests to AI Endpoints. You can also override the virtual key directly in the API call if needed.- NodeJS SDK
- Python SDK
Managing OVHcloud AI Endpoints Prompts
You can manage all prompts to AI Endpoints in the Prompt Library. All the current models of AI Endpoints are supported and you can easily start testing different prompts. Once you’re ready with your prompt, you can use theportkey.prompts.completions.create interface to use the prompt in your application.
AI Endpoints Tool Calling
Tool calling feature lets models trigger external tools based on conversation context. You define available functions, the model chooses when to use them, and your application executes them and returns results. Portkey supports AI Endpoints Tool Calling and makes it interoperable across multiple providers. With Portkey Prompts, you can templatize various your prompts & tool schemas as well.Supported OVHcloud AI Endpoints Models with Tool Calling
- Node.js
- Python
- cURL
- Portkey Prompts
Get Weather Tool

