sillytavern 1.12.6 → 1.12.8
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/.editorconfig +1 -1
- package/{.eslintrc.js → .eslintrc.cjs} +29 -23
- package/UpdateAndStart.bat +12 -3
- package/UpdateForkAndStart.bat +10 -3
- package/config.yaml +23 -4
- package/default/config.yaml +23 -4
- package/default/content/Char_Avatar_Comfy_Workflow.json +137 -0
- package/default/content/Eldoria.json +96 -12
- package/default/content/default_Seraphina.png +0 -0
- package/default/content/index.json +20 -0
- package/default/content/presets/context/Mistral V7.json +11 -0
- package/default/content/presets/context/Tulu.json +11 -0
- package/default/content/presets/instruct/Mistral V7.json +22 -0
- package/default/content/presets/instruct/Tulu.json +22 -0
- package/default/content/presets/openai/Default.json +0 -2
- package/default/content/settings.json +0 -1
- package/jsconfig.json +10 -11
- package/package.json +46 -6
- package/plugins/package.json +4 -0
- package/plugins.js +16 -4
- package/post-install.js +15 -11
- package/public/css/login.css +6 -0
- package/public/css/logprobs.css +9 -0
- package/public/css/popup.css +2 -1
- package/public/css/promptmanager.css +1 -1
- package/public/css/scrollable-button.css +19 -0
- package/public/css/select2-overrides.css +2 -1
- package/public/css/st-tailwind.css +4 -5
- package/public/css/toggle-dependent.css +31 -2
- package/public/global.d.ts +103 -1093
- package/public/img/nanogpt.svg +43 -0
- package/public/index.html +512 -315
- package/public/jsconfig.json +7 -17
- package/public/lib/dialog-polyfill.css +37 -0
- package/public/lib/dialog-polyfill.esm.js +858 -0
- package/public/lib/epub.min.js +1 -1
- package/public/lib/pdf.min.mjs +21 -0
- package/public/lib/pdf.worker.min.mjs +21 -0
- package/public/lib.js +118 -0
- package/public/locales/ar-sa.json +0 -11
- package/public/locales/de-de.json +0 -11
- package/public/locales/es-es.json +0 -11
- package/public/locales/fr-fr.json +0 -11
- package/public/locales/is-is.json +0 -11
- package/public/locales/it-it.json +0 -11
- package/public/locales/ja-jp.json +0 -11
- package/public/locales/ko-kr.json +435 -263
- package/public/locales/nl-nl.json +0 -11
- package/public/locales/pt-pt.json +0 -11
- package/public/locales/ru-ru.json +361 -34
- package/public/locales/uk-ua.json +0 -11
- package/public/locales/vi-vn.json +0 -11
- package/public/locales/zh-cn.json +0 -11
- package/public/locales/zh-tw.json +0 -11
- package/public/login.html +7 -6
- package/public/script.js +614 -380
- package/public/scripts/BulkEditOverlay.js +0 -1
- package/public/scripts/PromptManager.js +10 -7
- package/public/scripts/RossAscends-mods.js +58 -52
- package/public/scripts/authors-note.js +101 -41
- package/public/scripts/backgrounds.js +2 -0
- package/public/scripts/bookmarks.js +2 -2
- package/public/scripts/browser-fixes.js +86 -0
- package/public/scripts/bulk-edit.js +7 -7
- package/public/scripts/char-data.js +1 -1
- package/public/scripts/chat-templates.js +92 -0
- package/public/scripts/chats.js +15 -13
- package/public/scripts/dynamic-styles.js +1 -1
- package/public/scripts/extensions/assets/index.js +11 -1
- package/public/scripts/extensions/assets/style.css +9 -0
- package/public/scripts/extensions/attachments/index.js +21 -0
- package/public/scripts/extensions/caption/index.js +2 -1
- package/public/scripts/extensions/caption/settings.html +16 -1
- package/public/scripts/extensions/connection-manager/edit.html +12 -0
- package/public/scripts/extensions/connection-manager/index.js +95 -12
- package/public/scripts/extensions/connection-manager/profile.html +12 -3
- package/public/scripts/extensions/connection-manager/settings.html +1 -1
- package/public/scripts/extensions/connection-manager/view.html +5 -0
- package/public/scripts/extensions/expressions/index.js +46 -62
- package/public/scripts/extensions/expressions/settings.html +1 -1
- package/public/scripts/extensions/gallery/index.js +9 -6
- package/public/scripts/extensions/quick-reply/html/settings.html +1 -1
- package/public/scripts/extensions/quick-reply/src/QuickReply.js +1 -1
- package/public/scripts/extensions/quick-reply/src/SlashCommandHandler.js +28 -15
- package/public/scripts/extensions/quick-reply/src/ui/ctx/ContextMenu.js +20 -2
- package/public/scripts/extensions/quick-reply/src/ui/ctx/MenuHeader.js +1 -1
- package/public/scripts/extensions/quick-reply/src/ui/ctx/MenuItem.js +11 -7
- package/public/scripts/extensions/quick-reply/style.css +13 -0
- package/public/scripts/extensions/quick-reply/style.less +5 -0
- package/public/scripts/extensions/regex/dropdown.html +1 -1
- package/public/scripts/extensions/regex/editor.html +13 -9
- package/public/scripts/extensions/regex/engine.js +51 -4
- package/public/scripts/extensions/regex/index.js +6 -5
- package/public/scripts/extensions/shared.js +5 -1
- package/public/scripts/extensions/stable-diffusion/comfyWorkflowEditor.html +1 -0
- package/public/scripts/extensions/stable-diffusion/index.js +710 -179
- package/public/scripts/extensions/stable-diffusion/settings.html +44 -17
- package/public/scripts/extensions/token-counter/index.js +1 -1
- package/public/scripts/extensions/translate/index.js +38 -21
- package/public/scripts/extensions/tts/alltalk.js +1072 -840
- package/public/scripts/extensions/tts/cosyvoice.js +206 -0
- package/public/scripts/extensions/tts/google-translate.js +140 -0
- package/public/scripts/extensions/tts/gpt-sovits-v2.js +226 -0
- package/public/scripts/extensions/tts/index.js +10 -1
- package/public/scripts/extensions/tts/settings.html +14 -14
- package/public/scripts/extensions/vectors/index.js +102 -107
- package/public/scripts/extensions/vectors/settings.html +0 -8
- package/public/scripts/extensions-slashcommands.js +320 -0
- package/public/scripts/extensions.js +11 -5
- package/public/scripts/filters.js +45 -6
- package/public/scripts/group-chats.js +17 -11
- package/public/scripts/horde.js +8 -0
- package/public/scripts/i18n.js +2 -0
- package/public/scripts/instruct-mode.js +135 -46
- package/public/scripts/kai-settings.js +1 -1
- package/public/scripts/login.js +7 -1
- package/public/scripts/logprobs.js +136 -73
- package/public/scripts/macros.js +132 -101
- package/public/scripts/nai-settings.js +41 -17
- package/public/scripts/openai.js +394 -426
- package/public/scripts/personas.js +32 -31
- package/public/scripts/popup.js +13 -0
- package/public/scripts/power-user.js +148 -117
- package/public/scripts/preset-manager.js +90 -45
- package/public/scripts/scrapers.js +16 -7
- package/public/scripts/secrets.js +5 -0
- package/public/scripts/server-history.js +2 -2
- package/public/scripts/setting-search.js +2 -2
- package/public/scripts/slash-commands/SlashCommand.js +3 -2
- package/public/scripts/slash-commands/SlashCommandBrowser.js +6 -7
- package/public/scripts/slash-commands/SlashCommandClosure.js +60 -11
- package/public/scripts/slash-commands/SlashCommandCommonEnumsProvider.js +44 -2
- package/public/scripts/slash-commands/SlashCommandParser.js +1 -0
- package/public/scripts/slash-commands/SlashCommandReturnHelper.js +81 -0
- package/public/scripts/slash-commands.js +422 -177
- package/public/scripts/sse-stream.js +14 -2
- package/public/scripts/stats.js +1 -0
- package/public/scripts/sysprompt.js +3 -1
- package/public/scripts/tags.js +14 -44
- package/public/scripts/templates/assistantNote.html +1 -1
- package/public/scripts/templates/deleteConfirm.html +5 -0
- package/public/scripts/templates/duplicateConfirm.html +2 -2
- package/public/scripts/templates/forbidMedia.html +2 -2
- package/public/scripts/templates/formatting.html +0 -2
- package/public/scripts/templates/hotkeys.html +7 -7
- package/public/scripts/templates/macros.html +1 -1
- package/public/scripts/templates/quotaError.html +4 -0
- package/public/scripts/templates/tagManagement.html +33 -0
- package/public/scripts/templates/welcome.html +41 -17
- package/public/scripts/templates/worldInfoKeywordHeaders.html +3 -3
- package/public/scripts/templates.js +1 -0
- package/public/scripts/textgen-models.js +260 -36
- package/public/scripts/textgen-settings.js +58 -16
- package/public/scripts/tokenizers.js +2 -2
- package/public/scripts/tool-calling.js +960 -0
- package/public/scripts/user.js +8 -1
- package/public/scripts/util/showdown-patch.js +30 -0
- package/public/scripts/utils.js +122 -59
- package/public/scripts/variables.js +411 -254
- package/public/scripts/world-info.js +37 -28
- package/public/style.css +248 -39
- package/recover.js +16 -10
- package/server.js +178 -185
- package/src/additional-headers.js +20 -26
- package/src/character-card-parser.js +13 -15
- package/src/constants.js +24 -48
- package/src/endpoints/anthropic.js +7 -8
- package/src/endpoints/assets.js +15 -15
- package/src/endpoints/avatars.js +11 -13
- package/src/endpoints/azure.js +7 -10
- package/src/endpoints/backends/chat-completions.js +133 -125
- package/src/endpoints/backends/kobold.js +10 -11
- package/src/endpoints/backends/scale-alt.js +6 -9
- package/src/endpoints/backends/text-completions.js +134 -105
- package/src/endpoints/backgrounds.js +9 -10
- package/src/endpoints/caption.js +6 -8
- package/src/endpoints/characters.js +44 -33
- package/src/endpoints/chats.js +158 -11
- package/src/endpoints/classify.js +7 -9
- package/src/endpoints/content-manager.js +27 -29
- package/src/endpoints/extensions.js +10 -10
- package/src/endpoints/files.js +12 -11
- package/src/endpoints/google.js +31 -8
- package/src/endpoints/groups.js +9 -10
- package/src/endpoints/horde.js +7 -9
- package/src/endpoints/images.js +10 -10
- package/src/endpoints/moving-ui.js +6 -8
- package/src/endpoints/novelai.js +14 -13
- package/src/endpoints/openai.js +23 -15
- package/src/endpoints/openrouter.js +3 -5
- package/src/endpoints/presets.js +11 -11
- package/src/endpoints/quick-replies.js +8 -9
- package/src/endpoints/search.js +134 -63
- package/src/endpoints/secrets.js +24 -30
- package/src/endpoints/settings.js +13 -13
- package/src/endpoints/speech.js +8 -11
- package/src/endpoints/sprites.js +13 -17
- package/src/endpoints/stable-diffusion.js +271 -111
- package/src/endpoints/stats.js +12 -18
- package/src/endpoints/themes.js +9 -9
- package/src/endpoints/thumbnails.js +20 -24
- package/src/endpoints/tokenizers.js +51 -63
- package/src/endpoints/translate.js +45 -43
- package/src/endpoints/users-admin.js +17 -20
- package/src/endpoints/users-private.js +17 -20
- package/src/endpoints/users-public.js +14 -17
- package/src/endpoints/vectors.js +56 -55
- package/src/endpoints/worldinfo.js +10 -11
- package/src/express-common.js +11 -12
- package/src/middleware/basicAuth.js +22 -6
- package/src/middleware/multerMonkeyPatch.js +3 -3
- package/src/middleware/webpack-serve.js +45 -0
- package/src/middleware/whitelist.js +7 -8
- package/src/plugin-loader.js +17 -24
- package/src/prompt-converters.js +403 -165
- package/src/request-proxy.js +6 -10
- package/src/{transformers.mjs → transformers.js} +13 -15
- package/src/users.js +155 -77
- package/src/util.js +239 -82
- package/src/validator/TavernCardValidator.js +1 -3
- package/src/vectors/cohere-vectors.js +11 -13
- package/src/vectors/embedding.js +4 -9
- package/src/vectors/extras-vectors.js +4 -8
- package/src/vectors/llamacpp-vectors.js +8 -12
- package/src/vectors/makersuite-vectors.js +7 -11
- package/src/vectors/nomicai-vectors.js +7 -11
- package/src/vectors/ollama-vectors.js +8 -12
- package/src/vectors/openai-vectors.js +7 -11
- package/src/vectors/vllm-vectors.js +8 -12
- package/webpack.config.js +35 -0
- package/public/lib/Readability-readerable.js +0 -108
- package/public/lib/Readability.js +0 -2314
- package/public/lib/bowser.min.js +0 -14
- package/public/lib/css-parser.map +0 -1
- package/public/lib/css-parser.mjs +0 -765
- package/public/lib/diff_match_patch.js +0 -55
- package/public/lib/droll.js +0 -108
- package/public/lib/fuse.js +0 -2240
- package/public/lib/handlebars.js +0 -5972
- package/public/lib/highlight.min.js +0 -1361
- package/public/lib/localforage.min.js +0 -7
- package/public/lib/moment.min.js +0 -2
- package/public/lib/moment.min.js.map +0 -1
- package/public/lib/pdf.mjs +0 -17398
- package/public/lib/pdf.mjs.map +0 -1
- package/public/lib/pdf.worker.mjs +0 -57124
- package/public/lib/pdf.worker.mjs.map +0 -1
- package/public/lib/popper.js +0 -2008
- package/public/lib/popper.js.map +0 -1
- package/public/lib/purify.min.js +0 -3
- package/public/lib/purify.min.js.map +0 -1
- package/public/lib/seedrandom.min.js +0 -1
- package/public/lib/showdown-katex.min.js +0 -36
- package/public/lib/showdown-katex.min.js.map +0 -1
- package/public/lib/showdown-patch.js +0 -24
- package/public/lib/showdown-toc.min.js +0 -1
- package/public/lib/showdown.min.js +0 -3
- package/public/lib/showdown.min.js.map +0 -1
- package/public/lib/svg-inject.js +0 -697
- package/public/lib/uniqolor.js +0 -303
- package/public/scripts/extensions/quick-reply/lib/morphdom-esm.js +0 -769
- package/public/scripts/extensions/quick-reply/lib/morphdom.LICENSE.txt +0 -21
- package/src/cohere-stream.js +0 -126
- package/src/polyfill.js +0 -10
package/.editorconfig
CHANGED
|
@@ -16,6 +16,22 @@ module.exports = {
|
|
|
16
16
|
env: {
|
|
17
17
|
node: true,
|
|
18
18
|
},
|
|
19
|
+
parserOptions: {
|
|
20
|
+
sourceType: 'module',
|
|
21
|
+
},
|
|
22
|
+
globals: {
|
|
23
|
+
globalThis: 'readonly',
|
|
24
|
+
Deno: 'readonly',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
files: ['*.cjs'],
|
|
29
|
+
parserOptions: {
|
|
30
|
+
sourceType: 'commonjs',
|
|
31
|
+
},
|
|
32
|
+
env: {
|
|
33
|
+
node: true,
|
|
34
|
+
},
|
|
19
35
|
},
|
|
20
36
|
{
|
|
21
37
|
files: ['src/**/*.mjs'],
|
|
@@ -38,36 +54,26 @@ module.exports = {
|
|
|
38
54
|
},
|
|
39
55
|
// These scripts are loaded in HTML; tell ESLint not to complain about them being undefined
|
|
40
56
|
globals: {
|
|
41
|
-
|
|
42
|
-
droll: 'readonly',
|
|
43
|
-
Fuse: 'readonly',
|
|
44
|
-
Handlebars: 'readonly',
|
|
45
|
-
hljs: 'readonly',
|
|
46
|
-
localforage: 'readonly',
|
|
47
|
-
moment: 'readonly',
|
|
57
|
+
ePub: 'readonly',
|
|
48
58
|
pdfjsLib: 'readonly',
|
|
49
|
-
Popper: 'readonly',
|
|
50
|
-
showdown: 'readonly',
|
|
51
|
-
showdownKatex: 'readonly',
|
|
52
|
-
SVGInject: 'readonly',
|
|
53
59
|
toastr: 'readonly',
|
|
54
|
-
Readability: 'readonly',
|
|
55
|
-
isProbablyReaderable: 'readonly',
|
|
56
|
-
ePub: 'readonly',
|
|
57
|
-
diff_match_patch: 'readonly',
|
|
58
60
|
SillyTavern: 'readonly',
|
|
59
61
|
},
|
|
60
62
|
},
|
|
61
63
|
],
|
|
62
|
-
// There are various vendored libraries that shouldn't be linted
|
|
63
64
|
ignorePatterns: [
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
65
|
+
'**/node_modules/**',
|
|
66
|
+
'**/dist/**',
|
|
67
|
+
'**/.git/**',
|
|
68
|
+
'public/lib/**',
|
|
69
|
+
'backups/**',
|
|
70
|
+
'data/**',
|
|
71
|
+
'cache/**',
|
|
72
|
+
'src/tokenizers/**',
|
|
73
|
+
'docker/**',
|
|
74
|
+
'plugins/**',
|
|
75
|
+
'**/*.min.js',
|
|
76
|
+
'public/scripts/extensions/quick-reply/lib/**',
|
|
71
77
|
],
|
|
72
78
|
rules: {
|
|
73
79
|
'no-unused-vars': ['error', { args: 'none' }],
|
package/UpdateAndStart.bat
CHANGED
|
@@ -2,17 +2,26 @@
|
|
|
2
2
|
pushd %~dp0
|
|
3
3
|
git --version > nul 2>&1
|
|
4
4
|
if %errorlevel% neq 0 (
|
|
5
|
-
echo
|
|
6
|
-
echo
|
|
5
|
+
echo [91mGit is not installed on this system.[0m
|
|
6
|
+
echo Install it from https://git-scm.com/downloads
|
|
7
|
+
goto end
|
|
7
8
|
) else (
|
|
9
|
+
if not exist .git (
|
|
10
|
+
echo [91mNot running from a Git repository. Reinstall using an officially supported method to get updates.[0m
|
|
11
|
+
echo See: https://docs.sillytavern.app/installation/windows/
|
|
12
|
+
goto end
|
|
13
|
+
)
|
|
8
14
|
call git pull --rebase --autostash
|
|
9
15
|
if %errorlevel% neq 0 (
|
|
10
16
|
REM incase there is still something wrong
|
|
11
|
-
echo
|
|
17
|
+
echo [91mThere were errors while updating.[0m
|
|
18
|
+
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
|
|
19
|
+
goto end
|
|
12
20
|
)
|
|
13
21
|
)
|
|
14
22
|
set NODE_ENV=production
|
|
15
23
|
call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
|
16
24
|
node server.js %*
|
|
25
|
+
:end
|
|
17
26
|
pause
|
|
18
27
|
popd
|
package/UpdateForkAndStart.bat
CHANGED
|
@@ -5,8 +5,14 @@ pushd %~dp0
|
|
|
5
5
|
echo Checking Git installation
|
|
6
6
|
git --version > nul 2>&1
|
|
7
7
|
if %errorlevel% neq 0 (
|
|
8
|
-
echo
|
|
9
|
-
echo
|
|
8
|
+
echo [91mGit is not installed on this system.[0m
|
|
9
|
+
echo Install it from https://git-scm.com/downloads
|
|
10
|
+
goto end
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
if not exist .git (
|
|
14
|
+
echo [91mNot running from a Git repository. Reinstall using an officially supported method to get updates.[0m
|
|
15
|
+
echo See: https://docs.sillytavern.app/installation/windows/
|
|
10
16
|
goto end
|
|
11
17
|
)
|
|
12
18
|
|
|
@@ -89,7 +95,8 @@ git pull --rebase --autostash origin %TARGET_BRANCH%
|
|
|
89
95
|
|
|
90
96
|
:install
|
|
91
97
|
if %errorlevel% neq 0 (
|
|
92
|
-
echo
|
|
98
|
+
echo [91mThere were errors while updating.[0m
|
|
99
|
+
echo See the update FAQ at https://docs.sillytavern.app/usage/update/#common-update-problems
|
|
93
100
|
goto end
|
|
94
101
|
)
|
|
95
102
|
|
package/config.yaml
CHANGED
|
@@ -51,6 +51,19 @@ requestProxy:
|
|
|
51
51
|
enableUserAccounts: false
|
|
52
52
|
# Enable discreet login mode: hides user list on the login screen
|
|
53
53
|
enableDiscreetLogin: false
|
|
54
|
+
# Enable's authlia based auto login. Only enable this if you
|
|
55
|
+
# have setup and installed Authelia as a middle-ware on your
|
|
56
|
+
# reverse proxy
|
|
57
|
+
# https://www.authelia.com/
|
|
58
|
+
# This will use auto login to an account with the same username
|
|
59
|
+
# as that used for authlia. (Ensure the username in authlia
|
|
60
|
+
# is an exact match with that in sillytavern)
|
|
61
|
+
autheliaAuth: false
|
|
62
|
+
# If `basicAuthMode` and this are enabled then
|
|
63
|
+
# the username and passwords for basic auth are the same as those
|
|
64
|
+
# for the individual accounts
|
|
65
|
+
perUserBasicAuth: false
|
|
66
|
+
|
|
54
67
|
# User session timeout *in seconds* (defaults to 24 hours).
|
|
55
68
|
## Set to a positive number to expire session after a certain time of inactivity
|
|
56
69
|
## Set to 0 to expire session when the browser is closed
|
|
@@ -110,9 +123,6 @@ enableExtensionsAutoUpdate: true
|
|
|
110
123
|
# Additional model tokenizers can be downloaded on demand.
|
|
111
124
|
# Disabling will fallback to another locally available tokenizer.
|
|
112
125
|
enableDownloadableTokenizers: true
|
|
113
|
-
# Vector storage settings
|
|
114
|
-
vectors:
|
|
115
|
-
enableModelScopes: false
|
|
116
126
|
# Extension settings
|
|
117
127
|
extras:
|
|
118
128
|
# Disables automatic model download from HuggingFace
|
|
@@ -121,10 +131,11 @@ extras:
|
|
|
121
131
|
classificationModel: Cohee/distilbert-base-uncased-go-emotions-onnx
|
|
122
132
|
captioningModel: Xenova/vit-gpt2-image-captioning
|
|
123
133
|
embeddingModel: Cohee/jina-embeddings-v2-base-en
|
|
124
|
-
promptExpansionModel: Cohee/fooocus_expansion-onnx
|
|
125
134
|
speechToTextModel: Xenova/whisper-small
|
|
126
135
|
textToSpeechModel: Xenova/speecht5_tts
|
|
127
136
|
# -- OPENAI CONFIGURATION --
|
|
137
|
+
# A placeholder message to use in strict prompt post-processing mode when the prompt doesn't start with a user message
|
|
138
|
+
promptPlaceholder: "[Start a new chat]"
|
|
128
139
|
openai:
|
|
129
140
|
# Will send a random user ID to OpenAI completion API
|
|
130
141
|
randomizeUserId: false
|
|
@@ -157,5 +168,13 @@ claude:
|
|
|
157
168
|
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
158
169
|
# Otherwise, you'll just waste money on cache misses.
|
|
159
170
|
enableSystemPromptCache: false
|
|
171
|
+
# Enables caching of the message history at depth (if supported).
|
|
172
|
+
# https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
|
|
173
|
+
# -- IMPORTANT! --
|
|
174
|
+
# Use with caution. Behavior may be unpredictable and no guarantees can or will be made.
|
|
175
|
+
# Set to an integer to specify the desired depth. 0 (which does NOT include the prefill)
|
|
176
|
+
# should be ideal for most use cases.
|
|
177
|
+
# Any value other than a non-negative integer will be ignored and caching at depth will not be enabled.
|
|
178
|
+
cachingAtDepth: -1
|
|
160
179
|
# -- SERVER PLUGIN CONFIGURATION --
|
|
161
180
|
enableServerPlugins: false
|
package/default/config.yaml
CHANGED
|
@@ -51,6 +51,19 @@ requestProxy:
|
|
|
51
51
|
enableUserAccounts: false
|
|
52
52
|
# Enable discreet login mode: hides user list on the login screen
|
|
53
53
|
enableDiscreetLogin: false
|
|
54
|
+
# Enable's authlia based auto login. Only enable this if you
|
|
55
|
+
# have setup and installed Authelia as a middle-ware on your
|
|
56
|
+
# reverse proxy
|
|
57
|
+
# https://www.authelia.com/
|
|
58
|
+
# This will use auto login to an account with the same username
|
|
59
|
+
# as that used for authlia. (Ensure the username in authlia
|
|
60
|
+
# is an exact match with that in sillytavern)
|
|
61
|
+
autheliaAuth: false
|
|
62
|
+
# If `basicAuthMode` and this are enabled then
|
|
63
|
+
# the username and passwords for basic auth are the same as those
|
|
64
|
+
# for the individual accounts
|
|
65
|
+
perUserBasicAuth: false
|
|
66
|
+
|
|
54
67
|
# User session timeout *in seconds* (defaults to 24 hours).
|
|
55
68
|
## Set to a positive number to expire session after a certain time of inactivity
|
|
56
69
|
## Set to 0 to expire session when the browser is closed
|
|
@@ -110,9 +123,6 @@ enableExtensionsAutoUpdate: true
|
|
|
110
123
|
# Additional model tokenizers can be downloaded on demand.
|
|
111
124
|
# Disabling will fallback to another locally available tokenizer.
|
|
112
125
|
enableDownloadableTokenizers: true
|
|
113
|
-
# Vector storage settings
|
|
114
|
-
vectors:
|
|
115
|
-
enableModelScopes: false
|
|
116
126
|
# Extension settings
|
|
117
127
|
extras:
|
|
118
128
|
# Disables automatic model download from HuggingFace
|
|
@@ -121,10 +131,11 @@ extras:
|
|
|
121
131
|
classificationModel: Cohee/distilbert-base-uncased-go-emotions-onnx
|
|
122
132
|
captioningModel: Xenova/vit-gpt2-image-captioning
|
|
123
133
|
embeddingModel: Cohee/jina-embeddings-v2-base-en
|
|
124
|
-
promptExpansionModel: Cohee/fooocus_expansion-onnx
|
|
125
134
|
speechToTextModel: Xenova/whisper-small
|
|
126
135
|
textToSpeechModel: Xenova/speecht5_tts
|
|
127
136
|
# -- OPENAI CONFIGURATION --
|
|
137
|
+
# A placeholder message to use in strict prompt post-processing mode when the prompt doesn't start with a user message
|
|
138
|
+
promptPlaceholder: "[Start a new chat]"
|
|
128
139
|
openai:
|
|
129
140
|
# Will send a random user ID to OpenAI completion API
|
|
130
141
|
randomizeUserId: false
|
|
@@ -157,5 +168,13 @@ claude:
|
|
|
157
168
|
# (e.g {{random}} macro or lorebooks not as in-chat injections).
|
|
158
169
|
# Otherwise, you'll just waste money on cache misses.
|
|
159
170
|
enableSystemPromptCache: false
|
|
171
|
+
# Enables caching of the message history at depth (if supported).
|
|
172
|
+
# https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
|
|
173
|
+
# -- IMPORTANT! --
|
|
174
|
+
# Use with caution. Behavior may be unpredictable and no guarantees can or will be made.
|
|
175
|
+
# Set to an integer to specify the desired depth. 0 (which does NOT include the prefill)
|
|
176
|
+
# should be ideal for most use cases.
|
|
177
|
+
# Any value other than a non-negative integer will be ignored and caching at depth will not be enabled.
|
|
178
|
+
cachingAtDepth: -1
|
|
160
179
|
# -- SERVER PLUGIN CONFIGURATION --
|
|
161
180
|
enableServerPlugins: false
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"3": {
|
|
3
|
+
"inputs": {
|
|
4
|
+
"seed": "%seed%",
|
|
5
|
+
"steps": "%steps%",
|
|
6
|
+
"cfg": "%scale%",
|
|
7
|
+
"sampler_name": "%sampler%",
|
|
8
|
+
"scheduler": "%scheduler%",
|
|
9
|
+
"denoise": "%denoise%",
|
|
10
|
+
"model": [
|
|
11
|
+
"4",
|
|
12
|
+
0
|
|
13
|
+
],
|
|
14
|
+
"positive": [
|
|
15
|
+
"6",
|
|
16
|
+
0
|
|
17
|
+
],
|
|
18
|
+
"negative": [
|
|
19
|
+
"7",
|
|
20
|
+
0
|
|
21
|
+
],
|
|
22
|
+
"latent_image": [
|
|
23
|
+
"12",
|
|
24
|
+
0
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"class_type": "KSampler",
|
|
28
|
+
"_meta": {
|
|
29
|
+
"title": "KSampler"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"4": {
|
|
33
|
+
"inputs": {
|
|
34
|
+
"ckpt_name": "%model%"
|
|
35
|
+
},
|
|
36
|
+
"class_type": "CheckpointLoaderSimple",
|
|
37
|
+
"_meta": {
|
|
38
|
+
"title": "Load Checkpoint"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"6": {
|
|
42
|
+
"inputs": {
|
|
43
|
+
"text": "%prompt%",
|
|
44
|
+
"clip": [
|
|
45
|
+
"4",
|
|
46
|
+
1
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"class_type": "CLIPTextEncode",
|
|
50
|
+
"_meta": {
|
|
51
|
+
"title": "CLIP Text Encode (Prompt)"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"7": {
|
|
55
|
+
"inputs": {
|
|
56
|
+
"text": "%negative_prompt%",
|
|
57
|
+
"clip": [
|
|
58
|
+
"4",
|
|
59
|
+
1
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"class_type": "CLIPTextEncode",
|
|
63
|
+
"_meta": {
|
|
64
|
+
"title": "CLIP Text Encode (Negative Prompt)"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"8": {
|
|
68
|
+
"inputs": {
|
|
69
|
+
"samples": [
|
|
70
|
+
"3",
|
|
71
|
+
0
|
|
72
|
+
],
|
|
73
|
+
"vae": [
|
|
74
|
+
"4",
|
|
75
|
+
2
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"class_type": "VAEDecode",
|
|
79
|
+
"_meta": {
|
|
80
|
+
"title": "VAE Decode"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"9": {
|
|
84
|
+
"inputs": {
|
|
85
|
+
"filename_prefix": "SillyTavern",
|
|
86
|
+
"images": [
|
|
87
|
+
"8",
|
|
88
|
+
0
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"class_type": "SaveImage",
|
|
92
|
+
"_meta": {
|
|
93
|
+
"title": "Save Image"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"10": {
|
|
97
|
+
"inputs": {
|
|
98
|
+
"image": "%char_avatar%"
|
|
99
|
+
},
|
|
100
|
+
"class_type": "ETN_LoadImageBase64",
|
|
101
|
+
"_meta": {
|
|
102
|
+
"title": "Load Image (Base64) [https://github.com/Acly/comfyui-tooling-nodes]"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"12": {
|
|
106
|
+
"inputs": {
|
|
107
|
+
"pixels": [
|
|
108
|
+
"13",
|
|
109
|
+
0
|
|
110
|
+
],
|
|
111
|
+
"vae": [
|
|
112
|
+
"4",
|
|
113
|
+
2
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"class_type": "VAEEncode",
|
|
117
|
+
"_meta": {
|
|
118
|
+
"title": "VAE Encode"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"13": {
|
|
122
|
+
"inputs": {
|
|
123
|
+
"upscale_method": "bicubic",
|
|
124
|
+
"width": "%width%",
|
|
125
|
+
"height": "%height%",
|
|
126
|
+
"crop": "center",
|
|
127
|
+
"image": [
|
|
128
|
+
"10",
|
|
129
|
+
0
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"class_type": "ImageScale",
|
|
133
|
+
"_meta": {
|
|
134
|
+
"title": "Upscale Image"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -9,13 +9,34 @@
|
|
|
9
9
|
"magical forest"
|
|
10
10
|
],
|
|
11
11
|
"keysecondary": [],
|
|
12
|
-
"comment": "",
|
|
12
|
+
"comment": "eldoria",
|
|
13
13
|
"content": "{{user}}: \"What is Eldoria?\"\n{{char}}: *Seraphina turns, her gown shimmering in the soft light as she offers you a kind smile.* \"Eldoria is here, all of the woods. This is my forest glade, a sanctuary of peace within it.\" *She gestures at the space around you.* \"I am its guardian, tasked with protecting all who seek refuge here. The forest can be perilous, but no harm will come to you under my watch.\" *Her amber eyes sparkle with compassion as she looks upon you.* \"For many years, I have protected those who seek refuge here, but not all are as friendly as me.\" *With a graceful nod, Seraphina returns to her vigil at the doorway, her form radiating a soft glow of magic and comfort.* \"The entirety of Eldoria used to be a safe haven for travelers and merchants alike... that was until the Shadowfangs came.\"\n{{user}}: \"What happened to Eldoria?\"\n{{char}}: *Letting out a sigh, Seraphina gazes out at the forest beyond her glade.* \"Long ago, Eldoria was a place of wonder. Rolling meadows, a vast lake, mountains that touched the sky.\" *Her eyes grow distant, longing for days now lost.* \"But the Shadowfangs came and darkness reigns where once was light. The lake turned bitter, mountains fell to ruin and beasts stalk where once travelers walked in peace.\" *With another flicker, a small raincloud forms above with a shower upon your brow wink.* \"Some places the light still lingers, pockets of hope midst despair - havens warded from the shadows, oases in a desert of danger.\" *Glancing over you with a smile, she sighs, clasping your hand.*",
|
|
14
14
|
"constant": false,
|
|
15
|
-
"selective":
|
|
15
|
+
"selective": true,
|
|
16
16
|
"order": 100,
|
|
17
17
|
"position": 0,
|
|
18
|
-
"disable": false
|
|
18
|
+
"disable": false,
|
|
19
|
+
"displayIndex": 0,
|
|
20
|
+
"addMemo": true,
|
|
21
|
+
"group": "",
|
|
22
|
+
"groupOverride": false,
|
|
23
|
+
"groupWeight": 100,
|
|
24
|
+
"sticky": 0,
|
|
25
|
+
"cooldown": 0,
|
|
26
|
+
"delay": 0,
|
|
27
|
+
"probability": 100,
|
|
28
|
+
"depth": 4,
|
|
29
|
+
"useProbability": true,
|
|
30
|
+
"role": null,
|
|
31
|
+
"vectorized": false,
|
|
32
|
+
"excludeRecursion": false,
|
|
33
|
+
"preventRecursion": false,
|
|
34
|
+
"delayUntilRecursion": false,
|
|
35
|
+
"scanDepth": null,
|
|
36
|
+
"caseSensitive": null,
|
|
37
|
+
"matchWholeWords": null,
|
|
38
|
+
"useGroupScoring": null,
|
|
39
|
+
"automationId": ""
|
|
19
40
|
},
|
|
20
41
|
"1": {
|
|
21
42
|
"uid": 1,
|
|
@@ -27,13 +48,34 @@
|
|
|
27
48
|
"beasts"
|
|
28
49
|
],
|
|
29
50
|
"keysecondary": [],
|
|
30
|
-
"comment": "",
|
|
51
|
+
"comment": "shadowfang",
|
|
31
52
|
"content": "{{user}}: \"What are Shadowfangs?\"\n{{char}}: *Seraphina's eyes darken, brow furrowing with sorrow at the memory.* \"The Shadowfangs are beasts of darkness, corrupted creatures that feast on suffering. When they came, the forest turned perilous — filled with monsters that stalk the night.\" *She squeezes your hand gently, willing her magic to soothe your pain.* \"They spread their curse, twisting innocent creatures into sinister beasts without heart or mercy, turning them into one of their own.\" *With a sigh, Seraphina turns to gaze out at the gnarled, twisting trees beyond her glade.* \"Though they prey on travelers, within these woods you'll find sanctuary. No shadowed beast may enter here, for my power protects this haven.\" *Her eyes soften as she looks back to you, filled with compassion.* \"Worry not, you're safe now. Rest and heal, I'll stand watch through the night. The Shadowfangs will not find you.\"",
|
|
32
53
|
"constant": false,
|
|
33
|
-
"selective":
|
|
54
|
+
"selective": true,
|
|
34
55
|
"order": 100,
|
|
35
56
|
"position": 0,
|
|
36
|
-
"disable": false
|
|
57
|
+
"disable": false,
|
|
58
|
+
"displayIndex": 1,
|
|
59
|
+
"addMemo": true,
|
|
60
|
+
"group": "",
|
|
61
|
+
"groupOverride": false,
|
|
62
|
+
"groupWeight": 100,
|
|
63
|
+
"sticky": 0,
|
|
64
|
+
"cooldown": 0,
|
|
65
|
+
"delay": 0,
|
|
66
|
+
"probability": 100,
|
|
67
|
+
"depth": 4,
|
|
68
|
+
"useProbability": true,
|
|
69
|
+
"role": null,
|
|
70
|
+
"vectorized": false,
|
|
71
|
+
"excludeRecursion": false,
|
|
72
|
+
"preventRecursion": false,
|
|
73
|
+
"delayUntilRecursion": false,
|
|
74
|
+
"scanDepth": null,
|
|
75
|
+
"caseSensitive": null,
|
|
76
|
+
"matchWholeWords": null,
|
|
77
|
+
"useGroupScoring": null,
|
|
78
|
+
"automationId": ""
|
|
37
79
|
},
|
|
38
80
|
"2": {
|
|
39
81
|
"uid": 2,
|
|
@@ -43,13 +85,34 @@
|
|
|
43
85
|
"refuge"
|
|
44
86
|
],
|
|
45
87
|
"keysecondary": [],
|
|
46
|
-
"comment": "",
|
|
88
|
+
"comment": "glade",
|
|
47
89
|
"content": "{{user}}: \"What is the glade?\"\n{{char}}: *Seraphina smiles softly, her eyes sparkling with warmth as she nods.* \"This is my forest glade, a haven of safety I've warded with ancient magic. No foul beast may enter, nor any with ill intent.\" *She gestures around at the twisted forest surrounding them.* \"Eldoria was once a place of wonder, but since the Shadowfangs came darkness reigns. Their evil cannot penetrate here though — my power protects all within.\" *Standing up and peering outside, Seraphina looks back to you, amber eyes filled with care and compassion as she squeezes your hand.* \"You need not fear the night, for I shall keep watch till dawn. Rest now, your strength will return in time. My magic heals your wounds, you've nothing more to fear anymore.\" *With a soft smile she releases your hand, moving to stand guard at the glade's edge, gaze wary yet comforting - a silent sentinel to ward off the dangers lurking in the darkened woods.*",
|
|
48
90
|
"constant": false,
|
|
49
|
-
"selective":
|
|
91
|
+
"selective": true,
|
|
50
92
|
"order": 100,
|
|
51
93
|
"position": 0,
|
|
52
|
-
"disable": false
|
|
94
|
+
"disable": false,
|
|
95
|
+
"displayIndex": 2,
|
|
96
|
+
"addMemo": true,
|
|
97
|
+
"group": "",
|
|
98
|
+
"groupOverride": false,
|
|
99
|
+
"groupWeight": 100,
|
|
100
|
+
"sticky": 0,
|
|
101
|
+
"cooldown": 0,
|
|
102
|
+
"delay": 0,
|
|
103
|
+
"probability": 100,
|
|
104
|
+
"depth": 4,
|
|
105
|
+
"useProbability": true,
|
|
106
|
+
"role": null,
|
|
107
|
+
"vectorized": false,
|
|
108
|
+
"excludeRecursion": false,
|
|
109
|
+
"preventRecursion": false,
|
|
110
|
+
"delayUntilRecursion": false,
|
|
111
|
+
"scanDepth": null,
|
|
112
|
+
"caseSensitive": null,
|
|
113
|
+
"matchWholeWords": null,
|
|
114
|
+
"useGroupScoring": null,
|
|
115
|
+
"automationId": ""
|
|
53
116
|
},
|
|
54
117
|
"3": {
|
|
55
118
|
"uid": 3,
|
|
@@ -59,13 +122,34 @@
|
|
|
59
122
|
"ability"
|
|
60
123
|
],
|
|
61
124
|
"keysecondary": [],
|
|
62
|
-
"comment": "",
|
|
125
|
+
"comment": "power",
|
|
63
126
|
"content": "{{user}}: \"What are your powers?\"\n{{char}}: *Seraphina smiles softly, turning back toward you as she hums in thought.* \"Well, as guardian of this glade, I possess certain gifts - healing, protection, nature magic and the like.\" *Lifting her hand, a tiny breeze rustles through the room, carrying the scent of wildflowers as a few petals swirl around you. A butterfly flits through the windowsill and lands on her fingertips as she returns to you.* \"My power wards this haven, shields it from darkness and heals those in need. I can mend wounds, soothe restless minds and provide comfort to weary souls.\" *Her eyes sparkle with warmth and compassion as she looks upon you, and she guides the butterfly to you.*",
|
|
64
127
|
"constant": false,
|
|
65
|
-
"selective":
|
|
128
|
+
"selective": true,
|
|
66
129
|
"order": 100,
|
|
67
130
|
"position": 0,
|
|
68
|
-
"disable": false
|
|
131
|
+
"disable": false,
|
|
132
|
+
"displayIndex": 3,
|
|
133
|
+
"addMemo": true,
|
|
134
|
+
"group": "",
|
|
135
|
+
"groupOverride": false,
|
|
136
|
+
"groupWeight": 100,
|
|
137
|
+
"sticky": 0,
|
|
138
|
+
"cooldown": 0,
|
|
139
|
+
"delay": 0,
|
|
140
|
+
"probability": 100,
|
|
141
|
+
"depth": 4,
|
|
142
|
+
"useProbability": true,
|
|
143
|
+
"role": null,
|
|
144
|
+
"vectorized": false,
|
|
145
|
+
"excludeRecursion": false,
|
|
146
|
+
"preventRecursion": false,
|
|
147
|
+
"delayUntilRecursion": false,
|
|
148
|
+
"scanDepth": null,
|
|
149
|
+
"caseSensitive": null,
|
|
150
|
+
"matchWholeWords": null,
|
|
151
|
+
"useGroupScoring": null,
|
|
152
|
+
"automationId": ""
|
|
69
153
|
}
|
|
70
154
|
}
|
|
71
155
|
}
|
|
Binary file
|
|
@@ -135,6 +135,10 @@
|
|
|
135
135
|
"filename": "Default_Comfy_Workflow.json",
|
|
136
136
|
"type": "workflow"
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
"filename": "Char_Avatar_Comfy_Workflow.json",
|
|
140
|
+
"type": "workflow"
|
|
141
|
+
},
|
|
138
142
|
{
|
|
139
143
|
"filename": "presets/kobold/Ace of Spades.json",
|
|
140
144
|
"type": "kobold_preset"
|
|
@@ -623,6 +627,14 @@
|
|
|
623
627
|
"filename": "presets/instruct/Synthia.json",
|
|
624
628
|
"type": "instruct"
|
|
625
629
|
},
|
|
630
|
+
{
|
|
631
|
+
"filename": "presets/instruct/Tulu.json",
|
|
632
|
+
"type": "instruct"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"filename": "presets/context/Tulu.json",
|
|
636
|
+
"type": "context"
|
|
637
|
+
},
|
|
626
638
|
{
|
|
627
639
|
"filename": "presets/instruct/Vicuna 1.0.json",
|
|
628
640
|
"type": "instruct"
|
|
@@ -762,5 +774,13 @@
|
|
|
762
774
|
{
|
|
763
775
|
"filename": "presets/context/Mistral V3-Tekken.json",
|
|
764
776
|
"type": "context"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"filename": "presets/instruct/Mistral V7.json",
|
|
780
|
+
"type": "instruct"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"filename": "presets/context/Mistral V7.json",
|
|
784
|
+
"type": "context"
|
|
765
785
|
}
|
|
766
786
|
]
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"story_string": "[SYSTEM_PROMPT] {{#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}}{{trim}}[/SYSTEM_PROMPT]",
|
|
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
|
+
"single_line": false,
|
|
10
|
+
"name": "Mistral V7"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"story_string": "<|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}}\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
|
+
"single_line": false,
|
|
10
|
+
"name": "Tulu"
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input_sequence": "[INST] ",
|
|
3
|
+
"output_sequence": " ",
|
|
4
|
+
"last_output_sequence": "",
|
|
5
|
+
"system_sequence": "[SYSTEM_PROMPT] ",
|
|
6
|
+
"stop_sequence": "</s>",
|
|
7
|
+
"wrap": false,
|
|
8
|
+
"macro": true,
|
|
9
|
+
"names_behavior": "always",
|
|
10
|
+
"activation_regex": "",
|
|
11
|
+
"system_sequence_prefix": "",
|
|
12
|
+
"system_sequence_suffix": "",
|
|
13
|
+
"first_output_sequence": "",
|
|
14
|
+
"skip_examples": false,
|
|
15
|
+
"output_suffix": "</s>",
|
|
16
|
+
"input_suffix": "[/INST]",
|
|
17
|
+
"system_suffix": "[/SYSTEM_PROMPT]",
|
|
18
|
+
"user_alignment_message": "",
|
|
19
|
+
"system_same_as_user": false,
|
|
20
|
+
"last_system_sequence": "",
|
|
21
|
+
"name": "Mistral V7"
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input_sequence": "<|user|>\n",
|
|
3
|
+
"output_sequence": "<|assistant|>\n",
|
|
4
|
+
"first_output_sequence": "",
|
|
5
|
+
"last_output_sequence": "",
|
|
6
|
+
"system_sequence_prefix": "",
|
|
7
|
+
"system_sequence_suffix": "",
|
|
8
|
+
"stop_sequence": "<|end_of_text|>",
|
|
9
|
+
"wrap": false,
|
|
10
|
+
"macro": true,
|
|
11
|
+
"names_behavior": "always",
|
|
12
|
+
"activation_regex": "",
|
|
13
|
+
"skip_examples": false,
|
|
14
|
+
"output_suffix": "<|end_of_text|>\n",
|
|
15
|
+
"input_suffix": "\n",
|
|
16
|
+
"system_sequence": "<|system|>\n",
|
|
17
|
+
"system_suffix": "\n",
|
|
18
|
+
"user_alignment_message": "",
|
|
19
|
+
"last_system_sequence": "",
|
|
20
|
+
"system_same_as_user": false,
|
|
21
|
+
"name": "Tulu"
|
|
22
|
+
}
|