rename BM25_WEIGHT -> HYBRID_BM25_WEIGHT

This commit is contained in:
Jan Kessler
2025-05-23 22:06:44 +02:00
parent 308d8ac04a
commit e70dd33233
6 changed files with 32 additions and 32 deletions

View File

@@ -773,14 +773,14 @@
{#if RAGConfig.ENABLE_RAG_HYBRID_SEARCH === true}
<div class="mb-2.5 flex w-full justify-between">
<div class="self-center text-xs font-medium">{$i18n.t('BM25 Weight')}</div>
<div class="self-center text-xs font-medium">{$i18n.t('Weight of BM25 Retrieval')}</div>
<div class="flex items-center relative">
<input
class="flex-1 w-full text-sm bg-transparent outline-hidden"
type="number"
step="0.01"
placeholder={$i18n.t('Enter BM25 Weight')}
bind:value={RAGConfig.BM25_WEIGHT}
bind:value={RAGConfig.HYBRID_BM25_WEIGHT}
autocomplete="off"
min="0.0"
max="1.0"