Before deploying the accelerator, ensure sufficient quota availability for the required model.
For Global Standard |GPT-4.1- the capacity to at least 150k tokens post-deployment for optimal performance.
azd auth login
gpt4.1:150, text-embedding-ada-002:100
australiaeast, eastus2, japaneast, uksouth
- No parameters passed → Default models and capacities will be checked in default regions.
- Only model(s) provided → The script will check for those models in the default regions.
- Only region(s) provided → The script will check default models in the specified regions.
- Both models and regions provided → The script will check those models in the specified regions.
--verbosepassed → Enables detailed logging output for debugging and traceability.
Use the --models, --regions, and --verbose options for parameter handling:
✔️ Run without parameters to check default models & regions without verbose logging:
./quota_check_params.sh
✔️ Enable verbose logging:
./quota_check_params.sh --verbose
✔️ Check specific model(s) in default regions:
./quota_check_params.sh --models gpt4.1:150,text-embedding-ada-002:100
✔️ Check default models in specific region(s):
./quota_check_params.sh --regions eastus2,japaneast
✔️ Passing both models and regions:
./quota_check_params.sh --models gpt4.1:150 --regions eastus2,japaneast
✔️ All parameters combined:
./quota_check_params.sh --models gpt4.1:150,text-embedding-ada-002:100 --regions eastus2,japaneast --verbose
The final table lists regions with available quota. You can select any of these regions for deployment.
-
Navigate to the Azure Portal.
-
Click on Azure Cloud Shell in the top right navigation menu.
-
Run the appropriate command based on your requirement:
To check quota for the deployment
curl -L -o quota_check_params.sh "https://raw.githubusercontent.com/Azure-Samples/chat-with-your-data-solution-accelerator/main/scripts/quota_check_params.sh" chmod +x quota_check_params.sh ./quota_check_params.sh- Refer to Input Formats for detailed commands.
-
Open the terminal in VS Code or Codespaces.
-
If you're using VS Code, click the dropdown on the right side of the terminal window, and select
Git Bash.
-
Navigate to the
scriptsfolder where the script files are located and make the script as executable:cd scripts chmod +x quota_check_params.sh -
Run the appropriate script based on your requirement:
To check quota for the deployment
./quota_check_params.sh
- Refer to Input Formats for detailed commands.
-
If you see the error
_bash: az: command not found_, install Azure CLI:curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash az login -
Rerun the script after installing Azure CLI.
Note: The solution is restricted to these specific regions to ensure compatibility with paired regions and data redundancy requirements: australiaeast, eastus2, japaneast, uksouth.
