Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.48 KB

enable_sovereign_deployment.md

File metadata and controls

39 lines (24 loc) · 1.48 KB

Enable Sovereign Region Deployment

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

Setup the environment

To enable a Sovereign region deployment, you need to update the local.env file with the following values

  1. Navigate to your local.env and update your region to a usgov region:

    export LOCATION="usgovvirginia"

    or

    export LOCATION="usgovvarizona"
  2. Set IS_USGOV_DEPLOYMENT parameter to true

  3. 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 to false

  4. 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"
  5. Consider setting CHAT_WARNING_BANNER_TEXT with DEV / UNCLASSIFIED / NO CUI or something similar if deployment is IL2.