Closed hopto-dot closed 11 months ago
One could use the newly added STscript to easily achieve this. Add as a quick reply and set to execute on character message.
/setglobalvar key=labels6emo ["joy", "sadness", "anger", "surprise", "love", "fear"] |
/genraw instruct=off stop=["\n"] {{lastMessage}}{{newline}}Pause your roleplay. Out of the following emotions: {{getglobalvar::labels6emo}}{{newline}}The message expresses: |
/fuzzy list=labels6emo |
/emote
Thank you!
Talking head and the Character Expressions extension should both give you the option to use the LLM to classify the emotion of the latest reply as it can be better at doing it (depending on the model obviously) AND is much more flexible. It also means you don't need to load another model into ram/vram.
Here is an example string you could use to do that:
After the final "
Out of the following emotions:
" you could have any custom emotion then have images in your emotion