Skip to content

Commit

Permalink
updated example env
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Leong committed Jan 15, 2025
1 parent 386b9b5 commit fa2fbb4
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions src/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@
# - Do not use double-quotes and do not delete any of the variables.
# - Make sure that NEXTAUTH_URL=http://localhost:3000 has no comments in the same line.

# Enable the use of Managed Identity (passwordless authentication) for Azure services
# This will build a DefaultAzureCredential from your local logged in user (az login)
# Use this if you deployed using "disableLocalAuth = true" in main.bicep
USE_MANAGED_IDENTITIES=false

# Update your Azure OpenAI details
# AZURE_OPENAI_API_INSTANCE_NAME should be just the name of azure openai resource and not the full url;
# AZURE_OPENAI_API_DEPLOYMENT_NAME should be deployment name from your azure openai studio and not the model name.
# AZURE_OPENAI_API_VERSION should be Supported versions checkout docs https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
AZURE_OPENAI_API_KEY=111111
AZURE_OPENAI_API_INSTANCE_NAME=azurechat
AZURE_OPENAI_API_DEPLOYMENT_NAME=gpt-4
AZURE_OPENAI_API_VERSION=2023-12-01-preview
AZURE_OPENAI_API_INSTANCE_NAME=ABC-aillm-XYZ
AZURE_OPENAI_API_DEPLOYMENT_NAME=gpt-4o
AZURE_OPENAI_API_VERSION=2024-10-21
AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME=embedding

# DALL-E image creation endpoint config
AZURE_OPENAI_DALLE_API_KEY=222222
AZURE_OPENAI_DALLE_API_INSTANCE_NAME=azurechat-dall-e
AZURE_OPENAI_DALLE_API_DEPLOYMENT_NAME=dall-e
AZURE_OPENAI_DALLE_API_INSTANCE_NAME=ABC-aidalle-XYZ
AZURE_OPENAI_DALLE_API_DEPLOYMENT_NAME=dall-e-3
AZURE_OPENAI_DALLE_API_VERSION=2023-12-01-preview

# Update your admin email addresses - comma separated
# Update your admin email addresses - comma separated (add dev@localhost for local admin)
ADMIN_EMAIL_ADDRESS=[email protected],[email protected]

# Identity provider is optional if you are running in development mode locally (npm run dev)
Expand All @@ -45,8 +50,8 @@ AZURE_COSMOSDB_CONFIG_CONTAINER_NAME=config

# Azure AI Search is used for chat over your data
AZURE_SEARCH_API_KEY=
AZURE_SEARCH_NAME=
AZURE_SEARCH_INDEX_NAME=
AZURE_SEARCH_NAME=ABCsearchXYZ
AZURE_SEARCH_INDEX_NAME=azure-chat

# Azure AI Document Intelligence to extract content from your data
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=https://NAME.cognitiveservices.azure.com/
Expand All @@ -60,11 +65,11 @@ AZURE_SPEECH_REGION=
AZURE_SPEECH_KEY=

# Azure Storage account to store files
AZURE_STORAGE_ACCOUNT_NAME=azurechat
AZURE_STORAGE_ACCOUNT_NAME=ABCstoXYZ
AZURE_STORAGE_ACCOUNT_KEY=123456

# Azure Key Vault to store secrets
AZURE_KEY_VAULT_NAME=
AZURE_KEY_VAULT_NAME=ABC-kv-XYZ

# optional - endpoint suffix overrides - typically used for Azure Government Clouds, China Clouds, etc. Only use if required.
# AZURE_OPENAI_API_ENDPOINT_SUFFIX=
Expand Down

0 comments on commit fa2fbb4

Please sign in to comment.