-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
38 lines (35 loc) · 979 Bytes
/
config.json.example
File metadata and controls
38 lines (35 loc) · 979 Bytes
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
{
"provider": "openai",
"base_url": "https://api.openai.com/v1",
"api_key": "your-openai-api-key",
"model": "gpt-3.5-turbo",
"temperature": 0.7,
"max_tokens": 1000
}
// Esempio configurazione per Anthropic:
// {
// "provider": "anthropic",
// "base_url": "https://api.anthropic.com",
// "api_key": "your-anthropic-api-key",
// "model": "claude-3-5-sonnet-20241022",
// "temperature": 0.7,
// "max_tokens": 1000
// }
// Esempio configurazione per Anthropic con endpoint custom:
// {
// "provider": "anthropic",
// "base_url": "https://your-custom-anthropic-endpoint.com",
// "api_key": "your-anthropic-api-key",
// "model": "claude-3-opus-20240229",
// "temperature": 0.7,
// "max_tokens": 1000
// }
// Esempio configurazione per Ollama (provider openai):
// {
// "provider": "openai",
// "base_url": "http://localhost:11434/v1",
// "api_key": "not-needed",
// "model": "llama2",
// "temperature": 0.7,
// "max_tokens": 1000
// }