How you are supposed to deploy this s**t?
Not much to say or provide as of the bug report template, You run the "azd up" and it doesn't work.
Not much to write, you can see all here
It doesn't deploy. Doesn't matter if you have a fresh new AI Studio Hub or you already deployed the resources (in the hope it worked) and set everything in the .env file.
Just for reference my .env looks like this (fake names/ids):
AZURE_ENV_NAME="azure-search-openai-demo-csharp" AZURE_LOCATION="southcentralus" AZURE_OPENAI_CHATGPT_DEPLOYMENT="gpt-35-turbo" AZURE_OPENAI_RESOURCE_GROUP="rg-mynameai" AZURE_OPENAI_SERVICE="ai-myname_ai" AZURE_SUBSCRIPTION_ID="12345-1234-1234-1234-1234556788" SERVICE_WEB_RESOURCE_EXISTS="false"
How to deploy this thing
Azure OpenAI is not available in every location, that's where the complexity come from. For example it's not available in "sourthcentralus". Please check the doc for azure openai availability from time to time as it change fast. Also you need to pay attention to the model version as well. The default gpt model used in this example is gpt-35-turbo-0613, so if you want to deploy to westus, you need to change the version to 1106.
I read the sub-thread you posted above and it seems that you are trying to deploy azure openai to a location where the template doesn't allow despite the error details clearly indicated in the log you shared. I just pasted one of the error message you put under that thread, it basically says you can't deploy azure openai to centralus, followed by a list of allowed value to choose from.
Anyway, I feel sorry that your deployment doesn't go smoothly. For your information I used to deploy to eastus or eastus2 where gpt-35-turbo-0613 is available. And you can change the location using the following command
azd env set AZURE_LOCATION eastus2
Hope that helps
Azure OpenAI is not available in every location, that's where the complexity come from. For example it's not available in "sourthcentralus". Please check the doc for azure openai availability from time to time as it change fast. Also you need to pay attention to the model version as well. The default gpt model used in this example is
gpt-35-turbo-0613, so if you want to deploy towestus, you need to change the version to1106.I read the sub-thread you posted above and it seems that you are trying to deploy azure openai to a location where the template doesn't allow despite the error details clearly indicated in the log you shared. I just pasted one of the error message you put under that thread, it basically says you can't deploy azure openai to
centralus, followed by a list of allowed value to choose from.Anyway, I feel sorry that your deployment doesn't go smoothly. For your information I used to deploy to
eastusoreastus2where gpt-35-turbo-0613 is available. And you can change the location using the following commandazd env set AZURE_LOCATION eastus2Hope that helps
Thanks, I'll try later. But don't you think the error is just plain misleading? Shouldn't it clearly says you're trying to deploy to a unavailable location?
The error message is quite clear... it's even documented in the Readme.md that you have to choose supported regions. of course, it only works if you read it ;)
