Add experimental setting for file translation

This commit is contained in:
Cohee
2024-04-21 03:24:01 +03:00
parent c2256c2ac7
commit ca89be8930
2 changed files with 20 additions and 0 deletions

View File

@@ -107,6 +107,13 @@
</label>
<div id="vectors_files_settings" class="marginTopBot5">
<label class="checkbox_label" for="vectors_translate_files" title="This can help with retrieval accuracy if using embedding models that are trained on English data. Uses the selected API from Chat Translation extension settings.">
<input id="vectors_translate_files" type="checkbox" class="checkbox">
<span data-i18n="Translate files into English before processing">
Translate files into English before processing
</span>
<i class="fa-solid fa-flask" title="Experimental feature"></i>
</label>
<div class="flex justifyCenter" title="These settings apply to files attached directly to messages.">
<span>Message attachments</span>
</div>