Configure Azure AI resource

Hello,

I'm trying to setup Azure AI as an AI resource in selfhosted 3.75.10, but apparantly I'm doing something wrong. I keep getting an error "Resource not found" when I try to query from an app.

The Retool documentations is a bit different from the actual config screen.
What I've done so far:

  • Created Azure AI resource in Azure
  • Deployed a model in Azure AI studio based on gpt-4o-mini
  • Try to configure Azure AI in Retool in bot production and staging, added the API key in Retool.
  • As an endpoint I've used the endpoint shown in the model deployment. Tried both the full url and the base url
  • Deployment name is the name of the model deployment in Azure studio?
    image

So ending up with this:
image

But when I query from the app, I get:
image

What am I missing or doing wrong?
Thanks.

Hey @mbruijnpff! Thanks for reaching out.

It looks like your request to Azure is correctly authenticated, but isn't pathing to an existing resource. I'm pretty sure the Endpoint input in the resource configuration should just be the base domain - https://retool.openai.azure.com, for example. Do you get a similar error when it's configured as such?

Hi Darren,

I already tried that, but wasn't working. Just tried it again and it appears I should have get rid of the trailing slash. Now it is working. Thanks.

1 Like