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 Your AI Provider
Navigate to the OVHcloud control panel, inPublic Cloud > AI & Machine Learning > AI Endpoints > API key. Add it to Model Catalog to get your AI Provider slug.
- NodeJS SDK
- Python SDK
3. Invoke Chat Completions with AI Endpoints
Use the Portkey instance to send requests to AI Endpoints.- 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

