i see this curl --location 'https://api.
# general-english
g
i see this curl --location 'https://api.vapi.ai/credential' \ --header 'authorization: Bearer YOUR_API_KEY_HERE' \ --header 'content-type: application/json' \ --data '{ "provider": "azure-openai", "models": [ "gpt-4o-2024-08-06" ], "region": "YOUR_REGION", "openAIEndpoint": "YOUR_ENDPOINT", "openAIKey": "YOUR_API_KEY" }' but also something different provided by the bot, saying that the model should match whats available on vapi dropdown or whatever, can anyone PROVIDE A CLEAR EXAMPLE 🙂 thanks
k
Use only model names currently supported by Vapi in your Azure OpenAI credential setup, and ensure your region, openAIEndpoint, and openAIKey match your Azure configuration to avoid errors.
g
The models in the changelog, are not the ones in the dropdown.
Of vapi site.. can you give an example of a proper model name for 4.1
k
The proper model name is gpt 4.1
g
is the endpoint still up to api-version= or how is it now?
@Kings_big💫
k
Vapi API doesn’t require an api-version in the URL or query, just use the base URL https://api.vapi.ai as versioning isn’t currently enforced.
g
the azure endpoint..
openAIEndpoint
3 Views