mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Adds sprite-based filtering for expressions
- Functionality only available for LLM/webLLM - New toggle to filter expressions on availalbe sprites - `getExpressionsList` filters cached expressions when checked (using sprite folder name/override) - `/expression-list` slash command has "filter" arg to filter list - `/expression-classify` slash command has "filter" arg now, to use filtered list for classification - `getExpressionLabel` uses filtered expressions when LLM/webLLM
This commit is contained in:
@@ -29,7 +29,11 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="expression_llm_prompt_block m-b-1 m-t-1">
|
||||
<label for="expression_llm_prompt" class="title_restorable">
|
||||
<label class="checkbox_label" for="expressions_filter_available" title="When using LLM or WebLLM classifier, only show and use expressions that have sprites assigned to them." data-i18n="[title]When using LLM or WebLLM classifier, only show and use expressions that have sprites assigned to them.">
|
||||
<input id="expressions_filter_available" type="checkbox">
|
||||
<span data-i18n="Filter expressions for available sprites">Filter expressions for available sprites</span>
|
||||
</label>
|
||||
<label for="expression_llm_prompt" class="title_restorable m-t-1">
|
||||
<span data-i18n="LLM Prompt">LLM Prompt</span>
|
||||
<div id="expression_llm_prompt_restore" title="Restore default value" class="right_menu_button">
|
||||
<i class="fa-solid fa-clock-rotate-left fa-sm"></i>
|
||||
|
Reference in New Issue
Block a user