-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
36 lines (32 loc) Β· 864 Bytes
/
config.yaml
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
llm_schemas:
openai:
endpoint: "https://api.openai.com/v1/chat/completions"
headers:
- "Content-Type: application/json"
- "Authorization: Bearer {api_key}"
temperature_threshold: 0.8
claude:
endpoint: "https://api.claude.ai/v1/chat/completions"
headers:
- "Content-Type: application/json"
- "Authorization: Bearer {api_key}"
temperature_threshold: 0.85
avalai:
endpoint: "https://api.avalapis.ir/v1/chat/completions"
headers:
- "Content-Type: application/json"
- "Authorization: {api_key}"
temperature_threshold: 0.85
mongodb:
uri: "mongodb://localhost:27017"
db_name: "llm_cache_db"
collection_name: "cache"
json_cache_file: "cache.json"
redis:
enabled: false
host: "localhost"
port: 6379
db: 0
current_llm_service: "openai"
use_json_cache: true
use_mongo_cache: true