-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
225 lines (201 loc) · 7.24 KB
/
config.yaml.example
File metadata and controls
225 lines (201 loc) · 7.24 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
# Minion Configuration Example
# Copy this file to config.yaml and fill in your credentials
#
# Environment variable substitution: Use ${VAR_NAME} syntax
# The values will be loaded from environment or .env files
# ============================================================
# Environment Variables (inline definition)
# ============================================================
environment:
ENV1: val1
ENV2: val2
ENV3: val3
# ============================================================
# Load environment variables from .env files
# Files are loaded in order, later files override earlier ones
# ============================================================
env_file:
- .env
- .env.local
# ============================================================
# Model Configurations
# Supported api_type values:
# - openai: OpenAI API or compatible endpoints (LocalAI, vLLM, etc.)
# - azure: Azure OpenAI Service
# - azure_inference: Azure AI Model Inference (DeepSeek, Phi, etc.)
# - azure_anthropic: Azure hosted Anthropic models
# - bedrock: AWS Bedrock (synchronous)
# - bedrock_async: AWS Bedrock (asynchronous, better performance)
# - litellm: Unified interface for 100+ LLM providers (OpenAI, Anthropic, Bedrock, VertexAI, etc.)
# ============================================================
models:
# Default model - used when no specific model is specified
"default":
api_type: "openai"
base_url: "${DEFAULT_BASE_URL}"
api_key: "${DEFAULT_API_KEY}"
model: gpt-5.1
temperature: 0
# --------------------------------------------------------
# OpenAI API Examples
# --------------------------------------------------------
"gpt-4o":
api_type: "openai"
api_key: "${OPENAI_API_KEY}"
base_url: "https://api.openai.com/v1"
model: "gpt-4o"
temperature: 0
"gpt-4.1":
api_type: "openai"
api_key: "${OPENAI_API_KEY}"
base_url: "https://api.openai.com/v1"
model: "gpt-4.1"
temperature: 0
# --------------------------------------------------------
# Azure OpenAI Examples
# --------------------------------------------------------
"azure-gpt-4o":
api_type: "azure"
api_key: "${AZURE_OPENAI_API_KEY}"
base_url: "${AZURE_OPENAI_ENDPOINT}" # e.g., https://your-resource.openai.azure.com/
api_version: "2024-06-01"
model: "gpt-4o" # deployment name
temperature: 0
# --------------------------------------------------------
# Azure AI Model Inference (DeepSeek, Phi, etc.)
# --------------------------------------------------------
"deepseek-r1":
api_type: "azure_inference"
api_key: "${AZURE_AI_API_KEY}"
base_url: "${AZURE_AI_ENDPOINT}" # e.g., https://your-resource.services.ai.azure.com/models
model: "DeepSeek-R1"
temperature: 0.1
"phi-4":
api_type: "azure_inference"
api_key: "${AZURE_AI_API_KEY}"
base_url: "${AZURE_AI_ENDPOINT}"
model: "Phi-4"
api_version: "2024-05-01-preview"
temperature: 0.1
# --------------------------------------------------------
# Azure Anthropic (Claude models hosted on Azure)
# --------------------------------------------------------
"claude-sonnet-4-5":
api_type: "azure_anthropic"
api_key: "${AZURE_ANTHROPIC_API_KEY}"
base_url: "${AZURE_ANTHROPIC_ENDPOINT}" # e.g., https://your-resource.services.ai.azure.com/anthropic/
model: "claude-sonnet-4-5"
temperature: 0.1
"claude-opus-4-5":
api_type: "azure_anthropic"
api_key: "${AZURE_ANTHROPIC_API_KEY}"
base_url: "${AZURE_ANTHROPIC_ENDPOINT}"
model: "claude-opus-4-5"
temperature: 0.1
# --------------------------------------------------------
# Anthropic Direct API
# --------------------------------------------------------
"claude-direct":
api_type: "openai"
api_key: "${ANTHROPIC_API_KEY}"
base_url: "https://api.anthropic.com/v1/"
model: "claude-3-5-sonnet-20241022"
temperature: 0.1
# --------------------------------------------------------
# AWS Bedrock (Synchronous)
# --------------------------------------------------------
"claude-3-5-sonnet-bedrock":
api_type: "bedrock"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "anthropic.claude-3-5-sonnet-20240620-v1:0"
temperature: 0.7
"claude-3-5-haiku-bedrock":
api_type: "bedrock"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "anthropic.claude-3-5-haiku-20241022-v1:0"
temperature: 0.7
# --------------------------------------------------------
# AWS Bedrock (Asynchronous - better performance)
# --------------------------------------------------------
"claude-3-5-sonnet-bedrock-async":
api_type: "bedrock_async"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "anthropic.claude-3-5-sonnet-20240620-v1:0"
temperature: 0.7
"haiku":
api_type: "bedrock_async"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "global.anthropic.claude-haiku-4-5-20251001-v1:0"
temperature: 0.1
"sonnet":
api_type: "bedrock_async"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "global.anthropic.claude-sonnet-4-20250514-v1:0"
temperature: 0.1
# --------------------------------------------------------
# Local Models (Ollama)
# --------------------------------------------------------
"llama3.2":
api_type: "openai"
api_key: "ollama" # any value works for Ollama
base_url: "http://localhost:11434/v1"
model: "llama3.2"
temperature: 0
"llama3.1":
api_type: "openai"
api_key: "ollama"
base_url: "http://localhost:11434/v1"
model: "llama3.1"
temperature: 0
# --------------------------------------------------------
# Google Gemini
# --------------------------------------------------------
"gemini-2.0-flash-exp":
api_type: "openai"
api_key: "${GOOGLE_API_KEY}"
base_url: "https://generativelanguage.googleapis.com/v1beta/"
model: "gemini-2.0-flash-exp"
temperature: 0.1
# --------------------------------------------------------
# LiteLLM (Unified interface for 100+ LLM providers)
# Use model prefixes: openai/, anthropic/, bedrock/, vertex_ai/, etc.
# See: https://docs.litellm.ai/docs/providers
# --------------------------------------------------------
"litellm-gpt4":
api_type: "litellm"
api_key: "${OPENAI_API_KEY}"
model: "gpt-4"
temperature: 0.1
"litellm-claude":
api_type: "litellm"
api_key: "${ANTHROPIC_API_KEY}"
model: "anthropic/claude-3-5-sonnet-20241022"
temperature: 0.1
"litellm-bedrock-claude":
api_type: "litellm"
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
region: "us-east-1"
model: "bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0"
temperature: 0.7
"litellm-gemini":
api_type: "litellm"
api_key: "${GOOGLE_API_KEY}"
model: "gemini/gemini-1.5-pro"
temperature: 0.1
"litellm-ollama":
api_type: "litellm"
api_key: "ollama"
base_url: "http://localhost:11434"
model: "ollama/llama3.2"
temperature: 0