-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy path.env.sample
More file actions
25 lines (25 loc) · 1.39 KB
/
.env.sample
File metadata and controls
25 lines (25 loc) · 1.39 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
# API_HOST can be either azure, openai, or github:
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
# Configure for OpenAI.com:
OPENAI_API_KEY=YOUR-OPENAI-KEY
OPENAI_MODEL=gpt-3.5-turbo
# Configure for GitHub models: (GITHUB_TOKEN already exists inside Codespaces)
GITHUB_MODEL=gpt-4.1-mini
GITHUB_TOKEN=YOUR-GITHUB-PERSONAL-ACCESS-TOKEN
# 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 Azure AI Foundry for rich visualization
AZURE_AI_PROJECT=https://YOUR-ACCOUNT.services.ai.azure.com/api/projects/YOUR-PROJECT