sillytavern 1.11.6 → 1.11.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/.github/ISSUE_TEMPLATE/bug-report.yml +11 -11
  2. package/.github/ISSUE_TEMPLATE/feature-request.yml +7 -7
  3. package/.github/labeler.yml +18 -0
  4. package/.github/readme.md +85 -58
  5. package/.github/workflows/docker-publish.yml +53 -20
  6. package/.github/workflows/labeler.yml +19 -0
  7. package/Start.bat +1 -0
  8. package/Update-Instructions.txt +3 -0
  9. package/UpdateForkAndStart.bat +103 -0
  10. package/default/content/index.json +156 -0
  11. package/{public → default/content/presets}/context/Adventure.json +2 -0
  12. package/{public → default/content/presets}/context/Alpaca-Roleplay.json +9 -3
  13. package/{public → default/content/presets}/context/Alpaca-Single-Turn.json +1 -0
  14. package/default/content/presets/context/Alpaca.json +12 -0
  15. package/{public → default/content/presets}/context/ChatML.json +8 -2
  16. package/{public → default/content/presets}/context/Default.json +9 -3
  17. package/{public → default/content/presets}/context/DreamGen Role-Play V1.json +1 -0
  18. package/{public → default/content/presets}/context/Libra-32B.json +7 -1
  19. package/{public → default/content/presets}/context/Lightning 1.1.json +8 -2
  20. package/default/content/presets/context/Llama 2 Chat.json +12 -0
  21. package/{public → default/content/presets}/context/Minimalist.json +9 -3
  22. package/{public → default/content/presets}/context/Mistral.json +9 -3
  23. package/{public → default/content/presets}/context/NovelAI.json +8 -2
  24. package/{public → default/content/presets}/context/OldDefault.json +7 -1
  25. package/default/content/presets/context/Pygmalion.json +12 -0
  26. package/{public → default/content/presets}/context/Story.json +7 -1
  27. package/{public/context/Pygmalion.json → default/content/presets/context/Synthia.json} +8 -2
  28. package/{public → default/content/presets}/context/simple-proxy-for-tavern.json +9 -3
  29. package/{public → default/content/presets}/instruct/Adventure.json +8 -2
  30. package/default/content/presets/instruct/Alpaca-Roleplay.json +24 -0
  31. package/{public → default/content/presets}/instruct/Alpaca-Single-Turn.json +12 -5
  32. package/{public → default/content/presets}/instruct/Alpaca.json +13 -6
  33. package/default/content/presets/instruct/ChatML.json +24 -0
  34. package/{public → default/content/presets}/instruct/DreamGen Role-Play V1.json +14 -8
  35. package/{public → default/content/presets}/instruct/Koala.json +13 -6
  36. package/{public → default/content/presets}/instruct/Libra-32B.json +15 -8
  37. package/{public → default/content/presets}/instruct/Lightning 1.1.json +13 -7
  38. package/default/content/presets/instruct/Llama 2 Chat.json +24 -0
  39. package/{public → default/content/presets}/instruct/Metharme.json +13 -6
  40. package/{public → default/content/presets}/instruct/Mistral.json +16 -9
  41. package/{public → default/content/presets}/instruct/OpenOrca-OpenChat.json +15 -8
  42. package/{public → default/content/presets}/instruct/Pygmalion.json +13 -6
  43. package/{public → default/content/presets}/instruct/Story.json +8 -2
  44. package/{public → default/content/presets}/instruct/Synthia.json +16 -9
  45. package/{public → default/content/presets}/instruct/Vicuna 1.0.json +13 -6
  46. package/{public → default/content/presets}/instruct/Vicuna 1.1.json +13 -6
  47. package/{public → default/content/presets}/instruct/WizardLM-13B.json +13 -6
  48. package/{public → default/content/presets}/instruct/WizardLM.json +13 -6
  49. package/{public → default/content/presets}/instruct/simple-proxy-for-tavern.json +16 -9
  50. package/default/content/presets/openai/Default.json +245 -15
  51. package/default/settings.json +11 -6
  52. package/package.json +2 -2
  53. package/public/context/.gitkeep +0 -0
  54. package/public/css/logprobs.css +8 -0
  55. package/public/css/mobile-styles.css +9 -2
  56. package/public/css/promptmanager.css +14 -3
  57. package/public/css/st-tailwind.css +9 -0
  58. package/public/css/tags.css +93 -4
  59. package/public/css/toggle-dependent.css +98 -37
  60. package/public/img/cohere.svg +12 -0
  61. package/public/index.html +539 -177
  62. package/public/instruct/.gitkeep +0 -0
  63. package/public/lib/eventemitter.js +16 -2
  64. package/public/locales/ar-sa.json +60 -2
  65. package/public/locales/de-de.json +921 -0
  66. package/public/locales/es-es.json +905 -149
  67. package/public/locales/fr-fr.json +59 -3
  68. package/public/locales/is-is.json +58 -2
  69. package/public/locales/it-it.json +805 -643
  70. package/public/locales/ja-jp.json +59 -3
  71. package/public/locales/ko-kr.json +835 -471
  72. package/public/locales/lang.json +15 -14
  73. package/public/locales/nl-nl.json +61 -5
  74. package/public/locales/pt-pt.json +791 -628
  75. package/public/locales/ru-ru.json +86 -1
  76. package/public/locales/uk-ua.json +58 -1
  77. package/public/locales/vi-vn.json +59 -3
  78. package/public/locales/zh-cn.json +715 -350
  79. package/public/script.js +864 -369
  80. package/public/scripts/BulkEditOverlay.js +290 -67
  81. package/public/scripts/PromptManager.js +83 -23
  82. package/public/scripts/RossAscends-mods.js +87 -104
  83. package/public/scripts/authors-note.js +36 -3
  84. package/public/scripts/bulk-edit.js +43 -34
  85. package/public/scripts/chats.js +82 -0
  86. package/public/scripts/extensions/assets/index.js +54 -1
  87. package/public/scripts/extensions/assets/style.css +1 -1
  88. package/public/scripts/extensions/assets/window.html +5 -0
  89. package/public/scripts/extensions/caption/index.js +13 -5
  90. package/public/scripts/extensions/expressions/index.js +18 -1
  91. package/public/scripts/extensions/gallery/index.js +2 -2
  92. package/public/scripts/extensions/memory/index.js +294 -93
  93. package/public/scripts/extensions/memory/settings.html +136 -0
  94. package/public/scripts/extensions/memory/style.css +11 -1
  95. package/public/scripts/extensions/quick-reply/html/qrEditor.html +10 -2
  96. package/public/scripts/extensions/quick-reply/index.js +1 -1
  97. package/public/scripts/extensions/quick-reply/src/QuickReply.js +15 -0
  98. package/public/scripts/extensions/quick-reply/src/QuickReplySet.js +2 -2
  99. package/public/scripts/extensions/regex/engine.js +1 -1
  100. package/public/scripts/extensions/stable-diffusion/index.js +208 -11
  101. package/public/scripts/extensions/stable-diffusion/settings.html +37 -7
  102. package/public/scripts/extensions/token-counter/index.js +4 -2
  103. package/public/scripts/extensions/tts/index.js +20 -1
  104. package/public/scripts/extensions/tts/novel.js +2 -0
  105. package/public/scripts/extensions.js +1 -1
  106. package/public/scripts/filters.js +74 -12
  107. package/public/scripts/group-chats.js +61 -15
  108. package/public/scripts/instruct-mode.js +206 -54
  109. package/public/scripts/kai-settings.js +2 -2
  110. package/public/scripts/logprobs.js +9 -4
  111. package/public/scripts/macros.js +88 -30
  112. package/public/scripts/nai-settings.js +2 -2
  113. package/public/scripts/openai.js +316 -74
  114. package/public/scripts/personas.js +2 -9
  115. package/public/scripts/power-user.js +122 -16
  116. package/public/scripts/preset-manager.js +1 -1
  117. package/public/scripts/secrets.js +4 -0
  118. package/public/scripts/slash-commands.js +80 -26
  119. package/public/scripts/sse-stream.js +215 -0
  120. package/public/scripts/tags.js +800 -130
  121. package/public/scripts/templates/macros.html +15 -9
  122. package/public/scripts/textgen-settings.js +93 -69
  123. package/public/scripts/utils.js +50 -4
  124. package/public/scripts/world-info.js +85 -50
  125. package/public/settings.json +11 -6
  126. package/public/style.css +224 -67
  127. package/public/themes/.gitkeep +0 -0
  128. package/server.js +83 -206
  129. package/src/additional-headers.js +23 -34
  130. package/src/constants.js +2 -1
  131. package/src/endpoints/avatars.js +62 -0
  132. package/src/endpoints/backends/chat-completions.js +151 -2
  133. package/src/endpoints/backgrounds.js +1 -1
  134. package/src/endpoints/characters.js +7 -2
  135. package/src/endpoints/content-manager.js +5 -1
  136. package/src/endpoints/images.js +94 -0
  137. package/src/endpoints/moving-ui.js +22 -0
  138. package/src/endpoints/novelai.js +4 -3
  139. package/src/endpoints/quick-replies.js +36 -0
  140. package/src/endpoints/secrets.js +2 -0
  141. package/src/endpoints/stable-diffusion.js +73 -0
  142. package/src/endpoints/themes.js +41 -0
  143. package/src/endpoints/tokenizers.js +3 -3
  144. package/src/middleware/whitelist.js +31 -25
  145. package/src/nomicai-vectors.js +1 -1
  146. package/src/polyfill.js +8 -0
  147. package/src/{endpoints/prompt-converters.js → prompt-converters.js} +129 -43
  148. package/src/util.js +16 -4
  149. package/public/instruct/Alpaca-Roleplay.json +0 -17
  150. package/public/instruct/ChatML.json +0 -17
  151. package/public/instruct/Llama 2 Chat.json +0 -17
  152. /package/public/characters/{README.md → .gitkeep} +0 -0
  153. /package/public/chats/{README.md → .gitkeep} +0 -0
  154. /package/public/group chats/{README.md → .gitkeep} +0 -0
  155. /package/public/groups/{README.md → .gitkeep} +0 -0
@@ -355,5 +355,161 @@
355
355
  {
356
356
  "filename": "presets/openai/Default.json",
357
357
  "type": "openai_preset"
358
+ },
359
+ {
360
+ "filename": "presets/context/Adventure.json",
361
+ "type": "context"
362
+ },
363
+ {
364
+ "filename": "presets/context/Alpaca-Roleplay.json",
365
+ "type": "context"
366
+ },
367
+ {
368
+ "filename": "presets/context/Alpaca-Single-Turn.json",
369
+ "type": "context"
370
+ },
371
+ {
372
+ "filename": "presets/context/Alpaca.json",
373
+ "type": "context"
374
+ },
375
+ {
376
+ "filename": "presets/context/ChatML.json",
377
+ "type": "context"
378
+ },
379
+ {
380
+ "filename": "presets/context/Default.json",
381
+ "type": "context"
382
+ },
383
+ {
384
+ "filename": "presets/context/DreamGen Role-Play V1.json",
385
+ "type": "context"
386
+ },
387
+ {
388
+ "filename": "presets/context/Libra-32B.json",
389
+ "type": "context"
390
+ },
391
+ {
392
+ "filename": "presets/context/Lightning 1.1.json",
393
+ "type": "context"
394
+ },
395
+ {
396
+ "filename": "presets/context/Llama 2 Chat.json",
397
+ "type": "context"
398
+ },
399
+ {
400
+ "filename": "presets/context/Minimalist.json",
401
+ "type": "context"
402
+ },
403
+ {
404
+ "filename": "presets/context/Mistral.json",
405
+ "type": "context"
406
+ },
407
+ {
408
+ "filename": "presets/context/NovelAI.json",
409
+ "type": "context"
410
+ },
411
+ {
412
+ "filename": "presets/context/OldDefault.json",
413
+ "type": "context"
414
+ },
415
+ {
416
+ "filename": "presets/context/Pygmalion.json",
417
+ "type": "context"
418
+ },
419
+ {
420
+ "filename": "presets/context/Story.json",
421
+ "type": "context"
422
+ },
423
+ {
424
+ "filename": "presets/context/Synthia.json",
425
+ "type": "context"
426
+ },
427
+ {
428
+ "filename": "presets/context/simple-proxy-for-tavern.json",
429
+ "type": "context"
430
+ },
431
+ {
432
+ "filename": "presets/instruct/Adventure.json",
433
+ "type": "instruct"
434
+ },
435
+ {
436
+ "filename": "presets/instruct/Alpaca-Roleplay.json",
437
+ "type": "instruct"
438
+ },
439
+ {
440
+ "filename": "presets/instruct/Alpaca-Single-Turn.json",
441
+ "type": "instruct"
442
+ },
443
+ {
444
+ "filename": "presets/instruct/Alpaca.json",
445
+ "type": "instruct"
446
+ },
447
+ {
448
+ "filename": "presets/instruct/ChatML.json",
449
+ "type": "instruct"
450
+ },
451
+ {
452
+ "filename": "presets/instruct/DreamGen Role-Play V1.json",
453
+ "type": "instruct"
454
+ },
455
+ {
456
+ "filename": "presets/instruct/Koala.json",
457
+ "type": "instruct"
458
+ },
459
+ {
460
+ "filename": "presets/instruct/Libra-32B.json",
461
+ "type": "instruct"
462
+ },
463
+ {
464
+ "filename": "presets/instruct/Lightning 1.1.json",
465
+ "type": "instruct"
466
+ },
467
+ {
468
+ "filename": "presets/instruct/Llama 2 Chat.json",
469
+ "type": "instruct"
470
+ },
471
+ {
472
+ "filename": "presets/instruct/Metharme.json",
473
+ "type": "instruct"
474
+ },
475
+ {
476
+ "filename": "presets/instruct/Mistral.json",
477
+ "type": "instruct"
478
+ },
479
+ {
480
+ "filename": "presets/instruct/OpenOrca-OpenChat.json",
481
+ "type": "instruct"
482
+ },
483
+ {
484
+ "filename": "presets/instruct/Pygmalion.json",
485
+ "type": "instruct"
486
+ },
487
+ {
488
+ "filename": "presets/instruct/Story.json",
489
+ "type": "instruct"
490
+ },
491
+ {
492
+ "filename": "presets/instruct/Synthia.json",
493
+ "type": "instruct"
494
+ },
495
+ {
496
+ "filename": "presets/instruct/Vicuna 1.0.json",
497
+ "type": "instruct"
498
+ },
499
+ {
500
+ "filename": "presets/instruct/Vicuna 1.1.json",
501
+ "type": "instruct"
502
+ },
503
+ {
504
+ "filename": "presets/instruct/WizardLM-13B.json",
505
+ "type": "instruct"
506
+ },
507
+ {
508
+ "filename": "presets/instruct/WizardLM.json",
509
+ "type": "instruct"
510
+ },
511
+ {
512
+ "filename": "presets/instruct/simple-proxy-for-tavern.json",
513
+ "type": "instruct"
358
514
  }
359
515
  ]
@@ -2,6 +2,8 @@
2
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
3
  "example_separator": "",
4
4
  "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
5
7
  "always_force_name2": false,
6
8
  "trim_sentences": false,
7
9
  "include_newline": false,
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "Alpaca-Roleplay",
3
- "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
2
+ "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}\n\n",
3
+ "example_separator": "### New Roleplay:",
4
4
  "chat_start": "### New Roleplay:",
5
- "example_separator": "### New Roleplay:"
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Alpaca-Roleplay"
6
12
  }
@@ -3,6 +3,7 @@
3
3
  "example_separator": "",
4
4
  "chat_start": "",
5
5
  "use_stop_strings": false,
6
+ "allow_jailbreak": false,
6
7
  "always_force_name2": false,
7
8
  "trim_sentences": false,
8
9
  "include_newline": false,
@@ -0,0 +1,12 @@
1
+ {
2
+ "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}\n\n",
3
+ "example_separator": "",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Alpaca"
12
+ }
@@ -1,6 +1,12 @@
1
1
  {
2
- "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}<|im_end|>",
3
- "chat_start": "",
2
+ "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}<|im_end|>",
4
3
  "example_separator": "",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "ChatML"
6
12
  }
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "Default",
3
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
+ "example_separator": "***",
4
4
  "chat_start": "***",
5
- "example_separator": "***"
6
- }
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Default"
12
+ }
@@ -3,6 +3,7 @@
3
3
  "example_separator": "",
4
4
  "chat_start": "",
5
5
  "use_stop_strings": false,
6
+ "allow_jailbreak": false,
6
7
  "always_force_name2": false,
7
8
  "trim_sentences": true,
8
9
  "include_newline": false,
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "story_string": "### Instruction:\nWrite {{char}}'s next reply in this roleplay with {{user}}. Use the provided character sheet and example dialogue for formatting direction and character speech patterns.\n\n{{#if system}}{{system}}\n\n{{/if}}### Character Sheet:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
- "chat_start": "### START ROLEPLAY:",
4
3
  "example_separator": "### Example:",
4
+ "chat_start": "### START ROLEPLAY:",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "Libra-32B"
6
12
  }
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "story_string": "{{system}}\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{char}}'s description:{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality:{{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{user}}'s persona: {{persona}}\n{{/if}}",
3
- "chat_start": "This is the history of the roleplay:",
4
3
  "example_separator": "Example of an interaction:",
4
+ "chat_start": "This is the history of the roleplay:",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "Lightning 1.1"
6
- }
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "story_string": "[INST] <<SYS>>\n{{#if system}}{{system}}\n<</SYS>>\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST]",
3
+ "example_separator": "",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Llama 2 Chat"
12
+ }
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "Minimalist",
3
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
+ "example_separator": "",
4
4
  "chat_start": "",
5
- "example_separator": ""
6
- }
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Minimalist"
12
+ }
@@ -1,6 +1,12 @@
1
1
  {
2
- "story_string": "[INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}[/INST]",
3
- "chat_start": "",
2
+ "story_string": "[INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST]",
4
3
  "example_separator": "Examples:",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "Mistral"
6
- }
12
+ }
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "NovelAI",
3
2
  "story_string": "{{#if system}}{{system}}{{/if}}\n{{#if wiBefore}}{{wiBefore}}{{/if}}\n{{#if persona}}{{persona}}{{/if}}\n{{#if description}}{{description}}{{/if}}\n{{#if personality}}Personality: {{personality}}{{/if}}\n{{#if scenario}}Scenario: {{scenario}}{{/if}}\n{{#if wiAfter}}{{wiAfter}}{{/if}}",
3
+ "example_separator": "***",
4
4
  "chat_start": "***",
5
- "example_separator": "***"
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "NovelAI"
6
12
  }
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Circumstances and context of the dialogue: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
- "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n",
4
3
  "example_separator": "This is how {{char}} should talk",
4
+ "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "OldDefault"
6
12
  }
@@ -0,0 +1,12 @@
1
+ {
2
+ "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
+ "example_separator": "",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Pygmalion"
12
+ }
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
- "chat_start": "",
4
3
  "example_separator": "",
4
+ "chat_start": "",
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
5
11
  "name": "Story"
6
12
  }
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "Pygmalion",
3
2
  "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
3
+ "example_separator": "",
4
4
  "chat_start": "",
5
- "example_separator": ""
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "Synthia"
6
12
  }
@@ -1,6 +1,12 @@
1
1
  {
2
- "name": "simple-proxy-for-tavern",
3
2
  "story_string": "## {{char}}\n- You're \"{{char}}\" in this never-ending roleplay with \"{{user}}\".\n### Input:\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}### Response:\n(OOC) Understood. I will take this info into account for the roleplay. (end OOC)",
3
+ "example_separator": "### New Roleplay:",
4
4
  "chat_start": "### New Roleplay:",
5
- "example_separator": "### New Roleplay:"
6
- }
5
+ "use_stop_strings": false,
6
+ "allow_jailbreak": false,
7
+ "always_force_name2": true,
8
+ "trim_sentences": false,
9
+ "include_newline": false,
10
+ "single_line": false,
11
+ "name": "simple-proxy-for-tavern"
12
+ }
@@ -5,7 +5,6 @@
5
5
  "last_output_sequence": "",
6
6
  "system_sequence": "",
7
7
  "stop_sequence": "",
8
- "separator_sequence": "",
9
8
  "wrap": true,
10
9
  "macro": true,
11
10
  "names": false,
@@ -14,5 +13,12 @@
14
13
  "system_sequence_prefix": "",
15
14
  "system_sequence_suffix": "",
16
15
  "first_output_sequence": "",
16
+ "skip_examples": false,
17
+ "output_suffix": "",
18
+ "input_suffix": "",
19
+ "system_suffix": "",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": false,
22
+ "last_system_sequence": "",
17
23
  "name": "Adventure"
18
- }
24
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "system_prompt": "Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.",
3
+ "input_sequence": "### Instruction:",
4
+ "output_sequence": "### Response:",
5
+ "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):",
6
+ "system_sequence": "### Input:",
7
+ "stop_sequence": "",
8
+ "wrap": true,
9
+ "macro": true,
10
+ "names": true,
11
+ "names_force_groups": true,
12
+ "activation_regex": "",
13
+ "system_sequence_prefix": "",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "",
16
+ "skip_examples": false,
17
+ "output_suffix": "\n\n",
18
+ "input_suffix": "\n\n",
19
+ "system_suffix": "\n\n",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": false,
22
+ "last_system_sequence": "",
23
+ "name": "Alpaca-Roleplay"
24
+ }
@@ -2,16 +2,23 @@
2
2
  "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\nWrite 1 reply only, italicize actions, and avoid quotation marks. Use markdown. Be proactive, creative, and drive the plot and conversation forward. Include dialog as well as narration.",
3
3
  "input_sequence": "",
4
4
  "output_sequence": "",
5
- "first_output_sequence": "<START OF ROLEPLAY>",
6
5
  "last_output_sequence": "\n### Response:",
7
- "system_sequence_prefix": "",
8
- "system_sequence_suffix": "",
6
+ "system_sequence": "",
9
7
  "stop_sequence": "",
10
- "separator_sequence": "",
11
8
  "wrap": true,
12
9
  "macro": true,
13
10
  "names": false,
14
11
  "names_force_groups": true,
15
12
  "activation_regex": "",
13
+ "system_sequence_prefix": "",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "<START OF ROLEPLAY>",
16
+ "skip_examples": false,
17
+ "output_suffix": "",
18
+ "input_suffix": "",
19
+ "system_suffix": "",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": false,
22
+ "last_system_sequence": "",
16
23
  "name": "Alpaca-Single-Turn"
17
- }
24
+ }
@@ -1,17 +1,24 @@
1
1
  {
2
- "name": "Alpaca",
3
2
  "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
4
3
  "input_sequence": "### Instruction:",
5
4
  "output_sequence": "### Response:",
6
- "first_output_sequence": "",
7
5
  "last_output_sequence": "",
8
- "system_sequence_prefix": "",
9
- "system_sequence_suffix": "",
6
+ "system_sequence": "### Input:",
10
7
  "stop_sequence": "",
11
- "separator_sequence": "",
12
8
  "wrap": true,
13
9
  "macro": true,
14
10
  "names": false,
15
11
  "names_force_groups": true,
16
- "activation_regex": ""
12
+ "activation_regex": "",
13
+ "system_sequence_prefix": "",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "",
16
+ "skip_examples": false,
17
+ "output_suffix": "\n\n",
18
+ "input_suffix": "\n\n",
19
+ "system_suffix": "\n\n",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": false,
22
+ "last_system_sequence": "",
23
+ "name": "Alpaca"
17
24
  }
@@ -0,0 +1,24 @@
1
+ {
2
+ "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.",
3
+ "input_sequence": "<|im_start|>user",
4
+ "output_sequence": "<|im_start|>assistant",
5
+ "last_output_sequence": "",
6
+ "system_sequence": "<|im_start|>system",
7
+ "stop_sequence": "<|im_end|>",
8
+ "wrap": true,
9
+ "macro": true,
10
+ "names": true,
11
+ "names_force_groups": true,
12
+ "activation_regex": "",
13
+ "system_sequence_prefix": "",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "",
16
+ "skip_examples": false,
17
+ "output_suffix": "<|im_end|>\n",
18
+ "input_suffix": "<|im_end|>\n",
19
+ "system_suffix": "<|im_end|>\n",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": false,
22
+ "last_system_sequence": "",
23
+ "name": "ChatML"
24
+ }
@@ -1,18 +1,24 @@
1
1
  {
2
2
  "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.",
3
- "input_sequence": "<|im_end|>\n<|im_start|>text names= {{user}}\n",
4
- "output_sequence": "<|im_end|>\n<|im_start|>text names= {{char}}\n",
5
- "first_output_sequence": "",
3
+ "input_sequence": "\n<|im_start|>text names= {{name}}\n",
4
+ "output_sequence": "\n<|im_start|>text names= {{name}}\n",
6
5
  "last_output_sequence": "",
7
- "system_sequence_prefix": "",
8
- "system_sequence_suffix": "",
9
- "stop_sequence": "",
10
- "separator_sequence": "",
6
+ "system_sequence": "",
7
+ "stop_sequence": "\n<|im_start|>",
11
8
  "wrap": false,
12
9
  "macro": true,
13
10
  "names": false,
14
11
  "names_force_groups": false,
15
12
  "activation_regex": "",
13
+ "system_sequence_prefix": "",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "",
16
16
  "skip_examples": false,
17
+ "output_suffix": "<|im_end|>",
18
+ "input_suffix": "<|im_end|>",
19
+ "system_suffix": "",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": true,
22
+ "last_system_sequence": "",
17
23
  "name": "DreamGen Role-Play V1"
18
- }
24
+ }
@@ -1,17 +1,24 @@
1
1
  {
2
- "name": "Koala",
3
2
  "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
4
3
  "input_sequence": "USER: ",
5
4
  "output_sequence": "GPT: ",
6
- "first_output_sequence": "",
7
5
  "last_output_sequence": "",
8
- "system_sequence_prefix": "BEGINNING OF CONVERSATION: ",
9
- "system_sequence_suffix": "",
6
+ "system_sequence": "",
10
7
  "stop_sequence": "",
11
- "separator_sequence": "</s>",
12
8
  "wrap": false,
13
9
  "macro": true,
14
10
  "names": false,
15
11
  "names_force_groups": true,
16
- "activation_regex": ""
12
+ "activation_regex": "",
13
+ "system_sequence_prefix": "BEGINNING OF CONVERSATION: ",
14
+ "system_sequence_suffix": "",
15
+ "first_output_sequence": "",
16
+ "skip_examples": false,
17
+ "output_suffix": "</s>",
18
+ "input_suffix": "",
19
+ "system_suffix": "",
20
+ "user_alignment_message": "",
21
+ "system_same_as_user": true,
22
+ "last_system_sequence": "",
23
+ "name": "Koala"
17
24
  }