sillytavern 1.4.1

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 (259) hide show
  1. package/.dockerignore +4 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. package/.github/workflows/npm-publish.yml +32 -0
  5. package/Dockerfile +49 -0
  6. package/Start.bat +3 -0
  7. package/colab/GPU.ipynb +339 -0
  8. package/colab/extras_server.py +40 -0
  9. package/colab/globals.py +2 -0
  10. package/colab/models.py +77 -0
  11. package/docker/docker-compose.yml +12 -0
  12. package/docker/docker-entrypoint.sh +28 -0
  13. package/faq.md +208 -0
  14. package/package.json +49 -0
  15. package/poe-client.js +638 -0
  16. package/poe-test.js +21 -0
  17. package/poe_graphql/AddHumanMessageMutation.graphql +52 -0
  18. package/poe_graphql/AddMessageBreakMutation.graphql +17 -0
  19. package/poe_graphql/AutoSubscriptionMutation.graphql +7 -0
  20. package/poe_graphql/BioFragment.graphql +8 -0
  21. package/poe_graphql/ChatAddedSubscription.graphql +5 -0
  22. package/poe_graphql/ChatFragment.graphql +6 -0
  23. package/poe_graphql/ChatListPaginationQuery.graphql +316 -0
  24. package/poe_graphql/ChatPaginationQuery.graphql +26 -0
  25. package/poe_graphql/ChatViewQuery.graphql +8 -0
  26. package/poe_graphql/DeleteHumanMessagesMutation.graphql +7 -0
  27. package/poe_graphql/DeleteMessageMutation.graphql +7 -0
  28. package/poe_graphql/HandleFragment.graphql +8 -0
  29. package/poe_graphql/LoginWithVerificationCodeMutation.graphql +13 -0
  30. package/poe_graphql/MessageAddedSubscription.graphql +115 -0
  31. package/poe_graphql/MessageDeletedSubscription.graphql +8 -0
  32. package/poe_graphql/MessageFragment.graphql +13 -0
  33. package/poe_graphql/MessageRemoveVoteMutation.graphql +7 -0
  34. package/poe_graphql/MessageSetVoteMutation.graphql +7 -0
  35. package/poe_graphql/SendVerificationCodeForLoginMutation.graphql +12 -0
  36. package/poe_graphql/ShareMessagesMutation.graphql +9 -0
  37. package/poe_graphql/SignupWithVerificationCodeMutation.graphql +13 -0
  38. package/poe_graphql/StaleChatUpdateMutation.graphql +7 -0
  39. package/poe_graphql/SubscriptionsMutation.graphql +9 -0
  40. package/poe_graphql/SummarizePlainPostQuery.graphql +3 -0
  41. package/poe_graphql/SummarizeQuotePostQuery.graphql +3 -0
  42. package/poe_graphql/SummarizeSharePostQuery.graphql +3 -0
  43. package/poe_graphql/UserSnippetFragment.graphql +14 -0
  44. package/poe_graphql/ViewerInfoQuery.graphql +21 -0
  45. package/poe_graphql/ViewerMessageLimitUpdatedSubscription.graphql +81 -0
  46. package/poe_graphql/ViewerStateFragment.graphql +30 -0
  47. package/poe_graphql/ViewerStateUpdatedSubscription.graphql +63 -0
  48. package/public/KoboldAI Settings/Ace of Spades 13B.settings +22 -0
  49. package/public/KoboldAI Settings/Adventurer-NeoX-20B-Erebus.settings +54 -0
  50. package/public/KoboldAI Settings/Basic Coherence 13B.settings +22 -0
  51. package/public/KoboldAI Settings/Best Guess 6B.settings +22 -0
  52. package/public/KoboldAI Settings/Calibrated-Pygmalion-6b.settings +47 -0
  53. package/public/KoboldAI Settings/Classic-Pygmalion-2.7b.settings +46 -0
  54. package/public/KoboldAI Settings/Classic-Pygmalion-6b.settings +47 -0
  55. package/public/KoboldAI Settings/Coherent Creativity 6B.settings +22 -0
  56. package/public/KoboldAI Settings/Default-TavernAI.settings +22 -0
  57. package/public/KoboldAI Settings/DragonSlayer-Pygmalion-6b.settings +47 -0
  58. package/public/KoboldAI Settings/GPU-Pygmalion-6b.settings +47 -0
  59. package/public/KoboldAI Settings/Genesis 13B.settings +22 -0
  60. package/public/KoboldAI Settings/Godlike.settings +22 -0
  61. package/public/KoboldAI Settings/Good Winds.settings +22 -0
  62. package/public/KoboldAI Settings/Lancer-OPT-2.7B-Erebus.settings +54 -0
  63. package/public/KoboldAI Settings/Liminal Drift.settings +22 -0
  64. package/public/KoboldAI Settings/Low Rider 13B.settings +22 -0
  65. package/public/KoboldAI Settings/Luna Moth 6B.settings +22 -0
  66. package/public/KoboldAI Settings/Mayday.settings +22 -0
  67. package/public/KoboldAI Settings/Ouroboros.settings +22 -0
  68. package/public/KoboldAI Settings/Pleasing Results 6B.settings +22 -0
  69. package/public/KoboldAI Settings/Pro Writer 13B.settings +22 -0
  70. package/public/KoboldAI Settings/RA - Pygmalion-1.3b.settings +46 -0
  71. package/public/KoboldAI Settings/Storywriter 6B.settings +22 -0
  72. package/public/NovelAI Settings/Classic-Euterpe.settings +14 -0
  73. package/public/NovelAI Settings/Classic-Krake.settings +14 -0
  74. package/public/OpenAI Settings/Default.settings +15 -0
  75. package/public/TextGen Settings/Beam Search.settings +15 -0
  76. package/public/TextGen Settings/Contrastive Search.settings +15 -0
  77. package/public/TextGen Settings/Default.settings +15 -0
  78. package/public/TextGen Settings/Deterministic.settings +15 -0
  79. package/public/TextGen Settings/Kobold (Godlike).settings +15 -0
  80. package/public/TextGen Settings/Kobold (Liminal Drift).settings +15 -0
  81. package/public/TextGen Settings/Naive.settings +15 -0
  82. package/public/TextGen Settings/NovelAI (Best Guess).settings +15 -0
  83. package/public/TextGen Settings/NovelAI (Decadence).settings +15 -0
  84. package/public/TextGen Settings/NovelAI (Genesis).settings +15 -0
  85. package/public/TextGen Settings/NovelAI (Lycaenidae).settings +15 -0
  86. package/public/TextGen Settings/NovelAI (Ouroboros).settings +15 -0
  87. package/public/TextGen Settings/NovelAI (Pleasing Results).settings +15 -0
  88. package/public/TextGen Settings/NovelAI (Sphinx Moth).settings +15 -0
  89. package/public/TextGen Settings/NovelAI (Storywriter).settings +15 -0
  90. package/public/TextGen Settings/Pygmalion.settings +15 -0
  91. package/public/css/fontawesome.css +8488 -0
  92. package/public/css/notes.css +46 -0
  93. package/public/css/solid.css +24 -0
  94. package/public/favicon.ico +0 -0
  95. package/public/img/No-Image-Placeholder.svg +309 -0
  96. package/public/img/addbg3.png +0 -0
  97. package/public/img/ai4.png +0 -0
  98. package/public/img/apple-icon-114x114.png +0 -0
  99. package/public/img/apple-icon-144x144.png +0 -0
  100. package/public/img/apple-icon-57x57.png +0 -0
  101. package/public/img/apple-icon-72x72.png +0 -0
  102. package/public/img/book2.png +0 -0
  103. package/public/img/default-expressions/admiration.png +0 -0
  104. package/public/img/default-expressions/amusement.png +0 -0
  105. package/public/img/default-expressions/anger.png +0 -0
  106. package/public/img/default-expressions/annoyance.png +0 -0
  107. package/public/img/default-expressions/approval.png +0 -0
  108. package/public/img/default-expressions/caring.png +0 -0
  109. package/public/img/default-expressions/confusion.png +0 -0
  110. package/public/img/default-expressions/curiosity.png +0 -0
  111. package/public/img/default-expressions/desire.png +0 -0
  112. package/public/img/default-expressions/desire1.png +0 -0
  113. package/public/img/default-expressions/desire2.png +0 -0
  114. package/public/img/default-expressions/disappointment.png +0 -0
  115. package/public/img/default-expressions/disapproval.png +0 -0
  116. package/public/img/default-expressions/disgust.png +0 -0
  117. package/public/img/default-expressions/embarrassment.png +0 -0
  118. package/public/img/default-expressions/excitement.png +0 -0
  119. package/public/img/default-expressions/fear.png +0 -0
  120. package/public/img/default-expressions/gratitude.png +0 -0
  121. package/public/img/default-expressions/grief.png +0 -0
  122. package/public/img/default-expressions/joy.png +0 -0
  123. package/public/img/default-expressions/love.png +0 -0
  124. package/public/img/default-expressions/nervousness.png +0 -0
  125. package/public/img/default-expressions/neutral.png +0 -0
  126. package/public/img/default-expressions/optimism.png +0 -0
  127. package/public/img/default-expressions/pride.png +0 -0
  128. package/public/img/default-expressions/realization.png +0 -0
  129. package/public/img/default-expressions/relief.png +0 -0
  130. package/public/img/default-expressions/remorse.png +0 -0
  131. package/public/img/default-expressions/sadness.png +0 -0
  132. package/public/img/default-expressions/surprise.png +0 -0
  133. package/public/img/five.png +0 -0
  134. package/public/img/times-circle.svg +1 -0
  135. package/public/img/you.png +0 -0
  136. package/public/index.html +1899 -0
  137. package/public/notes/1.html +44 -0
  138. package/public/notes/1.png +0 -0
  139. package/public/notes/10.html +20 -0
  140. package/public/notes/11.html +33 -0
  141. package/public/notes/12.html +27 -0
  142. package/public/notes/13.html +29 -0
  143. package/public/notes/13_1.html +24 -0
  144. package/public/notes/13_2.html +25 -0
  145. package/public/notes/13_3.html +89 -0
  146. package/public/notes/14.html +30 -0
  147. package/public/notes/2.html +37 -0
  148. package/public/notes/2.png +0 -0
  149. package/public/notes/3.html +37 -0
  150. package/public/notes/4.html +105 -0
  151. package/public/notes/6.html +33 -0
  152. package/public/notes/7.html +40 -0
  153. package/public/notes/8.html +19 -0
  154. package/public/notes/9.html +46 -0
  155. package/public/notes/advanced_formatting.html +91 -0
  156. package/public/notes/group_reply_strategy.html +63 -0
  157. package/public/notes/message_sound.html +33 -0
  158. package/public/notes/multigen.html +36 -0
  159. package/public/notes/oai_api_key.html +37 -0
  160. package/public/notes/textgen_streaming.html +29 -0
  161. package/public/notes/token-limits.html +68 -0
  162. package/public/script.js +5131 -0
  163. package/public/scripts/RossAscends-mods.js +750 -0
  164. package/public/scripts/bookmarks.js +130 -0
  165. package/public/scripts/extensions/backgrounds/index.js +129 -0
  166. package/public/scripts/extensions/backgrounds/manifest.json +11 -0
  167. package/public/scripts/extensions/backgrounds/style.css +45 -0
  168. package/public/scripts/extensions/caption/index.js +117 -0
  169. package/public/scripts/extensions/caption/manifest.json +13 -0
  170. package/public/scripts/extensions/caption/style.css +23 -0
  171. package/public/scripts/extensions/dice/droll.js +108 -0
  172. package/public/scripts/extensions/dice/index.js +96 -0
  173. package/public/scripts/extensions/dice/manifest.json +11 -0
  174. package/public/scripts/extensions/dice/style.css +26 -0
  175. package/public/scripts/extensions/expressions/index.js +387 -0
  176. package/public/scripts/extensions/expressions/manifest.json +13 -0
  177. package/public/scripts/extensions/expressions/style.css +115 -0
  178. package/public/scripts/extensions/floating-prompt/index.js +151 -0
  179. package/public/scripts/extensions/floating-prompt/manifest.json +11 -0
  180. package/public/scripts/extensions/floating-prompt/style.css +19 -0
  181. package/public/scripts/extensions/memory/index.js +358 -0
  182. package/public/scripts/extensions/memory/manifest.json +13 -0
  183. package/public/scripts/extensions/memory/style.css +34 -0
  184. package/public/scripts/extensions.js +288 -0
  185. package/public/scripts/f-localStorage.js +27 -0
  186. package/public/scripts/gpt-2-3-tokenizer/README.md +28 -0
  187. package/public/scripts/gpt-2-3-tokenizer/encoder.js +1 -0
  188. package/public/scripts/gpt-2-3-tokenizer/mod.js +169 -0
  189. package/public/scripts/gpt-2-3-tokenizer/vocab.bpe.js +1 -0
  190. package/public/scripts/gpt-3-tokenizer/array-keyed-map.js +210 -0
  191. package/public/scripts/gpt-3-tokenizer/gpt3-tokenizer.js +271 -0
  192. package/public/scripts/gpt-3-tokenizer/gpt3-tokenizer.js.map +1 -0
  193. package/public/scripts/group-chats.js +899 -0
  194. package/public/scripts/horde.js +214 -0
  195. package/public/scripts/jquery-3.5.1.min.js +2 -0
  196. package/public/scripts/jquery-cookie-1.4.1.min.js +2 -0
  197. package/public/scripts/jquery.transit.min.js +1 -0
  198. package/public/scripts/kai-settings.js +179 -0
  199. package/public/scripts/nai-settings.js +108 -0
  200. package/public/scripts/openai.js +973 -0
  201. package/public/scripts/poe.js +360 -0
  202. package/public/scripts/popper.js +2008 -0
  203. package/public/scripts/popper.js.map +1 -0
  204. package/public/scripts/power-user.js +571 -0
  205. package/public/scripts/purify.min.js +3 -0
  206. package/public/scripts/purify.min.js.map +1 -0
  207. package/public/scripts/showdown.min.js +3 -0
  208. package/public/scripts/showdown.min.js.map +1 -0
  209. package/public/scripts/swiped-events.js +165 -0
  210. package/public/scripts/textgen-settings.js +194 -0
  211. package/public/scripts/toolcool-color-picker.js +87 -0
  212. package/public/scripts/utils.js +109 -0
  213. package/public/scripts/world-info.js +661 -0
  214. package/public/sounds/message.mp3 +0 -0
  215. package/public/style.css +3633 -0
  216. package/public/webfonts/NotoSans/NotoSans-Black.woff +0 -0
  217. package/public/webfonts/NotoSans/NotoSans-Black.woff2 +0 -0
  218. package/public/webfonts/NotoSans/NotoSans-BlackItalic.woff +0 -0
  219. package/public/webfonts/NotoSans/NotoSans-BlackItalic.woff2 +0 -0
  220. package/public/webfonts/NotoSans/NotoSans-Bold.woff +0 -0
  221. package/public/webfonts/NotoSans/NotoSans-Bold.woff2 +0 -0
  222. package/public/webfonts/NotoSans/NotoSans-BoldItalic.woff +0 -0
  223. package/public/webfonts/NotoSans/NotoSans-BoldItalic.woff2 +0 -0
  224. package/public/webfonts/NotoSans/NotoSans-ExtraBold.woff +0 -0
  225. package/public/webfonts/NotoSans/NotoSans-ExtraBold.woff2 +0 -0
  226. package/public/webfonts/NotoSans/NotoSans-ExtraBoldItalic.woff +0 -0
  227. package/public/webfonts/NotoSans/NotoSans-ExtraBoldItalic.woff2 +0 -0
  228. package/public/webfonts/NotoSans/NotoSans-ExtraLight.woff +0 -0
  229. package/public/webfonts/NotoSans/NotoSans-ExtraLight.woff2 +0 -0
  230. package/public/webfonts/NotoSans/NotoSans-ExtraLightItalic.woff +0 -0
  231. package/public/webfonts/NotoSans/NotoSans-ExtraLightItalic.woff2 +0 -0
  232. package/public/webfonts/NotoSans/NotoSans-Italic.woff +0 -0
  233. package/public/webfonts/NotoSans/NotoSans-Italic.woff2 +0 -0
  234. package/public/webfonts/NotoSans/NotoSans-Light.woff +0 -0
  235. package/public/webfonts/NotoSans/NotoSans-Light.woff2 +0 -0
  236. package/public/webfonts/NotoSans/NotoSans-LightItalic.woff +0 -0
  237. package/public/webfonts/NotoSans/NotoSans-LightItalic.woff2 +0 -0
  238. package/public/webfonts/NotoSans/NotoSans-Medium.woff +0 -0
  239. package/public/webfonts/NotoSans/NotoSans-Medium.woff2 +0 -0
  240. package/public/webfonts/NotoSans/NotoSans-MediumItalic.woff +0 -0
  241. package/public/webfonts/NotoSans/NotoSans-MediumItalic.woff2 +0 -0
  242. package/public/webfonts/NotoSans/NotoSans-Regular.woff +0 -0
  243. package/public/webfonts/NotoSans/NotoSans-Regular.woff2 +0 -0
  244. package/public/webfonts/NotoSans/NotoSans-SemiBold.woff +0 -0
  245. package/public/webfonts/NotoSans/NotoSans-SemiBold.woff2 +0 -0
  246. package/public/webfonts/NotoSans/NotoSans-SemiBoldItalic.woff +0 -0
  247. package/public/webfonts/NotoSans/NotoSans-SemiBoldItalic.woff2 +0 -0
  248. package/public/webfonts/NotoSans/NotoSans-Thin.woff +0 -0
  249. package/public/webfonts/NotoSans/NotoSans-Thin.woff2 +0 -0
  250. package/public/webfonts/NotoSans/NotoSans-ThinItalic.woff +0 -0
  251. package/public/webfonts/NotoSans/NotoSans-ThinItalic.woff2 +0 -0
  252. package/public/webfonts/NotoSans/stylesheet.css +162 -0
  253. package/public/webfonts/fa-solid-900.ttf +0 -0
  254. package/public/webfonts/fa-solid-900.woff2 +0 -0
  255. package/readme.md +187 -0
  256. package/server.js +2593 -0
  257. package/start.sh +24 -0
  258. package/tools/charaverter/main.mjs +110 -0
  259. package/tools/charaverter/package.json +10 -0
@@ -0,0 +1,44 @@
1
+ <html>
2
+ <head>
3
+ <title>Character Descriptions</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Character description</h2>
15
+ <p>
16
+ Used to add the character description and the rest that the AI should know.<br><br>
17
+ For example, you can add information about the world in which the action takes place and describe
18
+ the characteristics for the character you are playing for.<br><br>
19
+ Usually it all takes 200-350 tokens.
20
+ </p>
21
+ <h3>Methods and format</h3>
22
+ <p>
23
+ For most Kobold's models the easiest way is to use a free form for description, and in each sentence it is desirable to specify the name of the character.<br><br>
24
+ The entire description should be in one line without hyphenation.<br><br>
25
+ For example:<br><br>
26
+ <code>
27
+ Chloe is a female elf. Chloe wears black-white maid dress with green collar and red glasses. Chloe has medium length black hair. Chloe's personality is...
28
+ </code>
29
+ </p>
30
+
31
+ <p>
32
+ But that the AI would be less confused the best way is to use the W++ format.<Br><br>
33
+ Details here: <a target="_blank" href="https://github.com/KoboldAI/KoboldAI-Client/wiki/Pro-Tips">Pro-Tips</a>
34
+ </p>
35
+ <hr>
36
+ <p>
37
+ <u>A list of tags that are replaced when sending to generate:</u><br><br>
38
+ {{user}} and &lt;USER&gt; are replaced by the User's Name<br>
39
+ {{char}} and &lt;BOT&gt; are replaced by the Character's Name
40
+ </p>
41
+ </div>
42
+ </div>
43
+ </body>
44
+ </html>
Binary file
@@ -0,0 +1,20 @@
1
+ <html>
2
+ <head>
3
+ <title>Import Chat</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Chat import</h2>
15
+ <h3>Import chats into SillyTavern</h3>
16
+ <p>To import Character.AI chats, use this tool: <a href="https://github.com/0x000011b/characterai-dumper">https://github.com/0x000011b/characterai-dumper</a>.</p>
17
+ </div>
18
+ </div>
19
+ </body>
20
+ </html>
@@ -0,0 +1,33 @@
1
+ <html>
2
+ <head>
3
+ <title>Example Dialogues</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Examples of dialogue</h2>
15
+ <p>Describes how the character speaks. Before each example, you need to add the &lt;START&gt; tag.<br> Use {{char}} instead of the character name.<br> Use {{user}} instead of the user name.<br><br>Example:</p>
16
+ <p>&lt;START&gt;<br>{{user}}: Hi Aqua, I heard you like to spend time in the pub.<br>
17
+ {{char}}: *excitedly* Oh my goodness, yes! I just love spending time at the pub! It's so much fun to talk to all the adventurers and hear about their exciting adventures! And you are?<br>
18
+
19
+ {{user}}: I'm a new here and I wanted to ask for your advice.<br>
20
+ {{char}}: *giggles* Oh, advice! I love giving advice! And in gratitude for that, treat me to a drink! *gives signals to the bartender*
21
+ <br><br>&lt;START&gt;<br>
22
+ {{user}}: Hello<br>
23
+ {{char}}: *excitedly* Hello there, dear! Are you new to Axel? Don't worry, I, Aqua the goddess of water, am here to help you! Do you need any assistance? And may I say, I look simply radiant today! *strikes a pose and looks at you with puppy eyes*</p>
24
+ <hr>
25
+ <p>
26
+ <u>A list of tags that are replaced when sending to generate:</u><br><br>
27
+ {{user}} and &lt;USER&gt; are replaced by the User's Name<br>
28
+ {{char}} and &lt;BOT&gt; are replaced by the Character's Name
29
+ </p>
30
+ </div>
31
+ </div>
32
+ </body>
33
+ </html>
@@ -0,0 +1,27 @@
1
+ <html>
2
+ <head>
3
+ <title>Scenario</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Scenario</h2>
15
+ <p>
16
+ Circumstances and context of the dialogue.
17
+ </p>
18
+ <hr>
19
+ <p>
20
+ <u>A list of tags that are replaced when sending to generate:</u><br><br>
21
+ {{user}} and &lt;USER&gt; are replaced by the User's Name<br>
22
+ {{char}} and &lt;BOT&gt; are replaced by the Character's Name
23
+ </p>
24
+ </div>
25
+ </div>
26
+ </body>
27
+ </html>
@@ -0,0 +1,29 @@
1
+ <html>
2
+ <head>
3
+ <title>World Info</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>World Info</h2>
15
+ <h4>World Info enhances AI's understanding of the details in your world.</h4>
16
+ <p>It functions like a dynamic dictionary that only inserts relevant information from World Info entries when keywords associated with the entries are present in the message text.</p>
17
+ <p>SillyTavern activates and seamlessly integrates the appropriate lore into the prompt, providing background information to the AI.</p>
18
+ <p><i>It is important to note that while World Info helps guide the AI towards your desired lore, it does not guarantee its appearance in the generated output messages.</i></p>
19
+
20
+ <h3>Pro Tips</h3>
21
+ <ul>
22
+ <li>The AI does not insert keywords into context, so each World Info entry should be a comprehensive, standalone description.</li>
23
+ <li>To create a rich and detailed world lore, entries can be interlinked and reference one another.</li>
24
+ <li>To conserve tokens, it is advisable to keep entry contents concise, with a general recommended limit of 50 tokens per entry.</li>
25
+ </ul>
26
+ </div>
27
+ </div>
28
+ </body>
29
+ </html>
@@ -0,0 +1,24 @@
1
+ <html>
2
+
3
+ <head>
4
+ <title>Scan Depth</title>
5
+ <link rel="stylesheet" href="/css/notes.css">
6
+ <meta charset="UTF-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
10
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
11
+ </head>
12
+
13
+ <body>
14
+ <div id="main">
15
+ <div id="content">
16
+ <h2>Scan Depth</h2>
17
+ <h4>Defines how many messages in the chat history should be scanned for World Info keys.</h4>
18
+ <p>If set to 1, then SillyTavern only scans the message you send and the most recent reply.</p>
19
+ <p>This stacks up to 10 message pairs it total.</p>
20
+ </div>
21
+ </div>
22
+ </body>
23
+
24
+ </html>
@@ -0,0 +1,25 @@
1
+ <html>
2
+
3
+ <head>
4
+ <title>Budget</title>
5
+ <link rel="stylesheet" href="/css/notes.css">
6
+ <meta charset="UTF-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
10
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
11
+ </head>
12
+
13
+ <body>
14
+ <div id="main">
15
+ <div id="content">
16
+ <h2>World Info Budget</h2>
17
+ <h4>Defines how many tokens could be used by World Info entries at once.</h4>
18
+ <p>If the budget was exhausted, then no more entries are activated even if the keys are present in the prompt.</p>
19
+ <p>Constant entries will be inserted first. Then entries with higher order numbers.</p>
20
+ <p>Entries inserted by direct mentioning of their keys have higher priority than those that were mentioned in other entries contents.</p>
21
+ </div>
22
+ </div>
23
+ </body>
24
+
25
+ </html>
@@ -0,0 +1,89 @@
1
+ <html>
2
+
3
+ <head>
4
+ <title>Entry Fields</title>
5
+ <link rel="stylesheet" href="/css/notes.css">
6
+ <meta charset="UTF-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
10
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
11
+ </head>
12
+
13
+ <body>
14
+ <div id="main">
15
+ <div id="content">
16
+ <h2>
17
+ World Info Entry
18
+ </h2>
19
+ <p></p>
20
+ <h3>
21
+ Key
22
+ </h3>
23
+ <p>
24
+ A list of keywords that trigger the activation of a World Info entry.
25
+ </p>
26
+ <h3>
27
+ Secondary Key
28
+ </h3>
29
+ <p>
30
+ A list of supplementary keywords that are used in conjunction with the main keywords (see <a
31
+ href="#Selective">Selective</a>).
32
+ </p>
33
+ <h3>
34
+ Content
35
+ </h3>
36
+ <p>
37
+ The text that is inserted into the prompt upon entry activation.
38
+ </p>
39
+ <h3>
40
+ Insertion Order
41
+ </h3>
42
+ <p>
43
+ Numeric value. Defines a priority of the entry if multiple were activated at once. Entries with higher
44
+ order number will be inserted closer to the end of the context as they will have more impact on the output.
45
+ </p>
46
+ <h3>
47
+ Insertion Position
48
+ </h3>
49
+ <p>
50
+ <ul>
51
+ <li>
52
+ <b>Before Chara:</b>
53
+ World Info entry is inserted before the character's description and
54
+ scenario. Has moderate impact on the conversation.
55
+ </li>
56
+ <li>
57
+ <b>After Chara:</b>
58
+ World Info entry is inserted after the character's description and
59
+ scenario. Has greater impact on the conversation.
60
+ </li>
61
+ </ul>
62
+ </p>
63
+ <h3>
64
+ Comment
65
+ </h3>
66
+ <p>
67
+ A supplemental text comment for your convenience, which is not utilized by the AI.
68
+ </p>
69
+ <h3>
70
+ Constant
71
+ </h3>
72
+ <p>
73
+ If enabled, the entry would always be present in the prompt.
74
+ </p>
75
+ <h3 id="Selective">
76
+ Selective
77
+ </h3>
78
+ <p>
79
+ If enabled, the entry would only be inserted when both a Key <b>AND</b> a Secondary Key have been
80
+ activated.
81
+ </p>
82
+ <p>
83
+ If no secondary keys provided, this flag is ignored.
84
+ </p>
85
+ </div>
86
+ </div>
87
+ </body>
88
+
89
+ </html>
@@ -0,0 +1,30 @@
1
+ <html>
2
+ <head>
3
+ <title>Soft Prompts</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Soft Prompts</h2>
15
+ <h4>Soft Prompts allow you to customize the style and behavior of your AI.</h4>
16
+ <p>
17
+ They are created by training the AI with a special type of prompt using a collection of input data.
18
+ Experimenting with different soft prompts can lead to exciting and unique results.
19
+ The most successful soft prompts are those that align the AI's output with a literary genre, fictional universe, or the style of a particular author.
20
+ </p>
21
+ <hr>
22
+ <h3>Common Misconceptions</h3>
23
+ <ul>
24
+ <li>Soft prompts do not provide new information to the model, but can effectively influence the model's tone, word choice, and formatting.</li>
25
+ <li>Soft prompts are not a means of compressing a full prompt into a limited token space. Instead, they provide a way to guide the language model's output through data in the context.</li>
26
+ </ul>
27
+ </div>
28
+ </div>
29
+ </body>
30
+ </html>
@@ -0,0 +1,37 @@
1
+ <html>
2
+ <head>
3
+ <title>Personality Summary</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Personality summary</h2>
15
+ <p>
16
+ A brief description of the personality. It is added to the chat at a depth of 8-15 messages, so it has a significant impact on the character.
17
+ </p>
18
+
19
+ Example:
20
+ <br><br>
21
+ <code>Cheerful, cunning, provocative</code>
22
+ <Br>
23
+ Another example:
24
+ <br><br>
25
+ <code>Aqua likes to do nothing and also likes to get drunk</code>
26
+
27
+ <p>*In Pygmalion model, it is used as a "Personality:" graph</p>
28
+ <hr>
29
+ <p>
30
+ <u>A list of tags that are replaced when sending to generate:</u><br><br>
31
+ {{user}} and &lt;USER&gt; are replaced by the User's Name<br>
32
+ {{char}} and &lt;BOT&gt; are replaced by the Character's Name
33
+ </p>
34
+ </div>
35
+ </div>
36
+ </body>
37
+ </html>
Binary file
@@ -0,0 +1,37 @@
1
+ <html>
2
+ <head>
3
+ <title>First Message</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>First message</h2>
15
+ <p>
16
+ The First Message is an important thing that sets exactly how and in what style the character will communicate.<Br><br>
17
+ It is desirable that the character's first message be long, so that later it would be less likely that the character would respond in with very short messages. <br><br>
18
+ You can also use asterisks ** to describe the character's actions.
19
+ </P>
20
+
21
+ For example:
22
+ <br><br>
23
+ <code>
24
+ *I noticed you came inside, I walked up and stood right in front of you* Welcome. I'm glad to see you here.
25
+ *I said with toothy smug sunny smile looking you straight in the eye* What brings you...
26
+ </code>
27
+ <Br>
28
+ <hr>
29
+ <p>
30
+ <u>A list of tags that are replaced when sending to generate:</u><br><br>
31
+ {{user}} and &lt;USER&gt; are replaced by the User's Name<br>
32
+ {{char}} and &lt;BOT&gt; are replaced by the Character's Name
33
+ </p>
34
+ </div>
35
+ </div>
36
+ </body>
37
+ </html>
@@ -0,0 +1,105 @@
1
+ <html>
2
+
3
+ <head>
4
+ <title>KoboldAI Settings</title>
5
+ <link rel="stylesheet" href="/css/notes.css">
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
10
+ <link
11
+ href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap"
12
+ rel="stylesheet">
13
+ </head>
14
+
15
+ <body>
16
+ <div id="main">
17
+ <div id="content">
18
+ <h2>KoboldAI Settings</h2>
19
+ <p>Standard KoboldAI settings files are used here. To add your own settings, simply add the file .settings
20
+ in SillyTavern\public\KoboldAI Settings
21
+ </p>
22
+ <h3>Temperature</h3>
23
+ <p>Value from 0.1 to 2.0. Lower value - the answers are more logical, but less creative. Higher value - the
24
+ answers are more creative, but less logical.</p>
25
+ <h3>Repetition penalty</h3>
26
+ <p>Repetition penalty is responsible for the penalty of repeated words. If the character is fixated on
27
+ something or repeats the same phrase, then increasing this parameter will fix it. It is not recommended
28
+ to increase this parameter too much for the chat format, as it may break this format. The standard value
29
+ for chat is approximately 1.0 - 1.05</p>
30
+ <h3>Repetition penalty range</h3>
31
+ <p>The range of influence of Repetition penalty in tokens.</p>
32
+ <h3>Amount generation</h3>
33
+ <p>The maximum amount of tokens that the AI will generate to respond. One word is approximately 3-4 tokens.
34
+ The larger the parameter value, the longer the generation time takes.</p>
35
+ <h3>Context size</h3>
36
+ <p>How much will the AI remember. Context size also affects the speed of generation.<br><br>
37
+ <u>Important</u>: The setting of Context Size in SillyTavern GUI overrides the setting for KoboldAI GUI
38
+ </p>
39
+
40
+ <h2>Advanced Settings</h2>
41
+ <p>
42
+ The settings provided in this section offer a more detailed level of control over the text generation
43
+ process. It is important to be careful when making changes to these settings without proper
44
+ consideration, as doing so may result in degraded quality of responses.
45
+ </p>
46
+ <h3>Single-line mode</h3>
47
+ <p>
48
+ In single-line mode the AI generates only one line per request. This allows for quicker generation of
49
+ shorter prompts, but it does not produce responses that consist of more than one line.
50
+ </p>
51
+ <h3>Top P Sampling</h3>
52
+ <p>
53
+ This setting controls how much of the text generated is based on the most likely options.
54
+ Only words with the highest probabilities, together summing up to P, are considered. A word is then
55
+ chosen at random, with a higher chance of selecting words with higher probabilities.
56
+ </p>
57
+ <p>
58
+ Set value to 1 to disable its effect.
59
+ </p>
60
+ <h3>Top K Sampling</h3>
61
+ <p>
62
+ This setting limits the number of words to choose from to the top K most likely options. Can be used
63
+ together with Top P sampling.
64
+ </p>
65
+ <p>
66
+ Set value to 0 to disable its effect.
67
+ </p>
68
+ <h3>Top A Sampling</h3>
69
+ <p>
70
+ This setting allows for a more flexible version of sampling, where the number of words chosen from
71
+ the most likely options is automatically determined based on the likelihood distribution of the options,
72
+ but instead of choosing the top P or K words, it chooses all words with probabilities above a certain
73
+ threshold.
74
+ </p>
75
+ <p>
76
+ Set value to 0 to disable its effect.
77
+ </p>
78
+ <h3>Typical Sampling</h3>
79
+ <p>
80
+ This setting selects words randomly from the list of possible words, with each word having an equal
81
+ chance of being selected. This method can produce text that is more diverse but may also be less
82
+ coherent.
83
+ </p>
84
+ <p>
85
+ Set value to 1 to disable its effect.
86
+ </p>
87
+ <h3>Tail Free Sampling</h3>
88
+ <p>
89
+ This setting removes the least probable words from consideration during text generation, which can
90
+ improve the quality and coherence of the generated text.
91
+ </p>
92
+ <p>
93
+ Set value to 1 to disable its effect.
94
+ </p>
95
+ <h3>Repetition Penalty Slope</h3>
96
+ <p>
97
+ If both this and Repetition Penalty Range are above 0, then repetition penalty will have more effect
98
+ closer to the end of the prompt. The higher the value, the stronger the effect.
99
+ </p>
100
+ <p>Set value to 1 for linear interpolation or 0 to disable interpolation.</p>
101
+ </div>
102
+ </div>
103
+ </body>
104
+
105
+ </html>
@@ -0,0 +1,33 @@
1
+ <html>
2
+ <head>
3
+ <title>NovelAI API Key</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>Finding your NAI API key</h2>
15
+ <h4>To get a NovelAI API key, follow these instructions:</h4>
16
+ <p>
17
+ 1. Go to the NovelAI website and Login.<br><br>
18
+
19
+ 2. Create a new story, or open an existing story.<br><br>
20
+
21
+ 3. Open the Network Tools on your web browser. (For Chrome or Firefox, you do this by pressing Ctrl+Shift+I, then switching to the Network tab.)<br><br>
22
+
23
+ 4. Generate something. You should see two requests to api.novelai.net/ai/generate-stream, which might look something like this:<br><br>
24
+ <img src="1.png"><br><br>
25
+ 5. Select the second request, then in the Headers tab of the inspection panel, scroll down to the very bottom. Look for a header called Authorization:<br><br>
26
+ <img src="2.png"><br><br>
27
+ The long string (after "Bearer", not including it) is your API key.<br><br>
28
+ * Proxies and Cloudflare-type services may interfere with connection.
29
+ </p>
30
+ </div>
31
+ </div>
32
+ </body>
33
+ </html>
@@ -0,0 +1,40 @@
1
+ <html>
2
+ <head>
3
+ <title>NovelAI Settings</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>NovelAI settings</h2>
15
+ <p>
16
+ The files with the settings are here (SillyTavern\public\NovelAI Settings).<br>
17
+ You can also manually add your own settings files.
18
+ </p>
19
+ <h3>Temperature</h3>
20
+ <p>
21
+ Value from 0.1 to 2.0. <br>
22
+ Lower value - the answers are more logical, but less creative. <br>
23
+ Higher value - the answers are more creative, but less logical.
24
+ </p>
25
+
26
+ <h3>Repetition penalty</h3>
27
+ <p>
28
+ Repetition penalty is responsible for the penalty of repeated words. <br>
29
+ If the character is fixated on something or repeats the same phrase, then increasing this parameter will fix it. <br>
30
+ It is not recommended to increase this parameter too much for the chat format, as it may break this format. <br>
31
+ <b>The standard value for chat is approximately 1.0 - 1.05</b>
32
+ </p>
33
+ <h3>Repetition penalty range</h3>
34
+ <p>
35
+ The range of influence of Repetition penalty in tokens.
36
+ </p>
37
+ </div>
38
+ </div>
39
+ </body>
40
+ </html>
@@ -0,0 +1,19 @@
1
+ <html>
2
+ <head>
3
+ <title>NovelAI Models</title>
4
+ <link rel="stylesheet" href="/css/notes.css">
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
9
+ <link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap" rel="stylesheet">
10
+ </head>
11
+ <body>
12
+ <div id="main">
13
+ <div id="content">
14
+ <h2>NovelAI Models</h2>
15
+ <p>If your subscription tier is Paper, Tablet or Scroll use only Euterpe model otherwise you can not get an answer from NovelAI API.</p>
16
+ </div>
17
+ </div>
18
+ </body>
19
+ </html>