-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy path.env.template
More file actions
57 lines (48 loc) · 2.15 KB
/
.env.template
File metadata and controls
57 lines (48 loc) · 2.15 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Data Formulator Configuration
# Copy this file to .env and fill in your values.
# cp .env.template .env
# -------------------------------------------------------------------
# Server settings
# -------------------------------------------------------------------
# You can also override these via CLI flags (run `data_formulator --help`).
DISABLE_DISPLAY_KEYS=false # if true, API keys will not be shown in the frontend
SANDBOX=local # code execution backend: 'local' (default) or 'docker'
# -------------------------------------------------------------------
# LLM provider API keys
# -------------------------------------------------------------------
# Enable providers and set API keys / models below.
# For details see: https://docs.litellm.ai/docs#litellm-python-sdk
# OpenAI
OPENAI_ENABLED=true
OPENAI_API_KEY=#your-openai-api-key
OPENAI_MODELS=gpt-5.2,gpt-5.1 # comma separated list of models
# Azure OpenAI
AZURE_ENABLED=true
AZURE_API_KEY=#your-azure-openai-api-key
AZURE_API_BASE=https://your-azure-openai-endpoint.openai.azure.com/
AZURE_MODELS=gpt-5.1
# Anthropic
ANTHROPIC_ENABLED=true
ANTHROPIC_API_KEY=#your-anthropic-api-key
ANTHROPIC_MODELS=claude-sonnet-4-20250514
# Ollama
OLLAMA_ENABLED=true
OLLAMA_API_BASE=http://localhost:11434
OLLAMA_MODELS=deepseek-v3.1:latest # models with good code generation capabilities recommended
# Add other LiteLLM-supported providers with PROVIDER_API_KEY, PROVIDER_MODELS, etc.
# -------------------------------------------------------------------
# Azure Blob Storage Workspace (optional)
# -------------------------------------------------------------------
# Set WORKSPACE_BACKEND=azure_blob to store workspace data in Azure Blob Storage
# instead of the local filesystem.
#
# Authentication — choose ONE of the following:
# Option A: Connection string (shared key / SAS)
# AZURE_BLOB_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=...
# Option B: Entra ID (Managed Identity / az login / workload identity)
# AZURE_BLOB_ACCOUNT_URL=https://<account>.blob.core.windows.net
#
# WORKSPACE_BACKEND=local
# AZURE_BLOB_CONNECTION_STRING=
# AZURE_BLOB_ACCOUNT_URL=
# AZURE_BLOB_CONTAINER=data-formulator