Azure Function App can't call Azure Open AI Studio

Magnus Vinterhav 0 Reputation points
2024-10-31T10:41:07.8233333+00:00

I am trying to call Azure OpenAI from a Function App, but no matter what I do it responds with 404. The function app is in region "North Europe", but the OpenAI resource is in "Western Europe". Does this matter? If not, what else could be the case? (I am calling the right endoint url for the openai api, from the model inside the open ai resource, and I am using the right key, found in the model). I don't know how to troubleshoot this. I hope I have provided enough information, but if not, please suggest further details to be added.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,069 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,033 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,185 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.