forked from microsoft/data-formulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi-keys.env.template
24 lines (20 loc) · 953 Bytes
/
api-keys.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
# OpenAI Configuration
OPENAI_ENABLED=true
OPENAI_API_KEY=#your-openai-api-key
OPENAI_MODELS=gpt-4o,gpt-4o-mini # comma separated list of models
# Azure OpenAI Configuration
AZURE_ENABLED=true
AZURE_API_KEY=#your-azure-openai-api-key
AZURE_API_BASE=https://your-azure-openai-endpoint.openai.azure.com/
AZURE_API_VERSION=2024-02-15-preview
AZURE_MODELS=gpt-4o
# Anthropic Configuration
ANTHROPIC_ENABLED=true
ANTHROPIC_API_KEY=#your-anthropic-api-key
ANTHROPIC_MODELS=claude-3-5-sonnet-20241022,claude-3-5-haiku-20241022
# Ollama Configuration
OLLAMA_ENABLED=true
OLLAMA_API_BASE=http://localhost:11434
OLLAMA_MODELS=codellama:7b # models with good code generation capabilities recommended
# if you want to add other models, you can add them with PROVIDER_API_KEY=your-api-key, PROVIDER_MODELS=model1,model2 etc
# (replacing PROVIDER with the provider name like GEMINI, ANTHROPIC, AZURE, OPENAI, OLLAMA etc. as long as they are supported by LiteLLM)