Commit Graph

792 Commits

Author SHA1 Message Date
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 303f961ee2
Merge pull request #965 from deffcolony/staging 2023-08-18 18:00:23 +03:00
deffcolony 9839ea5b07 adds green color for url line
This will make sure the link is more visible in console
2023-08-18 16:48:23 +02: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 f4dcd89ef6 Merge branch 'staging' of http://github.com/SillyTavern/SillyTavern into staging 2023-08-18 12:11:32 +03:00
Cohee 52431e246a Make file write operations sync 2023-08-18 12:11:18 +03:00
Cohee 1a29e15fbd
Merge pull request #959 from 50h100a/mancer-streaming 2023-08-18 01:58:55 +03:00
50h100a 8c191c4115 groundwork for WebUI-like streaming with mancer 2023-08-17 18:29:40 -04: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 e502354cec
Merge pull request #956 from 50h100a/streaming-fix
Fix (some) websocket shenanigans in WebUI streaming
2023-08-17 19:42:55 +03:00
Cohee 86a486be8f Adjust Novel instruction prompts for quiet generation 2023-08-17 17:40:38 +03:00
Cohee 8c949ed440 Atomic file write in stats 2023-08-17 15:32:13 +03:00
Cohee 9c614529ca Make all file write operations atomic 2023-08-17 15:20:02 +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
50h100a 13299e5c39 deal with websocket shenanigans
(and also clarify what's being printed out sometimes)
2023-08-17 05:52:32 -04: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 7151b4dba8
Merge branch 'SillyTavern:staging' into staging 2023-08-17 01:17:30 +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
Cohee 80c1f527dd
Merge pull request #953 from Tony-sama/staging 2023-08-16 23:34:02 +03: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