generated from ks6088ts/template-python
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.template
45 lines (37 loc) · 1.76 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Azure OpenAI Service
AZURE_OPENAI_ENDPOINT="https://<YOUR_AOAI_NAME>.openai.azure.com/"
AZURE_OPENAI_API_KEY="<YOUR_API_KEY>"
AZURE_OPENAI_API_VERSION="2024-10-21"
AZURE_OPENAI_GPT_MODEL="gpt-4o"
AZURE_OPENAI_STT_MODEL="whisper"
AZURE_OPENAI_TTS_MODEL="tts-hd"
AZURE_OPENAI_EMBEDDING_MODEL="text-embedding-3-large"
AZURE_OPENAI_DALLE_MODEL="dall-e-3"
# Azure Cosmos DB
AZURE_COSMOS_DB_CONNECTION_STRING="AccountEndpoint=https://<YOUR_COSMOSDB_NAME>.documents.azure.com:443/;AccountKey=<ACCOUNT_KEY>;"
AZURE_COSMOS_DB_DATABASE_NAME="workshop"
AZURE_COSMOS_DB_CONTAINER_NAME="chat"
# Azure AI Search
AZURE_AI_SEARCH_ENDPOINT="https://<YOUR_AZURE_SEARCH_NAME>.search.windows.net/"
AZURE_AI_SEARCH_API_KEY="<YOUR_API_KEY>"
AZURE_AI_SEARCH_INDEX_NAME="chat"
# Azure Document Intelligence: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/ai/data-plane/DocumentIntelligence
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT="https://<YOUR_AZURE_DOCUMENT_INTELLIGENCE_NAME>.cognitiveservices.azure.com/"
AZURE_DOCUMENT_INTELLIGENCE_API_VERSION="2024-07-31-preview"
AZURE_DOCUMENT_INTELLIGENCE_API_KEY="<YOUR_API_KEY>"
# Blob Storage
AZURE_BLOB_ACCOUNT_URL="https://<storage-account-name>.blob.core.windows.net"
AZURE_BLOB_SAS_TOKEN="<blob-sas-token>"
AZURE_BLOB_CONTAINER_NAME="audio"
# Azure AI Speech
AZURE_AI_SPEECH_API_ENDPOINT="https://<speech-api-name>.cognitiveservices.azure.com/"
AZURE_AI_SPEECH_API_SUBSCRIPTION_KEY="<speech-api-subscription-key>"
AZURE_AI_SPEECH_API_REGION="eastus"
# Bing search resource
BING_SUBSCRIPTION_KEY="<bing-subscription-key>"
BING_SEARCH_URL="https://api.bing.microsoft.com/v7.0/search"
# LangSmith
LANGCHAIN_TRACING_V2="true"
LANGCHAIN_API_KEY="<langchain-api-key>"
# Azure AI Foundry
AZURE_AI_FOUNDRY_PROJECT_CONNECTION_STRING="<YOUR_CONNECTION_STRING>"