mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Custom vector chunk boundary
This commit is contained in:
@@ -117,15 +117,21 @@
|
||||
<div class="flex-container marginTopBot5">
|
||||
<div class="flex-container flex1 flexFlowColumn" title="How many last messages will be matched for relevance.">
|
||||
<label for="vectors_query">
|
||||
<span data-i18n="Query messages">Query messages</span>
|
||||
<small data-i18n="Query messages">Query messages</small>
|
||||
</label>
|
||||
<input type="number" id="vectors_query" class="text_pole widthUnset" min="1" max="99" />
|
||||
<input type="number" id="vectors_query" class="text_pole" min="1" max="99" />
|
||||
</div>
|
||||
<div class="flex-container flex1 flexFlowColumn" title="Cut-off score for relevance. Helps to filter out irrelevant data.">
|
||||
<label for="vectors_query">
|
||||
<span data-i18n="Score threshold">Score threshold</span>
|
||||
<small data-i18n="Score threshold">Score threshold</small>
|
||||
</label>
|
||||
<input type="number" id="vectors_score_threshold" class="text_pole widthUnset" min="0" max="1" step="0.05" />
|
||||
<input type="number" id="vectors_score_threshold" class="text_pole" min="0" max="1" step="0.05" />
|
||||
</div>
|
||||
<div class="flex-container flex1 flexFlowColumn" title="Prioritize chunking on the preferred delimiter.">
|
||||
<label for="vectors_force_chunk_delimiter">
|
||||
<small data-i18n="Chunk boundary">Chunk boundary</small>
|
||||
</label>
|
||||
<textarea id="vectors_force_chunk_delimiter" class="text_pole" rows="1" placeholder="(None)"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user