Commit Graph

671 Commits

Author SHA1 Message Date
kingbri 92e6c6a998 CFG: Use ST prompt builder for negatives
Make the generate function build a negative prompt in addition to the
normal one. This allows for nonconflicting insertion with other extension
prompts and World Info.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-20 00:44:39 -04:00
kingbri 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
kingbri 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
Cohee 3019b889cd Filter group candidates before mapping 2023-08-19 03:22:10 +03:00
Cohee 1305f9dc4c Fix prompt manager sometimes erroring in groups with null members 2023-08-19 03:19:12 +03:00
Cohee 059647b286 Dynamically update group avatars 2023-08-19 03:13:40 +03:00
Cohee f27107e0ef Refactor and optimize group members display 2023-08-19 02:53:05 +03:00
Cohee 602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
Cohee 0f162c1803 Save Novel preamble to presets 2023-08-18 17:43:50 +03:00
RossAscends a0ed362591 move char panel token counter to desc box 2023-08-18 22:47:43 +09:00
RossAscends 0c5c8c50ad half-fix for small boxes in mobile no spoiler view 2023-08-18 22:45:40 +09:00
Cohee b645746a99
Merge pull request #963 from deffcolony/staging
removes width: 100% from img.expression
2023-08-18 16:20:11 +03:00
deffcolony 33a5a026d5 removes width: 100% from img.expression
this will fix the image resolution on mobile
2023-08-18 15:13:41 +02:00
Cohee 08a0709186 Escape "Match whole words" regex 2023-08-18 14:54:38 +03:00
Cohee 9bd9ddb9e1 Fix expressions display 2023-08-18 14:47:59 +03:00
Cohee 02cac8db8c Disable escaping of HTML/tags in templates 2023-08-18 13:53:54 +03:00
Cohee c4d8d70103 Improve phone usability of sortable drags 2023-08-18 13:41:46 +03:00
Cohee 1e0e5225ca Fix quiet prompt generations for Novel with streaming enabled. 2023-08-18 12:56:20 +03:00
Cohee 5528a493a6 Do not insert an extra newline if example separator is empty 2023-08-18 12:32:52 +03:00
Cohee 75378eff4e #937 Add dynamic chat backgrounds generation 2023-08-18 00:41:21 +03:00
Cohee c24f636a10 Add Last output sequence setting for instruct mode 2023-08-17 23:33:27 +03:00
Cohee e147ad1e18
Merge pull request #958 from Tony-sama/staging
Coqui api full model available (Experimental)
2023-08-17 22:55:00 +03:00
Cohee 80092b3170 #790 Simplify local prompt formatting. Use handlebars to render story string. 2023-08-17 22:47:34 +03:00
Tony Ribeiro 16f3949e0b merging with myself :p 2023-08-17 21:39:19 +02:00
Tony Ribeiro 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
Cohee 86a486be8f Adjust Novel instruction prompts for quiet generation 2023-08-17 17:40:38 +03:00
Cohee 928c8e544f Better random Ids for tags 2023-08-17 14:19:20 +03:00
Cohee 728ffd1628
Merge pull request #957 from SillyTavern/kayrabias
Kayrabias
2023-08-17 13:14:05 +03:00
Cohee a9a929afaf Fix HTML template oddity 2023-08-17 13:10:44 +03:00
Cohee 0b412033ba Streamline and simply Novel logit bias. Make it a part of preset 2023-08-17 13:05:22 +03:00
Cohee 50005b5617 Reformat rvc/tts plugins 2023-08-17 12:05:17 +03:00
Cohee c4700b38fe
Merge pull request #954 from Tony-sama/staging
Coqui TTS add remove character voice map button + RVC upload features
2023-08-17 12:03:03 +03:00
Cohee 928d897946 Fix instruct mode stop strings for whitespace sequences 2023-08-17 11:47:15 +03:00
Mike Weldon 722801bb50 Add logit biases for NovelAI 2023-08-16 22:14:04 -07:00
Tony Ribeiro 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
Tony Ribeiro 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
Tony Ribeiro 6dce566cb9 Coqui TTS UI, corrected hiding model div when origin select is none 2023-08-16 21:31:51 +02:00
Cohee 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
Cohee e19feddb29 Decrease max length for Novel presets 2023-08-16 21:46:58 +03:00
Cohee 1f2394cada Apply preset manager for NovelAI 2023-08-16 21:43:38 +03:00
Tony Ribeiro cd097df42f Change RVC pitch extraction "" label to "None" 2023-08-16 20:13:29 +02:00
Cohee 81ed4d8431 Reorderable samplers for Novel 2023-08-16 20:34:47 +03:00
Tony Ribeiro 05504ebbb2
Merge branch 'SillyTavern:staging' into staging 2023-08-16 19:19:29 +02:00
Tony Ribeiro 735066fe10 Added Coqui TTS extension option to use local models (no language/no speakers) 2023-08-16 19:19:13 +02:00
Cohee 99c3a09b8e Reduce unnecessary console spam 2023-08-16 18:54:52 +03:00
Cohee 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
Cohee 3682924624 Round context messages to nearest 5 for auto-adjust 2023-08-16 17:22:42 +03:00
Tony Ribeiro 9e49ad0a77
Merge branch 'SillyTavern:staging' into staging 2023-08-16 14:58:14 +02:00
Cohee 7a204bef05 Show chat completion source on hover 2023-08-16 13:51:38 +03:00
Mike Weldon 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