Follow these steps to enable a Sovereign region deployment. If you need access to AOAI in a UsGov region please fill out this form https://aka.ms/AOAIgovaccess.
Only Sovereign regions / models supported are listed here: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#azure-government-regions
To enable a Sovereign region deployment, you need to update the local.env file with the following values
-
Navigate to your
local.env
and update your region to a usgov region:export LOCATION="usgovvirginia"
or
export LOCATION="usgovvarizona"
-
Set IS_USGOV_DEPLOYMENT parameter to
true
-
Set USE_EXISTING_AOAI parameter to
true
if you have a existing AOAI instance deployed. If you want to create Azure Open AI resource during deployment then set this parameter tofalse
-
If USE_EXISTING_AOAI is set to
true
then set the following parameters based on your AOAI deployment: You can find these values from https://aoai.azure.us/portal via the Deployments URL.export AZURE_OPENAI_CHATGPT_MODEL_NAME="gpt-35-turbo-16k" export AZURE_OPENAI_CHATGPT_MODEL_VERSION="0613" export AZURE_OPENAI_EMBEDDINGS_MODEL_NAME="text-embedding-ada-002" export AZURE_OPENAI_EMBEDDINGS_MODEL_VERSION="2"
-
Consider setting CHAT_WARNING_BANNER_TEXT with
DEV / UNCLASSIFIED / NO CUI
or something similar if deployment is IL2.