sillytavern 1.6.7 → 1.7.0
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.
- package/.github/ISSUE_TEMPLATE/bug_report.md +2 -2
- package/.github/ISSUE_TEMPLATE/feature_request.md +1 -1
- package/.github/readme.md +10 -10
- package/.replit +2 -1
- package/Update-Instructions.txt +13 -11
- package/colab/GPU.ipynb +14 -5
- package/config.conf +1 -1
- package/package.json +5 -3
- package/poe-test.js +3 -3
- package/public/NovelAI Settings/Ace_of_Spades-Euterpe.settings +17 -0
- package/public/NovelAI Settings/All_Nighter-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Basic_Coherence-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Classic-Euterpe.settings +12 -8
- package/public/NovelAI Settings/Classic-Krake.settings +12 -8
- package/public/NovelAI Settings/Fandango-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Genesis-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Low_Rider-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Moonlit_Chronicler-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Morpho-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Ouroborous-Euterpe.settings +17 -0
- package/public/NovelAI Settings/Pro_Writer-Euterpe.settings +17 -0
- package/public/i18n.json +295 -0
- package/public/index.html +928 -531
- package/public/notes/index.html +7 -8
- package/public/script.js +1163 -632
- package/public/scripts/RossAscends-mods.js +66 -34
- package/public/scripts/bookmarks.js +1 -1
- package/public/scripts/eventemitter.js +2 -0
- package/public/scripts/extensions/backgrounds/index.js +45 -4
- package/public/scripts/extensions/backgrounds/manifest.json +2 -2
- package/public/scripts/extensions/caption/index.js +118 -122
- package/public/scripts/extensions/caption/manifest.json +13 -13
- package/public/scripts/extensions/dice/index.js +97 -100
- package/public/scripts/extensions/dice/manifest.json +11 -11
- package/public/scripts/extensions/expressions/index.js +525 -59
- package/public/scripts/extensions/expressions/manifest.json +13 -13
- package/public/scripts/extensions/expressions/style.css +29 -6
- package/public/scripts/extensions/floating-prompt/index.js +402 -234
- package/public/scripts/extensions/floating-prompt/manifest.json +11 -11
- package/public/scripts/extensions/floating-prompt/style.css +67 -36
- package/public/scripts/extensions/infinity-context/index.js +45 -50
- package/public/scripts/extensions/infinity-context/manifest.json +1 -1
- package/public/scripts/extensions/memory/index.js +371 -388
- package/public/scripts/extensions/memory/manifest.json +13 -13
- package/public/scripts/extensions/objective/index.js +481 -0
- package/public/scripts/extensions/objective/manifest.json +11 -0
- package/public/scripts/extensions/objective/style.css +45 -0
- package/public/scripts/extensions/quick-reply/index.js +174 -0
- package/public/scripts/extensions/quick-reply/manifest.json +11 -0
- package/public/scripts/extensions/quick-reply/style.css +44 -0
- package/public/scripts/extensions/speech-recognition/index.js +110 -0
- package/public/scripts/extensions/speech-recognition/manifest.json +11 -0
- package/public/scripts/extensions/speech-recognition/style.css +3 -0
- package/public/scripts/extensions/stable-diffusion/index.js +14 -13
- package/public/scripts/extensions/stable-diffusion/manifest.json +2 -2
- package/public/scripts/extensions/token-counter/manifest.json +1 -1
- package/public/scripts/extensions/translate/index.js +1 -1
- package/public/scripts/extensions/translate/manifest.json +1 -1
- package/public/scripts/extensions/tts/edge.js +151 -0
- package/public/scripts/extensions/tts/elevenlabs.js +13 -12
- package/public/scripts/extensions/tts/index.js +89 -26
- package/public/scripts/extensions/tts/manifest.json +3 -2
- package/public/scripts/extensions/tts/novel.js +130 -0
- package/public/scripts/extensions/tts/silerotts.js +14 -24
- package/public/scripts/extensions/tts/system.js +19 -15
- package/public/scripts/extensions.js +124 -23
- package/public/scripts/f-localStorage.js +3 -3
- package/public/scripts/fuse.js +2240 -0
- package/public/scripts/group-chats.js +51 -13
- package/public/scripts/kai-settings.js +65 -1
- package/public/scripts/nai-settings.js +56 -3
- package/public/scripts/openai.js +304 -44
- package/public/scripts/poe.js +224 -22
- package/public/scripts/power-user.js +88 -17
- package/public/scripts/secrets.js +6 -3
- package/public/scripts/showdown-dinkus.js +25 -0
- package/public/scripts/showdown.min.js +3 -3
- package/public/scripts/showdown.min.js.map +1 -1
- package/public/scripts/slash-commands.js +35 -2
- package/public/scripts/tags.js +24 -6
- package/public/scripts/utils.js +123 -2
- package/public/scripts/world-info.js +65 -13
- package/public/style.css +388 -249
- package/server.js +702 -155
- package/src/bad-words.js +326 -0
- package/src/horde/index.d.ts +1 -1
- package/{poe-client.js → src/poe-client.js} +148 -35
- package/src/sentencepiece/nerdstash.model +0 -0
- package/src/sentencepiece/nerdstash_v2.model +0 -0
- package/faq.md +0 -219
- package/public/notes/1.png +0 -0
- package/public/notes/2.png +0 -0
- package/public/notes/content.md +0 -673
- package/public/notes/faq.md.html +0 -24
- package/public/notes/readme.md.html +0 -24
- package/public/notes/update.html +0 -24
- package/public/notes/update.md +0 -65
- package/public/scripts/notes.js +0 -18
- package/readme.md +0 -68
- /package/{poe_graphql → src/poe_graphql}/AddHumanMessageMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/AddMessageBreakMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/AutoSubscriptionMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/BioFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ChatAddedSubscription.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ChatFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ChatListPaginationQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ChatPaginationQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ChatViewQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/DeleteHumanMessagesMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/DeleteMessageMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/HandleFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/LoginWithVerificationCodeMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/MessageAddedSubscription.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/MessageDeletedSubscription.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/MessageFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/MessageRemoveVoteMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/MessageSetVoteMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SendMessageMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SendVerificationCodeForLoginMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ShareMessagesMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SignupWithVerificationCodeMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/StaleChatUpdateMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SubscriptionsMutation.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SummarizePlainPostQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SummarizeQuotePostQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/SummarizeSharePostQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/UserSnippetFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ViewerInfoQuery.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ViewerMessageLimitUpdatedSubscription.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ViewerStateFragment.graphql +0 -0
- /package/{poe_graphql → src/poe_graphql}/ViewerStateUpdatedSubscription.graphql +0 -0
|
@@ -9,7 +9,7 @@ assignees: ''
|
|
|
9
9
|
|
|
10
10
|
> **Warning**. Complete **all** the fields below. Otherwise your bug report will be **ignored**!
|
|
11
11
|
|
|
12
|
-
**Have you searched for similar [bugs](https://github.com/
|
|
12
|
+
**Have you searched for similar [bugs](https://github.com/SillyTavern/SillyTavern/issues?q=)?**
|
|
13
13
|
Yes/No
|
|
14
14
|
|
|
15
15
|
**Describe the bug**
|
|
@@ -37,7 +37,7 @@ Providing the logs from the browser DevTools console (opened by pressing the F12
|
|
|
37
37
|
- Environment: [cloud, local]
|
|
38
38
|
- Node.js version (if applicable): [run `node --version` in cmd]
|
|
39
39
|
- Browser [e.g. chrome, safari]
|
|
40
|
-
- Generation API [e.g. KoboldAI, OpenAI]
|
|
40
|
+
- Generation API [e.g. KoboldAI, OpenAI]
|
|
41
41
|
- Branch [main, dev]
|
|
42
42
|
- Model [e.g. Pygmalion 6b, LLaMa 13b]
|
|
43
43
|
|
|
@@ -7,7 +7,7 @@ assignees: ''
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
**Have you searched for similar [requests](https://github.com/
|
|
10
|
+
**Have you searched for similar [requests](https://github.com/SillyTavern/SillyTavern/issues?q=)?**
|
|
11
11
|
Yes/No
|
|
12
12
|
|
|
13
13
|
**Is your feature request related to a problem? Please describe.**
|
package/.github/readme.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
3
|
Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI+proxies, Poe, WindowAI(Claude!)), VN-like Waifu Mode, Horde SD, System TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need. Optional Extras server for more SD/TTS options + ChromaDB/Summarize.
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ Based on a fork of TavernAI 1.2.8
|
|
|
6
6
|
|
|
7
7
|
### Brought to you by Cohee, RossAscends and the SillyTavern community
|
|
8
8
|
|
|
9
|
-
NOTE: We have
|
|
9
|
+
NOTE: We have created a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.
|
|
10
10
|
|
|
11
11
|
### What is SillyTavern or TavernAI?
|
|
12
12
|
|
|
@@ -18,14 +18,14 @@ SillyTavern is a fork of TavernAI 1.2.8 which is under more active development a
|
|
|
18
18
|
|
|
19
19
|
SillyTavern is being developed using a two-branch system to ensure a smooth experience for all users.
|
|
20
20
|
|
|
21
|
-
* main -🌟 **Recommended for most users.** This is the most stable and recommended branch, updated only when major releases are pushed. It's suitable for the majority of users.
|
|
22
|
-
* dev - ⚠️ **Not recommended for casual use.** This branch has the latest features, but be cautious as it may break at any time. Only for power users and enthusiasts.
|
|
21
|
+
* main -🌟 **Recommended for most users.** This is the most stable and recommended branch, updated only when major releases are pushed. It's suitable for the majority of users.
|
|
22
|
+
* dev - ⚠️ **Not recommended for casual use.** This branch has the latest features, but be cautious as it may break at any time. Only for power users and enthusiasts.
|
|
23
23
|
|
|
24
|
-
If you're not familiar with using the git CLI or don't understand what a branch is, don't worry! The main branch is always the preferable option for you.
|
|
24
|
+
If you're not familiar with using the git CLI or don't understand what a branch is, don't worry! The main branch is always the preferable option for you.
|
|
25
25
|
|
|
26
26
|
### What do I need other than Tavern?
|
|
27
27
|
|
|
28
|
-
On its own Tavern is useless, as it's just a user interface. You have to have access to an AI system backend that can act as the roleplay character. There are various supported backends: OpenAPI API (GPT), KoboldAI (either running locally or on Google Colab), and more. You can read more about this in [the FAQ](faq
|
|
28
|
+
On its own Tavern is useless, as it's just a user interface. You have to have access to an AI system backend that can act as the roleplay character. There are various supported backends: OpenAPI API (GPT), KoboldAI (either running locally or on Google Colab), and more. You can read more about this in [the FAQ](https://docs.sillytavern.app/usage/faq/).
|
|
29
29
|
|
|
30
30
|
### Do I need a powerful PC to run Tavern?
|
|
31
31
|
|
|
@@ -55,7 +55,7 @@ Get in touch with the developers directly:
|
|
|
55
55
|
|
|
56
56
|
* Discord: Cohee#1207 or RossAscends#1779
|
|
57
57
|
* Reddit: /u/RossAscends or /u/sillylossy
|
|
58
|
-
* [Post a GitHub issue](https://github.com/
|
|
58
|
+
* [Post a GitHub issue](https://github.com/SillyTavern/SillyTavern/issues)
|
|
59
59
|
|
|
60
60
|
## This version includes
|
|
61
61
|
|
|
@@ -145,8 +145,8 @@ Easy to follow guide with pretty pictures:
|
|
|
145
145
|
5. Open a Command Prompt inside that folder by clicking in the 'Address Bar' at the top, typing `cmd`, and pressing Enter.
|
|
146
146
|
6. Once the black box (Command Prompt) pops up, type ONE of the following into it and press Enter:
|
|
147
147
|
|
|
148
|
-
* for Main Branch: `git clone https://github.com/
|
|
149
|
-
* for Dev Branch: `git clone https://github.com/
|
|
148
|
+
* for Main Branch: `git clone https://github.com/SillyTavern/SillyTavern -b main`
|
|
149
|
+
* for Dev Branch: `git clone https://github.com/SillyTavern/SillyTavern -b dev`
|
|
150
150
|
|
|
151
151
|
7. Once everything is cloned, double click `Start.bat` to make NodeJS install its requirements.
|
|
152
152
|
8. The server will then start, and SillyTavern will popup in your browser.
|
|
@@ -154,7 +154,7 @@ Easy to follow guide with pretty pictures:
|
|
|
154
154
|
Installing via zip download
|
|
155
155
|
|
|
156
156
|
1. Install [NodeJS](https://nodejs.org/en) (latest LTS version is recommended)
|
|
157
|
-
2. Download the zip from this GitHub repo. (Get the `Source code (zip)` from [Releases](https://github.com/
|
|
157
|
+
2. Download the zip from this GitHub repo. (Get the `Source code (zip)` from [Releases](https://github.com/SillyTavern/SillyTavern/releases/latest))
|
|
158
158
|
3. Unzip it into a folder of your choice
|
|
159
159
|
4. Run `Start.bat` via double-clicking or in a command line.
|
|
160
160
|
5. Once the server has prepared everything for you, it will open a tab in your browser.
|
package/.replit
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
hidden = [".config", "package-lock.json"]
|
|
3
3
|
run = "chmod 755 ./start.sh && ./start.sh"
|
|
4
|
+
entrypoint = "server.js"
|
|
4
5
|
|
|
5
6
|
[[hints]]
|
|
6
7
|
regex = "Error \\[ERR_REQUIRE_ESM\\]"
|
|
@@ -62,7 +63,7 @@ support = true
|
|
|
62
63
|
cwd = "."
|
|
63
64
|
environment = []
|
|
64
65
|
pauseForSourceMap = false
|
|
65
|
-
program = "./
|
|
66
|
+
program = "./server.js"
|
|
66
67
|
request = "launch"
|
|
67
68
|
sourceMaps = true
|
|
68
69
|
stopOnEntry = false
|
package/Update-Instructions.txt
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
How to Update SillyTavern
|
|
2
2
|
|
|
3
|
+
The most recent version can be found here: https://docs.sillytavern.app/usage/update/
|
|
4
|
+
|
|
3
5
|
This is not an installation guide. If you need installation instructions, look here:
|
|
4
|
-
https://docs.
|
|
6
|
+
https://docs.sillytavern.app/installation/windows/
|
|
5
7
|
|
|
6
8
|
This guide assumes you have already installed SillyTavern once, and know how to run it on your OS.
|
|
7
9
|
|
|
8
|
-
Linux/Termux:
|
|
10
|
+
Linux/Termux:
|
|
9
11
|
|
|
10
12
|
You definitely installed via git, so just 'git pull' inside the SillyTavern directory.
|
|
11
13
|
|
|
12
|
-
Windows/MacOS:
|
|
14
|
+
Windows/MacOS:
|
|
13
15
|
|
|
14
16
|
Method 1 - GIT
|
|
15
17
|
|
|
16
|
-
We always recommend users install using 'git'. Here's why:
|
|
18
|
+
We always recommend users install using 'git'. Here's why:
|
|
17
19
|
|
|
18
|
-
When you have installed via `git clone`, all you have to do to update is type `git pull` in a command line in the ST folder.
|
|
19
|
-
You can also try running the 'UpdateAndStart.bat' file, which will almost do the same thing. (Windows only)
|
|
20
|
+
When you have installed via `git clone`, all you have to do to update is type `git pull` in a command line in the ST folder.
|
|
21
|
+
You can also try running the 'UpdateAndStart.bat' file, which will almost do the same thing. (Windows only)
|
|
20
22
|
Alternatively, if the command prompt gives you problems (and you have GitHub Desktop installed), you can use the 'Repository' menu and select 'Pull'.
|
|
21
23
|
The updates are applied automatically and safely.
|
|
22
24
|
|
|
23
25
|
Method 2 - ZIP
|
|
24
26
|
|
|
25
|
-
If you insist on installing via a zip, here is the tedious process for doing the update:
|
|
27
|
+
If you insist on installing via a zip, here is the tedious process for doing the update:
|
|
26
28
|
|
|
27
29
|
1. Download the new release zip.
|
|
28
30
|
2. Unzip it into a folder OUTSIDE of your current ST installation.
|
|
29
|
-
3. Do the usual setup procedure for your OS to install the NodeJS requirements.
|
|
31
|
+
3. Do the usual setup procedure for your OS to install the NodeJS requirements.
|
|
30
32
|
|
|
31
|
-
4. Copy the following files/folders as necessary(*) from your old ST installation:
|
|
33
|
+
4. Copy the following files/folders as necessary(*) from your old ST installation:
|
|
32
34
|
|
|
33
35
|
- Backgrounds
|
|
34
36
|
- Characters
|
|
@@ -44,13 +46,13 @@ If you insist on installing via a zip, here is the tedious process for doing the
|
|
|
44
46
|
- Worlds
|
|
45
47
|
- settings.json
|
|
46
48
|
|
|
47
|
-
(*) 'As necessary' = "If you made any custom content related to those folders".
|
|
49
|
+
(*) 'As necessary' = "If you made any custom content related to those folders".
|
|
48
50
|
None of the folders are mandatory, so only copy what you need.
|
|
49
51
|
|
|
50
52
|
**NB: DO NOT COPY THE ENTIRE /PUBLIC/ FOLDER.**
|
|
51
53
|
Doing so could break the new install and prevent new features from being present.
|
|
52
54
|
|
|
53
|
-
5. Paste those items into the /Public/ folder of the new install.
|
|
55
|
+
5. Paste those items into the /Public/ folder of the new install.
|
|
54
56
|
|
|
55
57
|
6. Start SillyTavern once again with the method appropriate to your OS, and pray you got it right.
|
|
56
58
|
|
package/colab/GPU.ipynb
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"metadata": {},
|
|
7
7
|
"source": [
|
|
8
8
|
"**Links**<br>\n",
|
|
9
|
-
"Extensions API GitHub: https://github.com/
|
|
9
|
+
"Extensions API GitHub: https://github.com/SillyTavern/SillyTavern-extras/<br>\n",
|
|
10
10
|
"SillyTavern community Discord (support and discussion): https://discord.gg/RZdyAEUPvj"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
"source": [
|
|
35
35
|
"#@markdown Enables hosting of extensions backend for SillyTavern Extras\n",
|
|
36
36
|
"use_cpu = False #@param {type:\"boolean\"}\n",
|
|
37
|
+
"#@markdown Allows to run SillyTavern Extras on CPU (use if you're out of daily GPU allowance)\n",
|
|
38
|
+
"use_sd_cpu = False #@param {type:\"boolean\"}\n",
|
|
39
|
+
"#@markdown Allows to run Stable Diffusion pipeline on CPU (slow!)\n",
|
|
37
40
|
"extras_enable_captioning = True #@param {type:\"boolean\"}\n",
|
|
38
41
|
"#@markdown Loads the image captioning module\n",
|
|
39
42
|
"Captions_Model = \"Salesforce/blip-image-captioning-large\" #@param [ \"Salesforce/blip-image-captioning-large\", \"Salesforce/blip-image-captioning-base\" ]\n",
|
|
@@ -51,8 +54,10 @@
|
|
|
51
54
|
"#@markdown * Qiliang/bart-large-cnn-samsum-ChatGPT_v3 - summarization model optimized for chats\n",
|
|
52
55
|
"#@markdown * Qiliang/bart-large-cnn-samsum-ElectrifAi_v10 - nice results so far, but still being evaluated\n",
|
|
53
56
|
"#@markdown * distilbart-xsum-12-3 - faster, but pretty basic alternative\n",
|
|
54
|
-
"
|
|
57
|
+
"extras_enable_silero_tts = True #@param {type:\"boolean\"}\n",
|
|
55
58
|
"#@markdown Enables Silero text-to-speech module\n",
|
|
59
|
+
"extras_enable_edge_tts = True #@param {type:\"boolean\"}\n",
|
|
60
|
+
"#@markdown Enables Microsoft Edge text-to-speech module\n",
|
|
56
61
|
"extras_enable_sd = True #@param {type:\"boolean\"}\n",
|
|
57
62
|
"#@markdown Enables SD picture generation\n",
|
|
58
63
|
"SD_Model = \"ckpt/anything-v4.5-vae-swapped\" #@param [ \"ckpt/anything-v4.5-vae-swapped\", \"hakurei/waifu-diffusion\", \"philz1337/clarity\", \"prompthero/openjourney\", \"ckpt/sd15\", \"stabilityai/stable-diffusion-2-1-base\" ]\n",
|
|
@@ -73,6 +78,8 @@
|
|
|
73
78
|
"params = []\n",
|
|
74
79
|
"if use_cpu:\n",
|
|
75
80
|
" params.append('--cpu')\n",
|
|
81
|
+
"if use_sd_cpu:\n",
|
|
82
|
+
" params.append('--sd-cpu')\n",
|
|
76
83
|
"params.append('--share')\n",
|
|
77
84
|
"ExtrasModules = []\n",
|
|
78
85
|
"\n",
|
|
@@ -84,8 +91,10 @@
|
|
|
84
91
|
" ExtrasModules.append('classify')\n",
|
|
85
92
|
"if (extras_enable_sd):\n",
|
|
86
93
|
" ExtrasModules.append('sd')\n",
|
|
87
|
-
"if (
|
|
88
|
-
" ExtrasModules.append('tts')\n",
|
|
94
|
+
"if (extras_enable_silero_tts):\n",
|
|
95
|
+
" ExtrasModules.append('silero-tts')\n",
|
|
96
|
+
"if extras_enable_edge_tts:\n",
|
|
97
|
+
" ExtrasModules.append('edge-tts')\n",
|
|
89
98
|
"if (extras_enable_chromadb):\n",
|
|
90
99
|
" ExtrasModules.append('chromadb')\n",
|
|
91
100
|
"\n",
|
|
@@ -97,7 +106,7 @@
|
|
|
97
106
|
"\n",
|
|
98
107
|
"\n",
|
|
99
108
|
"%cd /\n",
|
|
100
|
-
"!git clone https://github.com/
|
|
109
|
+
"!git clone https://github.com/SillyTavern/SillyTavern-extras\n",
|
|
101
110
|
"%cd /SillyTavern-extras\n",
|
|
102
111
|
"!git clone https://github.com/Cohee1207/tts_samples\n",
|
|
103
112
|
"!npm install -g localtunnel\n",
|
package/config.conf
CHANGED
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"jimp": "^0.22.7",
|
|
18
18
|
"jquery": "^3.6.4",
|
|
19
19
|
"json5": "^2.2.3",
|
|
20
|
+
"lodash": "^4.17.21",
|
|
20
21
|
"mime-types": "^2.1.35",
|
|
21
22
|
"multer": "^1.4.5-lts.1",
|
|
22
23
|
"node-fetch": "^2.6.11",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"png-chunk-text": "^1.0.0",
|
|
27
28
|
"png-chunks-encode": "^1.0.0",
|
|
28
29
|
"png-chunks-extract": "^1.0.0",
|
|
30
|
+
"response-time": "^2.3.2",
|
|
29
31
|
"rimraf": "^3.0.2",
|
|
30
32
|
"sanitize-filename": "^1.6.3",
|
|
31
33
|
"sentencepiece-js": "^1.1.0",
|
|
@@ -44,9 +46,9 @@
|
|
|
44
46
|
"license": "AGPL-3.0",
|
|
45
47
|
"repository": {
|
|
46
48
|
"type": "git",
|
|
47
|
-
"url": "https://github.com/
|
|
49
|
+
"url": "https://github.com/SillyTavern/SillyTavern.git"
|
|
48
50
|
},
|
|
49
|
-
"version": "1.
|
|
51
|
+
"version": "1.7.0",
|
|
50
52
|
"scripts": {
|
|
51
53
|
"start": "node server.js",
|
|
52
54
|
"pkg": "pkg --compress Gzip --no-bytecode --public ."
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
],
|
|
68
70
|
"assets": [
|
|
69
71
|
"node_modules/**/*",
|
|
70
|
-
"poe_graphql/**/*"
|
|
72
|
+
"src/poe_graphql/**/*"
|
|
71
73
|
],
|
|
72
74
|
"outputPath": "dist",
|
|
73
75
|
"scripts": [
|
package/poe-test.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const poe = require('./poe-client');
|
|
1
|
+
const poe = require('./src/poe-client');
|
|
2
2
|
|
|
3
3
|
async function test() {
|
|
4
4
|
const client = new poe.Client();
|
|
5
5
|
await client.init('pb-cookie');
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
const bots = client.get_bot_names();
|
|
8
8
|
console.log(bots);
|
|
9
9
|
|
|
@@ -18,4 +18,4 @@ async function test() {
|
|
|
18
18
|
client.disconnect_ws();
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
test();
|
|
21
|
+
test();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [3, 2, 1, 0],
|
|
3
|
+
"temperature": 1.15,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 0,
|
|
7
|
+
"top_p": 0.95,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.8,
|
|
11
|
+
"repetition_penalty": 2.75,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 7.02,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [1, 0, 3],
|
|
3
|
+
"temperature": 1.33,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 13,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.836,
|
|
11
|
+
"repetition_penalty": 2.366,
|
|
12
|
+
"repetition_penalty_range": 400,
|
|
13
|
+
"repetition_penalty_slope": 0.33,
|
|
14
|
+
"repetition_penalty_frequency": 0.01,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [0, 1, 2, 3],
|
|
3
|
+
"temperature": 0.585,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 0,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.87,
|
|
11
|
+
"repetition_penalty": 3.05,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0.33,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"order": [3, 0],
|
|
3
|
-
"temperature":
|
|
2
|
+
"order": [2, 1, 3, 0],
|
|
3
|
+
"temperature": 0.63,
|
|
4
4
|
"max_length": 90,
|
|
5
5
|
"min_length": 1,
|
|
6
|
-
"tail_free_sampling": 0.
|
|
7
|
-
"repetition_penalty": 1.
|
|
8
|
-
"repetition_penalty_range":
|
|
6
|
+
"tail_free_sampling": 0.975,
|
|
7
|
+
"repetition_penalty": 1.148125,
|
|
8
|
+
"repetition_penalty_range": 2048,
|
|
9
9
|
"repetition_penalty_frequency": 0,
|
|
10
10
|
"repetition_penalty_presence": 0,
|
|
11
|
-
"repetition_penalty_slope": 0,
|
|
12
|
-
"max_context":2048
|
|
13
|
-
|
|
11
|
+
"repetition_penalty_slope": 0.09,
|
|
12
|
+
"max_context":2048,
|
|
13
|
+
"top_p": 0.975,
|
|
14
|
+
"top_k": 0,
|
|
15
|
+
"top_a": 1,
|
|
16
|
+
"typical_p": 1
|
|
17
|
+
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"order": [3, 0],
|
|
3
|
-
"temperature": 1.
|
|
2
|
+
"order": [3, 4, 5, 2, 0],
|
|
3
|
+
"temperature": 1.33,
|
|
4
4
|
"max_length": 90,
|
|
5
5
|
"min_length": 1,
|
|
6
|
-
"tail_free_sampling": 0.
|
|
7
|
-
"repetition_penalty": 1.
|
|
8
|
-
"repetition_penalty_range":
|
|
6
|
+
"tail_free_sampling": 0.937,
|
|
7
|
+
"repetition_penalty": 1.05,
|
|
8
|
+
"repetition_penalty_range": 560,
|
|
9
9
|
"repetition_penalty_frequency": 0,
|
|
10
10
|
"repetition_penalty_presence": 0,
|
|
11
|
-
"repetition_penalty_slope": 0,
|
|
12
|
-
"max_context": 2048
|
|
13
|
-
|
|
11
|
+
"repetition_penalty_slope": 0.18,
|
|
12
|
+
"max_context": 2048,
|
|
13
|
+
"top_p": 0.88,
|
|
14
|
+
"top_k": 0,
|
|
15
|
+
"top_a": 0.085,
|
|
16
|
+
"typical_p": 0.985
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [2, 1, 3, 0],
|
|
3
|
+
"temperature": 0.86,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 20,
|
|
7
|
+
"top_p": 0.95,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 1,
|
|
11
|
+
"repetition_penalty": 2.25,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0.09,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [2, 1, 3, 0],
|
|
3
|
+
"temperature": 0.63,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 0,
|
|
7
|
+
"top_p": 0.975,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.975,
|
|
11
|
+
"repetition_penalty": 2.975,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0.09,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context":2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [2, 1, 3, 0],
|
|
3
|
+
"temperature": 0.94,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 12,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.94,
|
|
11
|
+
"repetition_penalty": 2.66,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0.18,
|
|
14
|
+
"repetition_penalty_frequency": 0.013,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [1, 5, 4, 3, 0],
|
|
3
|
+
"temperature": 1.25,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 300,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 0.782,
|
|
9
|
+
"typical_p": 0.95,
|
|
10
|
+
"tail_free_sampling": 0.802,
|
|
11
|
+
"repetition_penalty": 2.075,
|
|
12
|
+
"repetition_penalty_range": 512,
|
|
13
|
+
"repetition_penalty_slope": 0.36,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [0],
|
|
3
|
+
"temperature": 0.6889,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 0,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 1,
|
|
11
|
+
"repetition_penalty": 1,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0,
|
|
14
|
+
"repetition_penalty_frequency": 0.1,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [1, 0, 3]
|
|
3
|
+
"temperature": 1.07,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 264,
|
|
7
|
+
"top_p": 1,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.925,
|
|
11
|
+
"repetition_penalty": 2.165,
|
|
12
|
+
"repetition_penalty_range": 404,
|
|
13
|
+
"repetition_penalty_slope": 0.84,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context":2048
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"order": [3, 0],
|
|
3
|
+
"temperature": 1.348,
|
|
4
|
+
"max_length": 60,
|
|
5
|
+
"min_length": 60,
|
|
6
|
+
"top_k": 64,
|
|
7
|
+
"top_p": 0.909,
|
|
8
|
+
"top_a": 1,
|
|
9
|
+
"typical_p": 1,
|
|
10
|
+
"tail_free_sampling": 0.688,
|
|
11
|
+
"repetition_penalty": 4.967,
|
|
12
|
+
"repetition_penalty_range": 2048,
|
|
13
|
+
"repetition_penalty_slope": 0.09,
|
|
14
|
+
"repetition_penalty_frequency": 0,
|
|
15
|
+
"repetition_penalty_presence": 0,
|
|
16
|
+
"max_context": 2048
|
|
17
|
+
}
|