Not able to add Azure OpenAI Credentials
# support
t
When i add my OpenAI endpoint and the API key this is the error i receive. I have double checked my deployement for the location and other stuff but i'm still receiving the same error Error in Saving Credentials
s
can you share a loom video showing the error and parallely opening console log, inside inspect elements of the web browser.
browser -> right click on dashboard screen -> inspect -> console
t
Here you go
My deployment is already active on azure and it works properly as i've already tested it out
j
Does your deployment name match the model
t
Yeah it is
I'm still wondering what the issue is out here. I can test the same inside the playground and it's working alright
j
Hmm and you are taking the openAI endpoint URL from the page in azure where it shows key 1 & key 2? Have you tried both key 1 and key2 for the API key
t
Nope i am taking it from the playground, when you click on view code. You get the open ai endpoint URL and the API key
j
Okay those are correct. Your deployment name should be gpt-4o-2024-05-13 Other than that I can't help unfortunately
t
Alright I'll delete this and try with the new deployment name Okay thankyou for this
Does it require to be deployed as a REST API inside of the API Management Service??
j
No, it should work by default
t
Gotcha
Also one more thing, how can i use the azure openai model for an assistant as i can't find that in the dropdown menu, just wondering how would this work??
j
For Vapi dashboard You would use openAI gpt4o cluster, and it should use your azure deployment.
When using vapis API for calls you would use: "provider": "openai", "model": "gpt-4o-2024-05-13"
t
Okay got it. Thankyou i appreciate it
I've got my deployment configured now by creating a new one with the same deployment name as you mentioned
j
Great glad it's working
4 Views