-
Notifications
You must be signed in to change notification settings - Fork 0
/
modus.json
63 lines (62 loc) · 1.58 KB
/
modus.json
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
{
"$schema": "https://schema.hypermode.com/modus.json",
"endpoints": {
"default": {
"type": "graphql",
"path": "/graphql",
"auth": "none"
}
},
"models": {
"gpt-4o": {
"sourceModel": "gpt-4o",
"connection": "openai",
"path": "v1/chat/completions"
},
"gpt-4o-mini": {
"sourceModel": "gpt-4o-mini",
"connection": "openai",
"path": "v1/chat/completions"
},
"gpt-3-5-turbo": {
"sourceModel": "gpt-3.5-turbo",
"connection": "openai",
"path": "v1/chat/completions"
},
"Meta-Llama-8B": {
"sourceModel": "meta-llama/Meta-Llama-3.1-8B-Instruct",
"provider": "hugging-face",
"connection": "hypermode"
},
"gemini-1-5-flash": {
"sourceModel": "gemini-1.5-flash",
"connection": "google",
"path": "v1beta/models/gemini-1.5-flash:generateContent"
},
"gemini-pro": {
"sourceModel": "gemini-pro",
"connection": "google",
"path": "v1beta/models/gemini-pro:generateContent"
}
},
"connections": {
"openai": {
"type": "http",
"baseUrl": "https://api.openai.com/",
"headers": {
"Authorization": "Bearer {{API_KEY}}"
}
},
"google": {
"type": "http",
"baseUrl": "https://generativelanguage.googleapis.com/",
"headers": {
"X-goog-api-key": "{{API_KEY}}"
}
},
"convdb": {
"type": "postgresql",
"connString": "postgresql://{{PG_USER}}:{{PG_PASSWORD}}@c-modus-db.lr76pskjoazxgt.postgres.cosmos.azure.com:5432/modus-messages?sslmode=require"
}
}
}