-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.schema.json
51 lines (51 loc) · 1.39 KB
/
config.schema.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
{
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"token": {
"type": "string",
"description": "The bot token to use to login to Discord"
},
"openai": {
"type": "string",
"description": "The OpenAI API key to use to generate responses"
},
"clientId": {
"type": "string",
"description": "The client ID of the bot"
},
"guildId": {
"type": "string",
"description": "The ID of the guild to use for the bot"
},
"singleTokens": {
"type": "integer",
"description": "The max amount of tokens for single-prompt"
},
"promptTokens": {
"type": "integer",
"description": "The max amount of tokens for prompt"
},
"historySize": {
"type": "integer",
"description": "The history size before prompt summarizes"
},
"huggingface": {
"type": "string",
"description": "The HuggingFace API key to use to generate image responses"
}
},
"required": [
"token",
"openai",
"clientId",
"guildId",
"singleTokens",
"promptTokens",
"historySize",
"huggingface"
],
"additionalProperties": false
}