-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathin.json
More file actions
641 lines (641 loc) · 20 KB
/
in.json
File metadata and controls
641 lines (641 loc) · 20 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
{
"_": {
"user_name": {
"hint": "Name the character should refer you as.",
"reload": false,
"type": "string",
"default": "USER",
"value": "DEV"
},
"character_name": {
"hint": "Name of the character to load.",
"reload": false,
"type": "string",
"default": "Hilda",
"value": "Hilda_v2"
},
"context": {
"hint": "Additional persistant context to send to the text generation model. This will have a great impact on the output.",
"reload": false,
"type": "string",
"default": "",
"value": ""
},
"paused": {
"hint": "Keeps track of if the program should be paused or not.",
"reload": false,
"type": "boolean",
"default": false,
"value": false
},
"vts_session_token": {
"hint": "VTS auth session token.",
"reload": false,
"type": "string",
"default": "",
"value": ""
}
},
"behaviour": {
"voice_input": {
"hint": "Allows input via the microphone using the chosen Speech-To-Text provider.",
"reload": true,
"type": "boolean",
"default": false,
"value": true
},
"push_to_talk": {
"hint": "Press Right Ctrl to record audio from the microphone, release to end recording. Requires 'Voice Input' to be on.",
"reload": true,
"type": "boolean",
"default": false,
"value": true
},
"read_live_chat": {
"hint": "Makes the character respond to live chat messages.",
"reload": true,
"type": "boolean",
"default": false,
"value": true
},
"read_chat_after_x_seconds": {
"hint": "Time in seconds to wait for before reading the next chat message.",
"reload": false,
"type": "number",
"default": 0,
"min": 0.05,
"max": 999,
"value": 0.025
},
"chat_reading_mode": {
"hint": "[Latest-Buffered]: Reads the latest chat message, if none is found reads next (older) message in a buffer of 4 messages. If buffer is empty, tries to monologue.\r\n[Latest]: Reads the latest chat message, if none is found tries to monolgue.\r\n[All]: Reads every chat message without exception.",
"reload": false,
"type": "select",
"options": [
"latest-buffered",
"latest",
"all"
],
"default": "latest-buffered",
"value": "latest-buffered"
},
"always_read_highlighted": {
"hint": "Highlighted messages will not be skipped and will be prioritized over other chat messages. (Might only work on Twitch)",
"reload": false,
"type": "boolean",
"default": true,
"value": true
},
"monologue": {
"hint": "Make the character talk about subjects of interest if no new chat messages have been found.",
"reload": false,
"type": "boolean",
"default": false,
"value": false
},
"monologue_chance_percent": {
"hint": "Modify the probability of triggering a monologue when no other input sources are available.",
"reload": false,
"type": "number",
"default": 100,
"min": 0,
"max": 100,
"value": 1
},
"try_prevent_freakouts": {
"hint": "Tries to prevent freakouts by altering response in order to keep the AI on track and sane.",
"reload": false,
"type": "boolean",
"default": true,
"value": true
},
"additional_logs": {
"hint": "Displays debug-related logs in the console.",
"reload": false,
"type": "boolean",
"default": false,
"value": false
},
"log_to_file": {
"hint": "Write console contents to a file in the logs folder.",
"reload": false,
"type": "boolean",
"default": true,
"value": true
}
},
"memory": {
"max_short_term_memory_entries": {
"hint": "Number of interactions to keep in memory. A greater number might disolve the character's personality and lead to repetition and incoherent speech.",
"reload": false,
"type": "number",
"default": 5,
"min": 1,
"max": 20,
"value": 10
},
"memory_decontamination": {
"hint": "Adds phantom entries to the short-term memory in order to prevent the AI from showing symptoms of prompt poisoning. Not needed for OpenAI models.",
"reload": false,
"type": "boolean",
"default": true,
"value": false
},
"decontamination_percentage": {
"hint": "Percentage of decontamination entries to push inside the short-term memory. If \"Max Short Term Memory Entries\" is set to 10 and the percentage is set to 20 then the number of entries to add will be 2.",
"reload": false,
"type": "number",
"default": 25,
"min": 0,
"max": 50,
"value": 35
},
"contextual_memories": {
"hint": "Memories to be remembered based on context (i.e if encounters keyword)",
"reload": false,
"type": "contextual_memory_list",
"default": [],
"value": []
}
},
"moderation": {
"filter_bad_words": {
"hint": "Checks the content of the character's speech and incoming chat messages for bad words.",
"reload": true,
"type": "boolean",
"default": true,
"value": true
},
"censor_placeholder": {
"hint": "Text spoken in place of the filtered response.",
"reload": false,
"type": "string",
"default": "Filtered.",
"value": "Filtered."
},
"retry_after_filtered": {
"hint": "Generates a new response if the previous one got filtered. If disabled, speaks the censor phrase.",
"reload": false,
"type": "boolean",
"default": true,
"value": true
},
"sfw_generation_hint": {
"hint": "Makes NovelAI more likely to keep the story SFW. While it should reduce the likelyhood of generation NSFW content, it is not a garantee.",
"reload": false,
"type": "boolean",
"default": true,
"value": false
},
"filter_spam_messages": {
"hint": "Ignore spam chat messages.",
"reload": true,
"type": "boolean",
"default": true,
"value": false
},
"remove_non_ascii_from_chat": {
"hint": "Removes any non-ascii characters from chat messages. Prevents chat users from using special characters to bypass the bad words filter.",
"reload": true,
"type": "boolean",
"default": true,
"value": false
},
"blacklisted_chatters": {
"hint": "Lowercase usernames of chatters the character should not respond to. Usually used for bots. Or for people you don't really like.",
"reload": false,
"type": "list",
"default": [
"streamlabs",
"streamelements",
"nightbot"
],
"value": [
"streamlabs",
"streamelements",
"nightbot"
]
}
},
"providers": {
"livestream_platform": {
"hint": "What platform from which to receive messages and events.",
"reload": true,
"type": "select",
"options": [
"twitch",
"youtube"
],
"default": "twitch",
"value": "twitch"
},
"llm_provider": {
"hint": "Text generation AI provider.",
"reload": true,
"type": "select",
"options": [
"novelai",
"openai"
],
"default": "novelai",
"value": "novelai"
},
"tts_provider": {
"hint": "Text-To-Speech AI provider.",
"reload": true,
"type": "select",
"options": [
"novelai",
"azure"
],
"default": "novelai",
"value": "novelai"
},
"stt_provider": {
"hint": "Speech-To-Text AI provider.",
"reload": true,
"type": "select",
"options": [
"openai",
"google"
],
"default": "google",
"value": "google"
}
},
"devices": {
"voice_input_device": {
"hint": "Audio device from which to receive input, usually a microphone.",
"reload": false,
"type": "select",
"options": [],
"default": "",
"value": ""
},
"tts_output_device": {
"hint": "Audio device on which to play the TTS for the character.",
"reload": false,
"type": "select",
"options": [],
"default": "",
"value": ""
},
"narrator_tts_output_device": {
"hint": "Audio device on which to play the TTS for the narrator.",
"reload": false,
"type": "select",
"options": [],
"default": "",
"value": ""
},
"alt_output_device": {
"hint": "Audio device on which to play audio unrelated to TTS. Used for the instrumental track of songs.",
"reload": false,
"type": "select",
"options": [],
"default": "",
"value": ""
}
},
"llm": {
"temperature": {
"hint": "",
"reload": false,
"type": "number",
"default": 0.5,
"min": 0,
"max": 2,
"value": 0.9
},
"repetition_penalty": {
"hint": "",
"reload": false,
"type": "number",
"default": 0.5,
"min": 0,
"max": 2,
"value": 2.8
},
"length_penalty": {
"hint": "",
"reload": false,
"type": "number",
"default": 0,
"min": -1,
"max": 1,
"value": 10
},
"max_output_length": {
"hint": "",
"reload": false,
"type": "number",
"default": 80,
"min": 0,
"max": 200,
"value": 50
},
"novelai_model": {
"hint": "Model used when selecting novelai as LLM provider.",
"reload": false,
"type": "select",
"default": "Kayra",
"value": "Kayra",
"options": [
"Kayra",
"Clio",
"Euterpe"
]
},
"openai_model": {
"hint": "Model used when selecting openai as LLM provider.",
"reload": false,
"type": "select",
"default": "gpt-3.5-turbo",
"value": "gpt-3.5-turbo",
"options": [
"gpt-3.5-turbo",
"gpt-4"
]
}
},
"tts": {
"volume_modifier_db": {
"hint": "Modifies the volume of the TTS. Unit is dB.",
"reload": false,
"type": "number",
"default": 10,
"min": -100,
"max": 100,
"value": 10
},
"use_narrator_to_read_chat": {
"hint": "Use another voice when reading a message coming from live chat.",
"reload": false,
"type": "boolean",
"default": true,
"value": true
},
"narrator_voice": {
"hint": "Voice seed of the TTS for the narrator.",
"reload": false,
"type": "string",
"default": "dev",
"value": "dev"
},
"read_chat_out_loud": {
"hint": "Reads the incoming chat message out loud. Will only output character's response if disabled.",
"reload": false,
"type": "boolean",
"default": true,
"value": true
},
"read_every_messages_out_loud": {
"hint": "Reads the incoming chat messages as well as user input. Overwrites 'Read Chat Out Loud'.",
"reload": false,
"type": "boolean",
"default": false,
"value": true
}
},
"vts": {
"api_port": {
"hint": "Port of the VTS instance's plugin API.",
"reload": true,
"type": "number",
"default": 8001,
"min": 0,
"max": 65535,
"value": 8001
},
"full_reset_hotkey_sequence": {
"hint": "Hotkey sequence to call once connecting to VTS. Usually used to reset the animations and toggles.",
"reload": false,
"type": "list",
"default": [],
"value": [
"RESET_1",
"RESET_0"
]
},
"singing_hotkey_sequence": {
"hint": "Hotkey sequence to call once connecting to VTS. Usually used to reset the animations and toggles.",
"reload": false,
"type": "list",
"default": [],
"value": [
"Singing"
]
},
"emotions": {
"hint": "Hotkey sequences to play for each emotions. Emotions are infered using the LLM for each answers. Make sure the name of the emotion is related to a feeling the character will express in its response.",
"reload": false,
"type": "vts_emotions_list",
"default": [],
"value": [
{
"emotion_name": "None",
"talking_hotkey_sequence": [
"Talking"
],
"idle_hotkey_sequence": [
"RESET_1"
],
"reset_hotkey_sequence": [
"RESET_1"
]
},
{
"emotion_name": "Angry",
"talking_hotkey_sequence": [
"Angry_anim",
"Angry"
],
"idle_hotkey_sequence": [],
"reset_hotkey_sequence": [
"RESET_1",
"Angry"
]
},
{
"emotion_name": "Sad",
"talking_hotkey_sequence": [
"Sad_anim",
"Sad"
],
"idle_hotkey_sequence": [],
"reset_hotkey_sequence": [
"RESET_1",
"Sad"
]
},
{
"emotion_name": "Happy",
"talking_hotkey_sequence": [
"Talking"
],
"idle_hotkey_sequence": [
"RESET_1"
],
"reset_hotkey_sequence": [
"RESET_1"
]
},
{
"emotion_name": "Blushing",
"talking_hotkey_sequence": [
"Talking",
"Blushing"
],
"idle_hotkey_sequence": [
"RESET_1"
],
"reset_hotkey_sequence": [
"RESET_1",
"Blushing"
]
}
]
},
"keyword_triggers": {
"hint": "",
"reload": false,
"type": "vts_emotions_list",
"default": [],
"value": []
},
"keyword_based_animations": {
"hint": "",
"reload": false,
"type": "vts_keywords_list",
"default": [],
"value": [
{
"keywords": [
"wink"
],
"hotkey_sequence": [
"Winking"
]
}
]
}
},
"azure": {
"pitch_percentage": {
"hint": "Modifier added to the pitch of the Azure TTS voice.",
"reload": false,
"type": "number",
"default": 0,
"value": 0,
"max": 100,
"min": 0
}
},
"stt": {
"stt_language": {
"hint": "Language the STT model should use to infer the spoken text.",
"reload": false,
"type": "select",
"default": "en-US",
"value": "en-US",
"options": [
"af",
"eu",
"bg",
"ca",
"ar-EG",
"ar-JO",
"ar-KW",
"ar-LB",
"ar-QA",
"ar-AE",
"ar-MA",
"ar-IQ",
"ar-DZ",
"ar-BH",
"ar-LYZA",
"ar-OM",
"ar-SA",
"ar-TN",
"ar-YE",
"cs",
"nl-NL",
"en-AU",
"en-CA",
"en-IN",
"en-NZ",
"en-ZA",
"en-GB",
"en-US",
"fi",
"fr-FR",
"gl",
"de-DE",
"he",
"hu",
"is",
"it-IT",
"id",
"ja",
"ko",
"la",
"zh-CN",
"zh-TW",
"?",
"zh-HK",
"zh-yue",
"ms-MY",
"no-NO",
"pl",
"xx-piglatin",
"pt-PT",
"pt-BR",
"ro-RO",
"ru",
"sr-SP",
"sk",
"es-AR",
"es-BO",
"es-CL",
"es-CO",
"es-CR",
"es-DO",
"es-EC",
"es-SV",
"es-GT",
"es-HN",
"es-MX",
"es-NI",
"es-PA",
"es-PY",
"es-PE",
"es-PR",
"es-ES",
"es-US",
"es-UY",
"es-VE",
"sv-SE",
"tr",
"zu"
]
}
},
"singing": {
"timeout_minutes_between_playlist_songs": {
"hint": "Timeout in minutes in between songs when playing a playlist with !playlist",
"reload": false,
"type": "number",
"default": 0,
"value": 5,
"max": 999,
"min": 0
},
"song_playlist": {
"hint": "Name of the songs to play in order whith the command !playlist",
"reload": false,
"type": "list",
"default": [],
"value": []
}
}
}