mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-13 02:20:41 +01:00
Hide vector summarization unless chat vectors is enabled
This commit is contained in:
parent
abd8acd9fc
commit
5e18b1872b
@ -126,36 +126,6 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class="flex-container flexFlowColumn">
|
|
||||||
<div class="flex-container alignitemscenter justifyCenter">
|
|
||||||
<i class="fa-solid fa-flask" title="Summarization for vectors is an experimental feature that may improve vectors or may worsen them. Use at your own discretion."></i>
|
|
||||||
<span>Vector Summarization</span>
|
|
||||||
</div>
|
|
||||||
<label class="checkbox_label expander" for="vectors_summarize" title="Summarize chat messages before generating embeddings.">
|
|
||||||
<input id="vectors_summarize" type="checkbox" class="checkbox">
|
|
||||||
Summarize chat messages for vector generation
|
|
||||||
</label>
|
|
||||||
<i class="failure">Warning: This will slow down vector generation drastically, as all messages have to be summarized first.</i>
|
|
||||||
|
|
||||||
<label class="checkbox_label expander" for="vectors_summarize_user" title="Summarize sent chat messages before generating embeddings.">
|
|
||||||
<input id="vectors_summarize_user" type="checkbox" class="checkbox">
|
|
||||||
Summarize chat messages when sending
|
|
||||||
</label>
|
|
||||||
<i class="failure">Warning: This might cause your sent messages to take a bit to process and slow down response time.</i>
|
|
||||||
|
|
||||||
<label for="vectors_summary_source">Summarize with:</label>
|
|
||||||
<select id="vectors_summary_source" class="text_pole">
|
|
||||||
<option value="main">Main API</option>
|
|
||||||
<option value="extras">Extras API</option>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<label for="vectors_summary_prompt">Summary Prompt:</label>
|
|
||||||
<small>Only used when Main API is selected.</small>
|
|
||||||
<textarea id="vectors_summary_prompt" class="text_pole textarea_compact" rows="6" placeholder="This prompt will be sent to AI to request the summary generation."></textarea>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
<div id="vectors_chats_settings">
|
<div id="vectors_chats_settings">
|
||||||
<div id="vectors_advanced_settings">
|
<div id="vectors_advanced_settings">
|
||||||
<label for="vectors_template">
|
<label for="vectors_template">
|
||||||
@ -198,6 +168,34 @@
|
|||||||
<input type="number" id="vectors_insert" class="text_pole widthUnset" min="1" max="9999" />
|
<input type="number" id="vectors_insert" class="text_pole widthUnset" min="1" max="9999" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<hr class="m-b-1">
|
||||||
|
<div class="flex-container flexFlowColumn">
|
||||||
|
<div class="flex-container alignitemscenter justifyCenter">
|
||||||
|
<i class="fa-solid fa-flask" title="Summarization for vectors is an experimental feature that may improve vectors or may worsen them. Use at your own discretion."></i>
|
||||||
|
<span>Vector Summarization</span>
|
||||||
|
</div>
|
||||||
|
<label class="checkbox_label expander" for="vectors_summarize" title="Summarize chat messages before generating embeddings.">
|
||||||
|
<input id="vectors_summarize" type="checkbox" class="checkbox">
|
||||||
|
Summarize chat messages for vector generation
|
||||||
|
</label>
|
||||||
|
<i class="failure">Warning: This will slow down vector generation drastically, as all messages have to be summarized first.</i>
|
||||||
|
|
||||||
|
<label class="checkbox_label expander" for="vectors_summarize_user" title="Summarize sent chat messages before generating embeddings.">
|
||||||
|
<input id="vectors_summarize_user" type="checkbox" class="checkbox">
|
||||||
|
Summarize chat messages when sending
|
||||||
|
</label>
|
||||||
|
<i class="failure">Warning: This might cause your sent messages to take a bit to process and slow down response time.</i>
|
||||||
|
|
||||||
|
<label for="vectors_summary_source">Summarize with:</label>
|
||||||
|
<select id="vectors_summary_source" class="text_pole">
|
||||||
|
<option value="main">Main API</option>
|
||||||
|
<option value="extras">Extras API</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<label for="vectors_summary_prompt">Summary Prompt:</label>
|
||||||
|
<small>Only used when Main API is selected.</small>
|
||||||
|
<textarea id="vectors_summary_prompt" class="text_pole textarea_compact" rows="6" placeholder="This prompt will be sent to AI to request the summary generation."></textarea>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<small>
|
<small>
|
||||||
Old messages are vectorized gradually as you chat.
|
Old messages are vectorized gradually as you chat.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user