Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/prompt_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ var defaultOpenAiDeployments = [
version: azureOpenAIEmbeddingModelVersion
}
sku: {
name: 'Standard'
name: 'GlobalStandard'
capacity: azureOpenAIEmbeddingModelCapacity
}
}
Expand Down
4 changes: 2 additions & 2 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.36.177.2456",
"templateHash": "849970351177560479"
"templateHash": "5740998106011376838"
}
},
"parameters": {
Expand Down Expand Up @@ -928,7 +928,7 @@
"version": "[parameters('azureOpenAIEmbeddingModelVersion')]"
},
"sku": {
"name": "Standard",
"name": "GlobalStandard",
"capacity": "[parameters('azureOpenAIEmbeddingModelCapacity')]"
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/checkquota.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down
8 changes: 2 additions & 6 deletions scripts/quota_check_params.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down