Commit Graph

1850 Commits

Author SHA1 Message Date
SDS
49c6676f72 End Prompt with Newline
This change adds a trailing newline to the instruct mode prompt when "Wrap Sequences with Newline" is on and "Include Names" is off. (When "Include Names" is on, "Wrap Sequences with Newline" is already applied before.)
2023-08-19 13:54:09 +02:00
3acd0a590e Merge pull request #966 from StefanDanielSchwarz/simple-proxy-for-tavern-replacement
Simple proxy for tavern replacement
2023-08-19 14:35:43 +03:00
5e9980ea08 no space after name 2023-08-19 12:35:52 +02:00
7191f7a8ad CFG: Add insertion depth and custom separator
Insertion depth allows for CFG to variably inject itself into the
negative prompt. This is similar to how Author's note works.

However, this method of insertion depth conflicts with AN and
world info where negatives can be meshed between two lines
of those specific insertions.

A custom separator must be wrapped in quotes, otherwise the default
separator is a newline for negative cascading.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-19 01:29:59 -04:00
cdbca6d9fd CFG: Include the entire prompt with negative prompt
CFG with LLMs works differently than stable diffusion. The main principle
is prompt mixing and utilizing the differences between the two prompts
rather than a full "negative prompt" of what the user doesn't want.

SillyTavern its own way of formatting a prompt sent to an LLM backend.
Therefore, take that prompt and add negatives to it.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-18 22:18:09 -04:00
3019b889cd Filter group candidates before mapping 2023-08-19 03:22:10 +03:00
1305f9dc4c Fix prompt manager sometimes erroring in groups with null members 2023-08-19 03:19:12 +03:00
059647b286 Dynamically update group avatars 2023-08-19 03:13:40 +03:00
f27107e0ef Refactor and optimize group members display 2023-08-19 02:53:05 +03:00
602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
26e2b0c8fa Fix whitespace issues 2023-08-18 21:18:54 +02:00
0f162c1803 Save Novel preamble to presets 2023-08-18 17:43:50 +03:00
b645746a99 Merge pull request #963 from deffcolony/staging
removes width: 100% from img.expression
2023-08-18 16:20:11 +03:00
33a5a026d5 removes width: 100% from img.expression
this will fix the image resolution on mobile
2023-08-18 15:13:41 +02:00
08a0709186 Escape "Match whole words" regex 2023-08-18 14:54:38 +03:00
9bd9ddb9e1 Fix expressions display 2023-08-18 14:47:59 +03:00
02cac8db8c Disable escaping of HTML/tags in templates 2023-08-18 13:53:54 +03:00
c4d8d70103 Improve phone usability of sortable drags 2023-08-18 13:41:46 +03:00
1e0e5225ca Fix quiet prompt generations for Novel with streaming enabled. 2023-08-18 12:56:20 +03:00
75378eff4e #937 Add dynamic chat backgrounds generation 2023-08-18 00:41:21 +03:00
c24f636a10 Add Last output sequence setting for instruct mode 2023-08-17 23:33:27 +03:00
e147ad1e18 Merge pull request #958 from Tony-sama/staging
Coqui api full model available (Experimental)
2023-08-17 22:55:00 +03:00
80092b3170 #790 Simplify local prompt formatting. Use handlebars to render story string. 2023-08-17 22:47:34 +03:00
16f3949e0b merging with myself :p 2023-08-17 21:39:19 +02:00
a5c95c7151 Added full coqui-api model list available via new origin in Coqui UI: Coqui API (Experimental). Some model might not work, need to be tested. 2023-08-17 21:33:06 +02:00
86a486be8f Adjust Novel instruction prompts for quiet generation 2023-08-17 17:40:38 +03:00
928c8e544f Better random Ids for tags 2023-08-17 14:19:20 +03:00
728ffd1628 Merge pull request #957 from SillyTavern/kayrabias
Kayrabias
2023-08-17 13:14:05 +03:00
0b412033ba Streamline and simply Novel logit bias. Make it a part of preset 2023-08-17 13:05:22 +03:00
50005b5617 Reformat rvc/tts plugins 2023-08-17 12:05:17 +03:00
722801bb50 Add logit biases for NovelAI 2023-08-16 22:14:04 -07:00
58123f5c29 Added RVC upload functionality, allow to send rvc model archive (zip/7z format) to extras, automatically installed properly on server side. 2023-08-17 04:47:41 +02:00
a07637aa43 Coqui TTS UI, added a button to remove choosen character from the voice map. Fixed the request spam to extras when there is no local coqui model or no rvc model in extras folder. 2023-08-17 01:16:57 +02:00
6dce566cb9 Coqui TTS UI, corrected hiding model div when origin select is none 2023-08-16 21:31:51 +02:00
3ab9b44700 Merge pull request #952 from Tony-sama/staging
Coqui TTS extension added support for custom local model
2023-08-16 21:50:44 +03:00
1f2394cada Apply preset manager for NovelAI 2023-08-16 21:43:38 +03:00
cd097df42f Change RVC pitch extraction "" label to "None" 2023-08-16 20:13:29 +02:00
81ed4d8431 Reorderable samplers for Novel 2023-08-16 20:34:47 +03:00
db5f815632 Introduce a state lock to prompt manager render function 2023-08-16 19:28:27 +02:00
05504ebbb2 Merge branch 'SillyTavern:staging' into staging 2023-08-16 19:19:29 +02:00
735066fe10 Added Coqui TTS extension option to use local models (no language/no speakers) 2023-08-16 19:19:13 +02:00
947289dffc Lock up configuration during prompt manager render 2023-08-16 19:01:09 +02:00
99c3a09b8e Reduce unnecessary console spam 2023-08-16 18:54:52 +03:00
1fa281b03c Merge pull request #946 from Tony-sama/staging
RVC extension new UI and per character settings
2023-08-16 17:49:24 +03:00
3682924624 Round context messages to nearest 5 for auto-adjust 2023-08-16 17:22:42 +03:00
9e49ad0a77 Merge branch 'SillyTavern:staging' into staging 2023-08-16 14:58:14 +02:00
feb523bd01 NovelAI Kayra 1.1 update
* Updated some presets and added Cosmic Cube
* Change defaults for NovelAI to select Clio on cold start
* Automatically change the preset to an appropriate default whenever you change the model
* Removed deprecated Top G sampler
2023-08-15 18:52:29 -07:00
a64130c71c Remove toastr error for character without RVC model assigned, just show it in console info to allow group chat with/withou RVC per character. 2023-08-15 21:35:07 +02:00
3cb2b7a4a9 Merge branch 'SillyTavern:staging' into staging 2023-08-15 21:15:45 +02:00
84845ae911 Updated RVC UI to allow per characters settings without manual voice map text. 2023-08-15 21:15:31 +02:00