diff --git a/docs/prompt_flow.md b/docs/prompt_flow.md index f0870d7f2..df045ecb8 100644 --- a/docs/prompt_flow.md +++ b/docs/prompt_flow.md @@ -45,7 +45,7 @@ This is a known issue and can be resolved by initiating a compute session. Once Follow these steps to update the flow: -1. Navigate to the flow in Azure Machine Learning Studio and make the necessary changes +1. Navigate to the flow in Azure Machine Learning Studio and make the necessary changes. 1. Download the updated flow files to the [../infra/prompt-flow/cwyd/](../infra/prompt-flow/cwyd/) directory by clicking the download button in the Files tab ![Download](images/prompt-flow-download.png) 1. Replace the content of `flow.dag.template.yaml` with your new flow from the `flow.dag.yaml` file diff --git a/infra/main.bicep b/infra/main.bicep index 09f0715d5..4c087307a 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -434,7 +434,7 @@ var defaultOpenAiDeployments = [ version: azureOpenAIEmbeddingModelVersion } sku: { - name: 'Standard' + name: 'GlobalStandard' capacity: azureOpenAIEmbeddingModelCapacity } } diff --git a/infra/main.json b/infra/main.json index 7a01f99e6..6ead6bec5 100644 --- a/infra/main.json +++ b/infra/main.json @@ -5,7 +5,7 @@ "_generator": { "name": "bicep", "version": "0.36.177.2456", - "templateHash": "849970351177560479" + "templateHash": "5740998106011376838" } }, "parameters": { @@ -928,7 +928,7 @@ "version": "[parameters('azureOpenAIEmbeddingModelVersion')]" }, "sku": { - "name": "Standard", + "name": "GlobalStandard", "capacity": "[parameters('azureOpenAIEmbeddingModelCapacity')]" } } diff --git a/scripts/checkquota.sh b/scripts/checkquota.sh index 4728b0d3d..4e388a6b5 100644 --- a/scripts/checkquota.sh +++ b/scripts/checkquota.sh @@ -33,7 +33,7 @@ echo "✅ Azure subscription set successfully." # Define models and their minimum required capacities declare -A MIN_CAPACITY=( ["OpenAI.GlobalStandard.gpt4.1"]=$GPT_MIN_CAPACITY - ["OpenAI.Standard.text-embedding-ada-002"]=$TEXT_EMBEDDING_MIN_CAPACITY + ["OpenAI.GlobalStandard.text-embedding-ada-002"]=$TEXT_EMBEDDING_MIN_CAPACITY ) VALID_REGION="" diff --git a/scripts/quota_check_params.sh b/scripts/quota_check_params.sh index 6bcff056c..896010f62 100644 --- a/scripts/quota_check_params.sh +++ b/scripts/quota_check_params.sh @@ -165,12 +165,8 @@ for REGION in "${REGIONS[@]}"; do FOUND=false INSUFFICIENT_QUOTA=false - if [ "$MODEL_NAME" = "text-embedding-ada-002" ]; then - MODEL_TYPES=("openai.standard.$MODEL_NAME") - else - MODEL_TYPES=("openai.standard.$MODEL_NAME" "openai.globalstandard.$MODEL_NAME") - fi - + MODEL_TYPES=("openai.standard.$MODEL_NAME" "openai.globalstandard.$MODEL_NAME") + for MODEL_TYPE in "${MODEL_TYPES[@]}"; do FOUND=false INSUFFICIENT_QUOTA=false