From f2227ded9aa0652b6a0fe82d893442ae590c8c9b Mon Sep 17 00:00:00 2001 From: maver Date: Sun, 9 Jul 2023 15:33:46 +0200 Subject: [PATCH] Move utility prompts in its own, independent dropdown And merge with existing advanced prompt bits --- public/index.html | 207 ++++++++++++++++---------------- public/scripts/PromptManager.js | 97 ++------------- public/scripts/openai.js | 66 +++++++++- 3 files changed, 175 insertions(+), 195 deletions(-) diff --git a/public/index.html b/public/index.html index e20b618af..dc9fedc76 100644 --- a/public/index.html +++ b/public/index.html @@ -1292,87 +1292,126 @@
-
-
- - Replace empty message - +
+
+ Utility Prompts +
-
- - Send this text instead of nothing when the text box is empty. - -
-
- -
-
-
-
-
-
-
- NSFW avoidance prompt -
-
+
+
+
+ Impersonation prompt +
+
+
+
+
+ Prompt that is used for Impersonation function +
+
+ +
-
-
- - Prompt that is used when the NSFW toggle is OFF - -
-
- -
-
-
-
+
+
+ World Info format template +
+
+
+
+
+ Wraps activated World Info entries before inserting into the prompt. Use + {0} to mark a place where the content is inserted. +
+
+ +
+
+
+
+
+ NSFW avoidance prompt +
+
+
+
+
+ Prompt that is used when the NSFW toggle is OFF +
+
+ +
+
+
Assistant Prefill
- -
-
- Advanced prompt bits -
-
-
-
-
- Impersonation prompt -
-
+
+
+ New Chat +
+
+
+
+
+ + Set at the beginning of the chat history to indicate that a new chat is about to start. + +
+
+
-
- Prompt that is used for Impersonation function -
-
- -
-
-
-
- World Info format template -
-
+
+
+ New Group Chat +
+
+
+
+
+ + Set at the beginning of the chat history to indicate that a new group chat is about to start. + +
+
+
-
- - Wraps activated World Info entries before inserting into the prompt. Use {0} to mark a place where the content is inserted. - +
+
+ New Example Chat +
+
+
+
+
+ + Set at the beginning of Dialogue examples to indicate that a new example chat is about to start. + +
+
+ +
-
- +
+
+ Replace empty message +
+
+ + Send this text instead of nothing when the text box is empty. + +
+
+ +
- -
+
Logit Bias
@@ -1388,7 +1427,6 @@
-
View / Edit bias preset @@ -3584,39 +3622,6 @@