You wanna get Thoughts for characters like this?

Image description


Then here you go:
open sillytavern/public/settings.json.
search for "regex", and replace it with this:
https://pastebin.com/raw/G9GsbYgZ
then search for "user_prompt_bias", and replace it with this:

"user_prompt_bias": "<{{char}}'s thoughts: \""

then search for "custom_stopping_strings" in your settings file and replace it with this:

"custom_stopping_strings": "[\"[Con\", \"[\", \"[con\", \"\\nUSER:\", \"\\n###\", \"\\nBEGINNING OF\", \"\\nYou:\", \"\\nyou:\", \"\\nuser:\", \"\\nUser:\", \"roleplay chat between\", \"The roleplay chat between\", \"\\nUser:\", \"\\nChar:\", \"\\n{{char}}:\", \"\\n{{user}}:\", \": \", \"<\", \"\\n**\", \"\\nRetrieved\", \"but remember\", \"But remember\"]",

if you have any questions dont hesitate to add me on discord: ikaridev
inspired by https://rentry.co/kingbri-chara-guide#advanced-character-thoughts


QA:
Q1: my the formatting is broken, the char talks through the thoughts, or it only generates the thougths.
A1: that happens only in the first message, just retry the first message until it works. we cant do anything about it, thats just the models thinking it should do that.(and as a side note, if it happens during a chat, just regenerate. if it happens ALL the time its your model.)
Q2: streaming does not work, right?
A2: why would'nt it? as long as your backand supports it..

Edit
Pub: 24 Jul 2023 22:23 UTC
Edit: 24 Jul 2023 22:27 UTC
Views: 477