### What problem does this PR solve? Vector similarity weight is displayed incorrectly #965 feat: add rerank models to the project #724 #162 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -26,7 +26,7 @@ const SimilaritySlider = ({ isTooltipShown = false }: IProps) => {
|
||||
<Form.Item<FieldType>
|
||||
label={t('vectorSimilarityWeight')}
|
||||
name={'vector_similarity_weight'}
|
||||
initialValue={0.3}
|
||||
initialValue={1 - 0.3}
|
||||
tooltip={isTooltipShown && t('vectorSimilarityWeightTip')}
|
||||
>
|
||||
<Slider max={1} step={0.01} />
|
||||
|
||||
Reference in New Issue
Block a user