-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy path.env.sample
More file actions
30 lines (30 loc) · 1.5 KB
/
.env.sample
File metadata and controls
30 lines (30 loc) · 1.5 KB
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
# API_HOST can be azure, openai, or ollama.
API_HOST=azure
# Configure for Azure:
AZURE_OPENAI_ENDPOINT=https://YOUR-AZURE-OPENAI-SERVICE-NAME.openai.azure.com
AZURE_OPENAI_CHAT_DEPLOYMENT=YOUR-AZURE-DEPLOYMENT-NAME
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-large
# Configure for OpenAI.com:
OPENAI_API_KEY=YOUR-OPENAI-KEY
OPENAI_MODEL=gpt-5.4
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
# Configure for local Ollama:
OLLAMA_ENDPOINT=http://localhost:11434/v1
OLLAMA_API_KEY=nokeyneeded
OLLAMA_MODEL=qwen3.5:4b
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
EMBEDDING_DIMENSIONS=256
# Configure for Redis (used by agent_history_redis.py, defaults to dev container Redis):
REDIS_URL=redis://localhost:6379
# Configure OTLP exporter (not needed in devcontainer, which sets these via docker-compose):
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
OTEL_EXPORTER_OTLP_PROTOCOL=grpc
# Or use console exporters instead of OTLP:
# ENABLE_CONSOLE_EXPORTERS=true
# Optional: Set to export telemetry to Azure Application Insights
APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=YOUR-KEY;IngestionEndpoint=https://YOUR-REGION.in.applicationinsights.azure.com/
# Configure for Azure AI Search (used by agent_knowledge_aisearch.py):
AZURE_SEARCH_ENDPOINT=https://YOUR-SEARCH-SERVICE.search.windows.net
AZURE_SEARCH_KNOWLEDGE_BASE_NAME=YOUR-KB-NAME
# Optional: Set to log evaluation results to Microsoft Foundry for rich visualization
AZURE_AI_PROJECT=https://YOUR-ACCOUNT.services.ai.azure.com/api/projects/YOUR-PROJECT