Provider Slug.
ovhcloudUsing OVHcloud AI Endpoints with the AI Gateway
The AI Gateway provides a consistent API to interact with models from various providers. To integrate AI Endpoints with the AI Gateway:1. Install the OpenAI SDK
Add the OpenAI SDK to your application to interact with AI Endpoints’s API through the AI Gateway.- NodeJS
- Python
2. Initialize the AI Gateway 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.
3. Invoke Chat Completions with AI Endpoints
Use the AI Gateway instance to send requests to AI Endpoints.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, call thePOST /v1/prompts/{promptId}/completions endpoint to use it 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. The AI Gateway supports AI Endpoints Tool Calling and makes it interoperable across multiple providers. With AI Gateway Prompts, you can templatize various your prompts & tool schemas as well.Supported OVHcloud AI Endpoints Models with Tool Calling
- cURL
Get Weather Tool

