How to deploy a working model in from playground?

Lorentz Yeung 35 Reputation points
2024-10-14T21:56:26.9366667+00:00

Hi everyone, i am trying to deploy a simple webapp, but it is "Application Error" after deployment.

My deployment test is simple. I go to playground, pick a llm model, then hit the Deploy button at the top row. Use the default setup throughout the processes, then after a few minutes, it is done and the blue "Launch" button is available to click.

I clicked it, but it is an error page as follow.

i have read this article. https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio
there isn't much after telling us to deploy.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,081 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 33,071 Reputation points Volunteer Moderator
    2024-10-14T23:03:51.82+00:00

    I think the error is commonly related to the configuration of your Azure App Service or the startup command being missing or incorrect.

    Some hints to help you fix it as you didn't share engough info :

    1. Navigate to the App Service resource in the Azure portal. Under Monitoring, you should see an option for "Log Stream" or "Application Insights". Check these logs to see if any errors are shown, particularly around missing packages or incorrect configurations.
    2. Ensure that the correct startup command is set. If your app uses Python, for instance, you may need to specify a command like python3 -m gunicorn main:app. You can check this in the General Settings under Configuration in your App Service. If the command is missing or incorrect, the app will fail to start properly.
    3. There could be transient issues with the region you selected or conflicts with existing resources. Try redeploying the app in a different region or resource group if possible.
    4. Azure OpenAI Studio has had some recent known issues regarding web app deployment. Azure team is working on fixes, but as a workaround, using manual deployment commands like az webapp up could be a solution.

    If none of these steps work, you might need to open support ticket with Azure to investigate further.

    Some links to help you :

    https://learn.microsoft.com/en-us/answers/questions/1700026/not-able-to-deploy-web-app-from-the-azure-openai-p

    https://learn.microsoft.com/en-us/answers/questions/2068638/unable-to-deploy-web-app-from-ai-studio-chat-playg

    https://learn.microsoft.com/en-us/answers/questions/2089193/in-azure-open-ai-studio-web-app-deployment-not-wor


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.