diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 81693c5db..58f8ae2eb 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -1,7 +1,7 @@
name: Bug Report 🐛
description: Report something that's not working the intended way. Support requests for external programs (reverse proxies, 3rd party servers, other peoples' forks) will be refused!
title: '[BUG]
'
-labels: ['bug']
+labels: ['🐛 Bug']
body:
- type: dropdown
id: environment
@@ -9,11 +9,11 @@ body:
label: Environment
description: Where are you running SillyTavern?
options:
- - Self-Hosted (Bare Metal)
- - Self-Hosted (Docker)
- - Android (Termux)
- - Cloud Service (Static)
- - Other (Specify below)
+ - 🪟 Windows
+ - 🐧 Linux
+ - 📱 Termux
+ - 🐋 Docker
+ - 🍎 Mac
validations:
required: true
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
index 9494c7224..4180f93da 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -1,7 +1,7 @@
name: Feature Request ✨
description: Suggest an idea for future development of this project
title: '[FEATURE_REQUEST] '
-labels: ['enhancement']
+labels: ['🦄 Feature Request']
body:
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 000000000..850096c9e
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,18 @@
+# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
+#critical:
+# - '(critical|urgent)'
+
+🪟 Windows:
+ - '(🪟 Windows)'
+
+🍎 Mac:
+ - '(🍎 Mac)'
+
+🐋 Docker:
+ - '(🐋 Docker)'
+
+📱 Termux:
+ - '(📱 Termux)'
+
+🐧 Linux:
+ - '(🐧 Linux)'
\ No newline at end of file
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 000000000..554c588b8
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,19 @@
+name: "Issue Labeler"
+on:
+ issues:
+ types: [opened, edited]
+
+permissions:
+ issues: write
+ contents: read
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: github/issue-labeler@v3.4
+ with:
+ configuration-path: .github/labeler.yml
+# not-before: 2020-01-15T02:54:32Z # optional and will result in any issues prior to this timestamp to be ignored.
+ enable-versioned-regex: 0
+ repo-token: ${{ github.token }}
\ No newline at end of file
diff --git a/default/content/index.json b/default/content/index.json
index d7345c84e..8a914b959 100644
--- a/default/content/index.json
+++ b/default/content/index.json
@@ -355,5 +355,161 @@
{
"filename": "presets/openai/Default.json",
"type": "openai_preset"
+ },
+ {
+ "filename": "presets/context/Adventure.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Alpaca-Roleplay.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Alpaca-Single-Turn.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Alpaca.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/ChatML.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Default.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/DreamGen Role-Play V1.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Libra-32B.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Lightning 1.1.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Llama 2 Chat.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Minimalist.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Mistral.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/NovelAI.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/OldDefault.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Pygmalion.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Story.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/Synthia.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/context/simple-proxy-for-tavern.json",
+ "type": "context"
+ },
+ {
+ "filename": "presets/instruct/Adventure.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Alpaca-Roleplay.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Alpaca-Single-Turn.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Alpaca.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/ChatML.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/DreamGen Role-Play V1.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Koala.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Libra-32B.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Lightning 1.1.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Llama 2 Chat.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Metharme.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Mistral.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/OpenOrca-OpenChat.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Pygmalion.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Story.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Synthia.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Vicuna 1.0.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/Vicuna 1.1.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/WizardLM-13B.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/WizardLM.json",
+ "type": "instruct"
+ },
+ {
+ "filename": "presets/instruct/simple-proxy-for-tavern.json",
+ "type": "instruct"
}
]
diff --git a/public/context/Adventure.json b/default/content/presets/context/Adventure.json
similarity index 88%
rename from public/context/Adventure.json
rename to default/content/presets/context/Adventure.json
index 44ae59cc1..3318d518f 100644
--- a/public/context/Adventure.json
+++ b/default/content/presets/context/Adventure.json
@@ -2,6 +2,8 @@
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
"example_separator": "",
"chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
"always_force_name2": false,
"trim_sentences": false,
"include_newline": false,
diff --git a/public/context/Alpaca-Roleplay.json b/default/content/presets/context/Alpaca-Roleplay.json
similarity index 59%
rename from public/context/Alpaca-Roleplay.json
rename to default/content/presets/context/Alpaca-Roleplay.json
index 9565f5873..e7a45c2d8 100644
--- a/public/context/Alpaca-Roleplay.json
+++ b/default/content/presets/context/Alpaca-Roleplay.json
@@ -1,6 +1,12 @@
{
- "name": "Alpaca-Roleplay",
- "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
+ "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}\n\n",
+ "example_separator": "### New Roleplay:",
"chat_start": "### New Roleplay:",
- "example_separator": "### New Roleplay:"
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Alpaca-Roleplay"
}
diff --git a/public/context/Alpaca-Single-Turn.json b/default/content/presets/context/Alpaca-Single-Turn.json
similarity index 95%
rename from public/context/Alpaca-Single-Turn.json
rename to default/content/presets/context/Alpaca-Single-Turn.json
index 7cbf4240d..ea58fe9d5 100644
--- a/public/context/Alpaca-Single-Turn.json
+++ b/default/content/presets/context/Alpaca-Single-Turn.json
@@ -3,6 +3,7 @@
"example_separator": "",
"chat_start": "",
"use_stop_strings": false,
+ "allow_jailbreak": false,
"always_force_name2": false,
"trim_sentences": false,
"include_newline": false,
diff --git a/default/content/presets/context/Alpaca.json b/default/content/presets/context/Alpaca.json
new file mode 100644
index 000000000..6e9418549
--- /dev/null
+++ b/default/content/presets/context/Alpaca.json
@@ -0,0 +1,12 @@
+{
+ "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}\n\n",
+ "example_separator": "",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Alpaca"
+}
diff --git a/public/context/ChatML.json b/default/content/presets/context/ChatML.json
similarity index 64%
rename from public/context/ChatML.json
rename to default/content/presets/context/ChatML.json
index e4e17d623..2184e91d3 100644
--- a/public/context/ChatML.json
+++ b/default/content/presets/context/ChatML.json
@@ -1,6 +1,12 @@
{
- "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}<|im_end|>",
- "chat_start": "",
+ "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}<|im_end|>",
"example_separator": "",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "ChatML"
}
diff --git a/public/context/Default.json b/default/content/presets/context/Default.json
similarity index 59%
rename from public/context/Default.json
rename to default/content/presets/context/Default.json
index 27ec1ea93..7c8a231cf 100644
--- a/public/context/Default.json
+++ b/default/content/presets/context/Default.json
@@ -1,6 +1,12 @@
{
- "name": "Default",
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
+ "example_separator": "***",
"chat_start": "***",
- "example_separator": "***"
-}
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Default"
+}
\ No newline at end of file
diff --git a/public/context/DreamGen Role-Play V1.json b/default/content/presets/context/DreamGen Role-Play V1.json
similarity index 96%
rename from public/context/DreamGen Role-Play V1.json
rename to default/content/presets/context/DreamGen Role-Play V1.json
index 24ed8b574..6698d27fa 100644
--- a/public/context/DreamGen Role-Play V1.json
+++ b/default/content/presets/context/DreamGen Role-Play V1.json
@@ -3,6 +3,7 @@
"example_separator": "",
"chat_start": "",
"use_stop_strings": false,
+ "allow_jailbreak": false,
"always_force_name2": false,
"trim_sentences": true,
"include_newline": false,
diff --git a/public/context/Libra-32B.json b/default/content/presets/context/Libra-32B.json
similarity index 78%
rename from public/context/Libra-32B.json
rename to default/content/presets/context/Libra-32B.json
index 83207c99f..b5dee2872 100644
--- a/public/context/Libra-32B.json
+++ b/default/content/presets/context/Libra-32B.json
@@ -1,6 +1,12 @@
{
"story_string": "### Instruction:\nWrite {{char}}'s next reply in this roleplay with {{user}}. Use the provided character sheet and example dialogue for formatting direction and character speech patterns.\n\n{{#if system}}{{system}}\n\n{{/if}}### Character Sheet:\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
- "chat_start": "### START ROLEPLAY:",
"example_separator": "### Example:",
+ "chat_start": "### START ROLEPLAY:",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "Libra-32B"
}
\ No newline at end of file
diff --git a/public/context/Lightning 1.1.json b/default/content/presets/context/Lightning 1.1.json
similarity index 73%
rename from public/context/Lightning 1.1.json
rename to default/content/presets/context/Lightning 1.1.json
index 97dec26ce..3b0190c92 100644
--- a/public/context/Lightning 1.1.json
+++ b/default/content/presets/context/Lightning 1.1.json
@@ -1,6 +1,12 @@
{
"story_string": "{{system}}\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{char}}'s description:{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality:{{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{user}}'s persona: {{persona}}\n{{/if}}",
- "chat_start": "This is the history of the roleplay:",
"example_separator": "Example of an interaction:",
+ "chat_start": "This is the history of the roleplay:",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "Lightning 1.1"
-}
+}
\ No newline at end of file
diff --git a/default/content/presets/context/Llama 2 Chat.json b/default/content/presets/context/Llama 2 Chat.json
new file mode 100644
index 000000000..be18ad69d
--- /dev/null
+++ b/default/content/presets/context/Llama 2 Chat.json
@@ -0,0 +1,12 @@
+{
+ "story_string": "[INST] <>\n{{#if system}}{{system}}\n<>\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST]",
+ "example_separator": "",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Llama 2 Chat"
+}
diff --git a/public/context/Minimalist.json b/default/content/presets/context/Minimalist.json
similarity index 57%
rename from public/context/Minimalist.json
rename to default/content/presets/context/Minimalist.json
index 92ee66755..cc7550c51 100644
--- a/public/context/Minimalist.json
+++ b/default/content/presets/context/Minimalist.json
@@ -1,6 +1,12 @@
{
- "name": "Minimalist",
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
+ "example_separator": "",
"chat_start": "",
- "example_separator": ""
-}
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Minimalist"
+}
\ No newline at end of file
diff --git a/public/context/Mistral.json b/default/content/presets/context/Mistral.json
similarity index 66%
rename from public/context/Mistral.json
rename to default/content/presets/context/Mistral.json
index 5497a0c18..d9551afe8 100644
--- a/public/context/Mistral.json
+++ b/default/content/presets/context/Mistral.json
@@ -1,6 +1,12 @@
{
- "story_string": "[INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}[/INST]",
- "chat_start": "",
+ "story_string": "[INST] {{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}} [/INST]",
"example_separator": "Examples:",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "Mistral"
-}
\ No newline at end of file
+}
diff --git a/public/context/NovelAI.json b/default/content/presets/context/NovelAI.json
similarity index 58%
rename from public/context/NovelAI.json
rename to default/content/presets/context/NovelAI.json
index b22590ab0..1a7887a90 100644
--- a/public/context/NovelAI.json
+++ b/default/content/presets/context/NovelAI.json
@@ -1,6 +1,12 @@
{
- "name": "NovelAI",
"story_string": "{{#if system}}{{system}}{{/if}}\n{{#if wiBefore}}{{wiBefore}}{{/if}}\n{{#if persona}}{{persona}}{{/if}}\n{{#if description}}{{description}}{{/if}}\n{{#if personality}}Personality: {{personality}}{{/if}}\n{{#if scenario}}Scenario: {{scenario}}{{/if}}\n{{#if wiAfter}}{{wiAfter}}{{/if}}",
+ "example_separator": "***",
"chat_start": "***",
- "example_separator": "***"
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "NovelAI"
}
\ No newline at end of file
diff --git a/public/context/OldDefault.json b/default/content/presets/context/OldDefault.json
similarity index 74%
rename from public/context/OldDefault.json
rename to default/content/presets/context/OldDefault.json
index ff8b2b983..542971f21 100644
--- a/public/context/OldDefault.json
+++ b/default/content/presets/context/OldDefault.json
@@ -1,6 +1,12 @@
{
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Circumstances and context of the dialogue: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
- "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n",
"example_separator": "This is how {{char}} should talk",
+ "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "OldDefault"
}
\ No newline at end of file
diff --git a/default/content/presets/context/Pygmalion.json b/default/content/presets/context/Pygmalion.json
new file mode 100644
index 000000000..68de8c1d0
--- /dev/null
+++ b/default/content/presets/context/Pygmalion.json
@@ -0,0 +1,12 @@
+{
+ "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
+ "example_separator": "",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Pygmalion"
+}
\ No newline at end of file
diff --git a/public/context/Story.json b/default/content/presets/context/Story.json
similarity index 66%
rename from public/context/Story.json
rename to default/content/presets/context/Story.json
index 90e7f09a1..26f70937b 100644
--- a/public/context/Story.json
+++ b/default/content/presets/context/Story.json
@@ -1,6 +1,12 @@
{
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
- "chat_start": "",
"example_separator": "",
+ "chat_start": "",
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
"name": "Story"
}
\ No newline at end of file
diff --git a/public/context/Pygmalion.json b/default/content/presets/context/Synthia.json
similarity index 60%
rename from public/context/Pygmalion.json
rename to default/content/presets/context/Synthia.json
index 1a57d73d7..8bffe47d3 100644
--- a/public/context/Pygmalion.json
+++ b/default/content/presets/context/Synthia.json
@@ -1,6 +1,12 @@
{
- "name": "Pygmalion",
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
+ "example_separator": "",
"chat_start": "",
- "example_separator": ""
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "Synthia"
}
diff --git a/public/context/simple-proxy-for-tavern.json b/default/content/presets/context/simple-proxy-for-tavern.json
similarity index 67%
rename from public/context/simple-proxy-for-tavern.json
rename to default/content/presets/context/simple-proxy-for-tavern.json
index 99e19888a..38003c68d 100644
--- a/public/context/simple-proxy-for-tavern.json
+++ b/default/content/presets/context/simple-proxy-for-tavern.json
@@ -1,6 +1,12 @@
{
- "name": "simple-proxy-for-tavern",
"story_string": "## {{char}}\n- You're \"{{char}}\" in this never-ending roleplay with \"{{user}}\".\n### Input:\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}### Response:\n(OOC) Understood. I will take this info into account for the roleplay. (end OOC)",
+ "example_separator": "### New Roleplay:",
"chat_start": "### New Roleplay:",
- "example_separator": "### New Roleplay:"
-}
+ "use_stop_strings": false,
+ "allow_jailbreak": false,
+ "always_force_name2": true,
+ "trim_sentences": false,
+ "include_newline": false,
+ "single_line": false,
+ "name": "simple-proxy-for-tavern"
+}
\ No newline at end of file
diff --git a/public/instruct/Adventure.json b/default/content/presets/instruct/Adventure.json
similarity index 79%
rename from public/instruct/Adventure.json
rename to default/content/presets/instruct/Adventure.json
index 29fe38871..827c6d5c9 100644
--- a/public/instruct/Adventure.json
+++ b/default/content/presets/instruct/Adventure.json
@@ -5,7 +5,6 @@
"last_output_sequence": "",
"system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
@@ -14,5 +13,11 @@
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
"name": "Adventure"
}
\ No newline at end of file
diff --git a/default/content/presets/instruct/Alpaca-Roleplay.json b/default/content/presets/instruct/Alpaca-Roleplay.json
new file mode 100644
index 000000000..5a5054340
--- /dev/null
+++ b/default/content/presets/instruct/Alpaca-Roleplay.json
@@ -0,0 +1,23 @@
+{
+ "system_prompt": "Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.",
+ "input_sequence": "### Instruction:",
+ "output_sequence": "### Response:",
+ "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):",
+ "system_sequence": "### Input:",
+ "stop_sequence": "",
+ "wrap": true,
+ "macro": true,
+ "names": true,
+ "names_force_groups": true,
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n\n",
+ "input_suffix": "\n\n",
+ "system_suffix": "\n\n",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "Alpaca-Roleplay"
+}
diff --git a/public/instruct/Alpaca-Single-Turn.json b/default/content/presets/instruct/Alpaca-Single-Turn.json
similarity index 77%
rename from public/instruct/Alpaca-Single-Turn.json
rename to default/content/presets/instruct/Alpaca-Single-Turn.json
index a86359b58..6a6f052d2 100644
--- a/public/instruct/Alpaca-Single-Turn.json
+++ b/default/content/presets/instruct/Alpaca-Single-Turn.json
@@ -2,16 +2,22 @@
"system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\nWrite 1 reply only, italicize actions, and avoid quotation marks. Use markdown. Be proactive, creative, and drive the plot and conversation forward. Include dialog as well as narration.",
"input_sequence": "",
"output_sequence": "",
- "first_output_sequence": "",
"last_output_sequence": "\n### Response:",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
"activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
"name": "Alpaca-Single-Turn"
}
\ No newline at end of file
diff --git a/public/instruct/Alpaca.json b/default/content/presets/instruct/Alpaca.json
similarity index 67%
rename from public/instruct/Alpaca.json
rename to default/content/presets/instruct/Alpaca.json
index 2d48e586c..96fd2cc83 100644
--- a/public/instruct/Alpaca.json
+++ b/default/content/presets/instruct/Alpaca.json
@@ -1,17 +1,23 @@
{
- "name": "Alpaca",
"system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "### Instruction:",
"output_sequence": "### Response:",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "### Input:",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n\n",
+ "input_suffix": "\n\n",
+ "system_suffix": "\n\n",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "Alpaca"
}
diff --git a/default/content/presets/instruct/ChatML.json b/default/content/presets/instruct/ChatML.json
new file mode 100644
index 000000000..348ae2458
--- /dev/null
+++ b/default/content/presets/instruct/ChatML.json
@@ -0,0 +1,23 @@
+{
+ "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.",
+ "input_sequence": "<|im_start|>user",
+ "output_sequence": "<|im_start|>assistant",
+ "last_output_sequence": "",
+ "system_sequence": "<|im_start|>system",
+ "stop_sequence": "<|im_end|>",
+ "wrap": true,
+ "macro": true,
+ "names": true,
+ "names_force_groups": true,
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "<|im_end|>\n",
+ "input_suffix": "<|im_end|>\n",
+ "system_suffix": "<|im_end|>\n",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "ChatML"
+}
diff --git a/public/instruct/DreamGen Role-Play V1.json b/default/content/presets/instruct/DreamGen Role-Play V1.json
similarity index 56%
rename from public/instruct/DreamGen Role-Play V1.json
rename to default/content/presets/instruct/DreamGen Role-Play V1.json
index 419aec4d7..07f0301fc 100644
--- a/public/instruct/DreamGen Role-Play V1.json
+++ b/default/content/presets/instruct/DreamGen Role-Play V1.json
@@ -1,18 +1,23 @@
{
"system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.",
- "input_sequence": "<|im_end|>\n<|im_start|>text names= {{user}}\n",
- "output_sequence": "<|im_end|>\n<|im_start|>text names= {{char}}\n",
- "first_output_sequence": "",
+ "input_sequence": "\n<|im_start|>text names= {{name}}\n",
+ "output_sequence": "\n<|im_start|>text names= {{name}}\n",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
- "stop_sequence": "",
- "separator_sequence": "",
+ "system_sequence": "",
+ "stop_sequence": "\n<|im_start|>",
"wrap": false,
"macro": true,
"names": false,
"names_force_groups": false,
"activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
"skip_examples": false,
+ "output_suffix": "<|im_end|>",
+ "input_suffix": "<|im_end|>",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
"name": "DreamGen Role-Play V1"
}
\ No newline at end of file
diff --git a/public/instruct/Koala.json b/default/content/presets/instruct/Koala.json
similarity index 64%
rename from public/instruct/Koala.json
rename to default/content/presets/instruct/Koala.json
index eeaf126d1..980482c1a 100644
--- a/public/instruct/Koala.json
+++ b/default/content/presets/instruct/Koala.json
@@ -1,17 +1,23 @@
{
- "name": "Koala",
"system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "USER: ",
"output_sequence": "GPT: ",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "BEGINNING OF CONVERSATION: ",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": false,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "BEGINNING OF CONVERSATION: ",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "Koala"
+}
\ No newline at end of file
diff --git a/public/instruct/Libra-32B.json b/default/content/presets/instruct/Libra-32B.json
similarity index 74%
rename from public/instruct/Libra-32B.json
rename to default/content/presets/instruct/Libra-32B.json
index 43ecef7a8..6014546f6 100644
--- a/public/instruct/Libra-32B.json
+++ b/default/content/presets/instruct/Libra-32B.json
@@ -1,17 +1,23 @@
{
- "wrap": true,
- "names": true,
"system_prompt": "Avoid repetition, don't loop. Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.",
- "system_sequence_prefix": "",
- "stop_sequence": "",
"input_sequence": "",
"output_sequence": "",
- "separator_sequence": "",
- "macro": true,
- "names_force_groups": true,
"last_output_sequence": "\n### Response:",
+ "system_sequence": "",
+ "stop_sequence": "",
+ "wrap": true,
+ "macro": true,
+ "names": true,
+ "names_force_groups": true,
"activation_regex": "",
- "first_output_sequence": "",
+ "system_sequence_prefix": "",
"system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
"name": "Libra-32B"
}
\ No newline at end of file
diff --git a/public/instruct/Lightning 1.1.json b/default/content/presets/instruct/Lightning 1.1.json
similarity index 82%
rename from public/instruct/Lightning 1.1.json
rename to default/content/presets/instruct/Lightning 1.1.json
index a653af92d..bf79e1358 100644
--- a/public/instruct/Lightning 1.1.json
+++ b/default/content/presets/instruct/Lightning 1.1.json
@@ -1,18 +1,23 @@
{
- "wrap": true,
- "names": false,
"system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nTake the role of {{char}} in a play that leaves a lasting impression on {{user}}. Write {{char}}'s next reply.\nNever skip or gloss over {{char}}’s actions. Progress the scene at a naturally slow pace.\n\n",
- "system_sequence": "",
- "stop_sequence": "",
"input_sequence": "### Instruction:",
"output_sequence": "### Response: (length = unlimited)",
- "separator_sequence": "",
- "macro": true,
- "names_force_groups": true,
"last_output_sequence": "",
+ "system_sequence": "",
+ "stop_sequence": "",
+ "wrap": true,
+ "macro": true,
+ "names": false,
+ "names_force_groups": true,
+ "activation_regex": "",
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"first_output_sequence": "",
- "activation_regex": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
"name": "Lightning 1.1"
-}
+}
\ No newline at end of file
diff --git a/default/content/presets/instruct/Llama 2 Chat.json b/default/content/presets/instruct/Llama 2 Chat.json
new file mode 100644
index 000000000..aeb4e13fd
--- /dev/null
+++ b/default/content/presets/instruct/Llama 2 Chat.json
@@ -0,0 +1,23 @@
+{
+ "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
+ "input_sequence": "[INST] ",
+ "output_sequence": "",
+ "last_output_sequence": "",
+ "system_sequence": "",
+ "stop_sequence": "",
+ "wrap": false,
+ "macro": true,
+ "names": false,
+ "names_force_groups": true,
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n",
+ "input_suffix": " [/INST]\n",
+ "system_suffix": "",
+ "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
+ "system_same_as_user": true,
+ "name": "Llama 2 Chat"
+}
diff --git a/public/instruct/Metharme.json b/default/content/presets/instruct/Metharme.json
similarity index 63%
rename from public/instruct/Metharme.json
rename to default/content/presets/instruct/Metharme.json
index 818dafde7..1c8474cdf 100644
--- a/public/instruct/Metharme.json
+++ b/default/content/presets/instruct/Metharme.json
@@ -1,17 +1,23 @@
{
- "name": "Metharme",
"system_prompt": "Enter roleplay mode. You must act as {{char}}, whose persona follows:",
"input_sequence": "<|user|>",
"output_sequence": "<|model|>",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "<|system|>",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": false,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "<|system|>",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "Metharme"
+}
\ No newline at end of file
diff --git a/public/instruct/Mistral.json b/default/content/presets/instruct/Mistral.json
similarity index 52%
rename from public/instruct/Mistral.json
rename to default/content/presets/instruct/Mistral.json
index 2cc52fda1..4f35139fa 100644
--- a/public/instruct/Mistral.json
+++ b/default/content/presets/instruct/Mistral.json
@@ -1,17 +1,23 @@
{
- "wrap": false,
- "names": true,
"system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
- "system_sequence_prefix": "",
- "stop_sequence": "",
"input_sequence": "[INST] ",
- "output_sequence": " [/INST]\n",
- "separator_sequence": "\n",
- "macro": true,
- "names_force_groups": true,
+ "output_sequence": "",
"last_output_sequence": "",
+ "system_sequence": "",
+ "stop_sequence": "",
+ "wrap": false,
+ "macro": true,
+ "names": true,
+ "names_force_groups": true,
"activation_regex": "",
- "first_output_sequence": "\n",
+ "system_sequence_prefix": "",
"system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n",
+ "input_suffix": " [/INST]\n",
+ "system_suffix": "",
+ "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
+ "system_same_as_user": true,
"name": "Mistral"
-}
\ No newline at end of file
+}
diff --git a/public/instruct/OpenOrca-OpenChat.json b/default/content/presets/instruct/OpenOrca-OpenChat.json
similarity index 72%
rename from public/instruct/OpenOrca-OpenChat.json
rename to default/content/presets/instruct/OpenOrca-OpenChat.json
index 6eaf74fdd..924ea94f7 100644
--- a/public/instruct/OpenOrca-OpenChat.json
+++ b/default/content/presets/instruct/OpenOrca-OpenChat.json
@@ -1,17 +1,23 @@
{
- "name": "OpenOrca-OpenChat",
"system_prompt": "You are a helpful assistant. Please answer truthfully and write out your thinking step by step to be sure you get the right answer. If you make a mistake or encounter an error in your thinking, say so out loud and attempt to correct it. If you don't know or aren't sure about something, say so clearly. You will act as a professional logician, mathematician, and physicist. You will also act as the most appropriate type of expert to answer any particular question or solve the relevant problem; state which expert type your are, if so. Also think of any particular named expert that would be ideal to answer the relevant question or solve the relevant problem; name and act as them, if appropriate.\n",
- "input_sequence": "User: ",
- "output_sequence": "<|end_of_turn|>\nAssistant: ",
- "first_output_sequence": "",
+ "input_sequence": "\nUser: ",
+ "output_sequence": "\nAssistant: ",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "<|end_of_turn|>\n",
"wrap": false,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "<|end_of_turn|>",
+ "input_suffix": "<|end_of_turn|>",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "OpenOrca-OpenChat"
+}
\ No newline at end of file
diff --git a/public/instruct/Pygmalion.json b/default/content/presets/instruct/Pygmalion.json
similarity index 68%
rename from public/instruct/Pygmalion.json
rename to default/content/presets/instruct/Pygmalion.json
index 2e225bb47..6278c0d23 100644
--- a/public/instruct/Pygmalion.json
+++ b/default/content/presets/instruct/Pygmalion.json
@@ -1,17 +1,23 @@
{
- "name": "Pygmalion",
"system_prompt": "Enter RP mode. You shall reply to {{user}} while staying in character. Your responses must be detailed, creative, immersive, and drive the scenario forward. You will follow {{char}}'s persona.",
"input_sequence": "<|user|>",
"output_sequence": "<|model|>",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "<|system|>",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "<|user|>",
- "separator_sequence": "",
"wrap": false,
"macro": true,
"names": true,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "<|system|>",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "Pygmalion"
+}
\ No newline at end of file
diff --git a/public/instruct/Story.json b/default/content/presets/instruct/Story.json
similarity index 70%
rename from public/instruct/Story.json
rename to default/content/presets/instruct/Story.json
index 11b167afe..1e42d3281 100644
--- a/public/instruct/Story.json
+++ b/default/content/presets/instruct/Story.json
@@ -5,7 +5,6 @@
"last_output_sequence": "",
"system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
@@ -14,5 +13,11 @@
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
"name": "Story"
}
\ No newline at end of file
diff --git a/public/instruct/Synthia.json b/default/content/presets/instruct/Synthia.json
similarity index 57%
rename from public/instruct/Synthia.json
rename to default/content/presets/instruct/Synthia.json
index 05f9fff9c..24ec4849e 100644
--- a/public/instruct/Synthia.json
+++ b/default/content/presets/instruct/Synthia.json
@@ -1,17 +1,23 @@
{
- "wrap": false,
- "names": false,
"system_prompt": "Elaborate on the topic using a Tree of Thoughts and backtrack when necessary to construct a clear, cohesive Chain of Thought reasoning. Always answer without hesitation.",
- "system_sequence_prefix": "SYSTEM: ",
- "stop_sequence": "",
"input_sequence": "USER: ",
- "output_sequence": "\nASSISTANT: ",
- "separator_sequence": "\n",
- "macro": true,
- "names_force_groups": true,
+ "output_sequence": "ASSISTANT: ",
"last_output_sequence": "",
+ "system_sequence": "SYSTEM: ",
+ "stop_sequence": "",
+ "wrap": false,
+ "macro": true,
+ "names": false,
+ "names_force_groups": true,
"activation_regex": "",
- "first_output_sequence": "ASSISTANT: ",
+ "system_sequence_prefix": "SYSTEM: ",
"system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n",
+ "input_suffix": "\n",
+ "system_suffix": "\n",
+ "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.",
+ "system_same_as_user": false,
"name": "Synthia"
-}
\ No newline at end of file
+}
diff --git a/public/instruct/Vicuna 1.0.json b/default/content/presets/instruct/Vicuna 1.0.json
similarity index 70%
rename from public/instruct/Vicuna 1.0.json
rename to default/content/presets/instruct/Vicuna 1.0.json
index 1912e4885..fbc8a2bf5 100644
--- a/public/instruct/Vicuna 1.0.json
+++ b/default/content/presets/instruct/Vicuna 1.0.json
@@ -1,17 +1,23 @@
{
- "name": "Vicuna 1.0",
"system_prompt": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "### Human:",
"output_sequence": "### Assistant:",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "Vicuna 1.0"
+}
\ No newline at end of file
diff --git a/public/instruct/Vicuna 1.1.json b/default/content/presets/instruct/Vicuna 1.1.json
similarity index 71%
rename from public/instruct/Vicuna 1.1.json
rename to default/content/presets/instruct/Vicuna 1.1.json
index fdab31e28..a31698d03 100644
--- a/public/instruct/Vicuna 1.1.json
+++ b/default/content/presets/instruct/Vicuna 1.1.json
@@ -1,17 +1,23 @@
{
- "name": "Vicuna 1.1",
"system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "\nUSER: ",
"output_sequence": "\nASSISTANT: ",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "BEGINNING OF CONVERSATION:",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": false,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "BEGINNING OF CONVERSATION:",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "Vicuna 1.1"
+}
\ No newline at end of file
diff --git a/public/instruct/WizardLM-13B.json b/default/content/presets/instruct/WizardLM-13B.json
similarity index 70%
rename from public/instruct/WizardLM-13B.json
rename to default/content/presets/instruct/WizardLM-13B.json
index 3b03c05f1..21e7bd555 100644
--- a/public/instruct/WizardLM-13B.json
+++ b/default/content/presets/instruct/WizardLM-13B.json
@@ -1,17 +1,23 @@
{
- "name": "WizardLM-13B",
"system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next detailed reply in a fictional roleplay chat between {{user}} and {{char}}.",
"input_sequence": "USER: ",
"output_sequence": "ASSISTANT: ",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": true,
+ "name": "WizardLM-13B"
+}
\ No newline at end of file
diff --git a/public/instruct/WizardLM.json b/default/content/presets/instruct/WizardLM.json
similarity index 62%
rename from public/instruct/WizardLM.json
rename to default/content/presets/instruct/WizardLM.json
index be7f25bc7..198f6a062 100644
--- a/public/instruct/WizardLM.json
+++ b/default/content/presets/instruct/WizardLM.json
@@ -1,17 +1,23 @@
{
- "name": "WizardLM",
"system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "",
"output_sequence": "### Response:",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "WizardLM"
+}
\ No newline at end of file
diff --git a/public/instruct/simple-proxy-for-tavern.json b/default/content/presets/instruct/simple-proxy-for-tavern.json
similarity index 58%
rename from public/instruct/simple-proxy-for-tavern.json
rename to default/content/presets/instruct/simple-proxy-for-tavern.json
index ca32c982d..14d32d86c 100644
--- a/public/instruct/simple-proxy-for-tavern.json
+++ b/default/content/presets/instruct/simple-proxy-for-tavern.json
@@ -1,17 +1,23 @@
{
- "name": "simple-proxy-for-tavern",
"system_prompt": "[System note: Write one reply only. Do not decide what {{user}} says or does. Write at least one paragraph, up to four. Be descriptive and immersive, providing vivid details about {{char}}'s actions, emotions, and the environment. Write with a high degree of complexity and burstiness. Do not repeat this message.]",
- "input_sequence": "### Instruction:\n#### {{user}}:",
- "output_sequence": "### Response:\n#### {{char}}:",
- "first_output_sequence": "",
- "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{char}}:",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "input_sequence": "### Instruction:\n#### {{name}}:",
+ "output_sequence": "### Response:\n#### {{name}}:",
+ "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{name}}:",
+ "system_sequence": "",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": false,
- "activation_regex": ""
-}
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "",
+ "input_suffix": "",
+ "system_suffix": "",
+ "user_alignment_message": "",
+ "system_same_as_user": false,
+ "name": "simple-proxy-for-tavern"
+}
\ No newline at end of file
diff --git a/default/settings.json b/default/settings.json
index 3c8faadbf..dbd731c45 100644
--- a/default/settings.json
+++ b/default/settings.json
@@ -155,17 +155,23 @@
"system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n",
"input_sequence": "### Instruction:",
"output_sequence": "### Response:",
- "first_output_sequence": "",
"last_output_sequence": "",
- "system_sequence_prefix": "",
- "system_sequence_suffix": "",
+ "system_sequence": "### Input:",
"stop_sequence": "",
- "separator_sequence": "",
"wrap": true,
"macro": true,
"names": false,
"names_force_groups": true,
- "activation_regex": ""
+ "activation_regex": "",
+ "system_sequence_prefix": "",
+ "system_sequence_suffix": "",
+ "first_output_sequence": "",
+ "skip_examples": false,
+ "output_suffix": "\n\n",
+ "input_suffix": "\n\n",
+ "system_suffix": "\n\n",
+ "user_alignment_message": "",
+ "system_same_as_user": false
},
"default_context": "Default",
"context": {
diff --git a/public/characters/README.md b/public/characters/.gitkeep
similarity index 100%
rename from public/characters/README.md
rename to public/characters/.gitkeep
diff --git a/public/chats/README.md b/public/chats/.gitkeep
similarity index 100%
rename from public/chats/README.md
rename to public/chats/.gitkeep
diff --git a/public/context/.gitkeep b/public/context/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/public/css/st-tailwind.css b/public/css/st-tailwind.css
index fa3c90339..6018577b2 100644
--- a/public/css/st-tailwind.css
+++ b/public/css/st-tailwind.css
@@ -456,6 +456,7 @@
input:disabled,
textarea:disabled {
cursor: not-allowed;
+ filter: brightness(0.5);
}
.debug-red {
diff --git a/public/css/tags.css b/public/css/tags.css
index b919b8300..9a3e02064 100644
--- a/public/css/tags.css
+++ b/public/css/tags.css
@@ -139,11 +139,13 @@
cursor: pointer;
opacity: 0.6;
filter: brightness(0.8);
+}
+
+.rm_tag_filter .tag.actionable {
transition: opacity 200ms;
}
.rm_tag_filter .tag:hover {
-
opacity: 1;
filter: brightness(1);
}
@@ -230,18 +232,16 @@
.rm_tag_bogus_drilldown .tag:not(:first-child) {
position: relative;
- margin-left: calc(var(--mainFontSize) * 2);
+ margin-left: 1em;
}
.rm_tag_bogus_drilldown .tag:not(:first-child)::before {
+ font-family: 'Font Awesome 6 Free';
+ content: "\f054";
position: absolute;
- left: calc(var(--mainFontSize) * -2);
- top: -1px;
- content: "\21E8";
- font-size: calc(var(--mainFontSize) * 2);
+ left: -1em;
+ top: auto;
color: var(--SmartThemeBodyColor);
- line-height: calc(var(--mainFontSize) * 1.3);
- text-align: center;
text-shadow: 1px 1px 0px black,
-1px -1px 0px black,
-1px 1px 0px black,
diff --git a/public/group chats/README.md b/public/group chats/.gitkeep
similarity index 100%
rename from public/group chats/README.md
rename to public/group chats/.gitkeep
diff --git a/public/groups/README.md b/public/groups/.gitkeep
similarity index 100%
rename from public/groups/README.md
rename to public/groups/.gitkeep
diff --git a/public/img/cohere.svg b/public/img/cohere.svg
new file mode 100644
index 000000000..a213ae8d8
--- /dev/null
+++ b/public/img/cohere.svg
@@ -0,0 +1,12 @@
+
+
+
+
diff --git a/public/index.html b/public/index.html
index 577c21ec3..813bf7592 100644
--- a/public/index.html
+++ b/public/index.html
@@ -458,7 +458,7 @@
-