diff --git a/README.md b/README.md index 6627fec..bc155f8 100644 --- a/README.md +++ b/README.md @@ -101,12 +101,13 @@ If you already have existing Azure resources, you can re-use those by setting `a #### Existing resource group 1. Run `azd env set AZURE_RESOURCE_GROUP {Name of existing resource group}` -1. Run `azd env set AZURE_LOCATION {Location of existing resource group}` +1. Run `azd env set AZURE_LOCATION {Location of existing resource group (i.e eastus2)}` #### Existing OpenAI resource 1. Run `azd env set AZURE_OPENAI_SERVICE {Name of existing OpenAI service}` 1. Run `azd env set AZURE_OPENAI_RESOURCE_GROUP {Name of existing resource group that OpenAI service is provisioned to}` +1. Run `azd env set AZURE_OPENAI_SERVICE_LOCATION {Location of existing resource (i.e eastus2)}`. Only needed if your OpenAI resource is in a different location than the one you'll pick for the `azd up` step. 1. Run `azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing ChatGPT deployment}`. Only needed if your ChatGPT deployment is not the default 'chat'. 1. Run `azd env set AZURE_OPENAI_EMB_DEPLOYMENT {Name of existing GPT embedding deployment}`. Only needed if your embeddings deployment is not the default 'embedding'. diff --git a/app/backend/mvnw b/app/backend/mvnw old mode 100644 new mode 100755 diff --git a/infra/core/ai/cognitiveservices.bicep b/infra/core/ai/cognitiveservices.bicep index 4b001c7..a0fb7e8 100644 --- a/infra/core/ai/cognitiveservices.bicep +++ b/infra/core/ai/cognitiveservices.bicep @@ -18,6 +18,10 @@ resource account 'Microsoft.CognitiveServices/accounts@2023-05-01' = { properties: { customSubDomainName: customSubDomainName publicNetworkAccess: publicNetworkAccess + networkAcls: { + bypass: 'AzureServices' + defaultAction: 'Allow' + } } sku: sku } diff --git a/infra/main.parameters.json b/infra/main.parameters.json index 97f97d7..bc89529 100644 --- a/infra/main.parameters.json +++ b/infra/main.parameters.json @@ -20,6 +20,9 @@ "openAiResourceGroupName": { "value": "${AZURE_OPENAI_RESOURCE_GROUP}" }, + "openAiResourceGroupLocation": { + "value": "${AZURE_OPENAI_SERVICE_LOCATION}" + }, "openAiSkuName": { "value": "S0" },