api call hitting api request time out error in azure app service

Abeera Rauf 10 Reputation points
2024-11-01T16:42:54.4666667+00:00

On my Azure account, I'm using the OpenAI GPT-4 API within an application built with Azure App Service. I’m encountering an issue where the API returns a timeout error after every 2 to 4 messages. However, when I use the same API calls in an Azure ML Studio notebook without App Service, the calls work fine without timeouts. Could you help me identify the root cause of this? Is it related to API latency with the latest GPT-4 model, or is there something specific to App Service impacting the API response times?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
{count} votes

Your answer

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