Преглед изворни кода

fix: hybrid search may pass rerank enable false (#2467)

Joel пре 1 година
родитељ
комит
767d8a4b05
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      web/app/components/datasets/common/retrieval-method-config/index.tsx

+ 1 - 0
web/app/components/datasets/common/retrieval-method-config/index.tsx

@@ -89,6 +89,7 @@ const RetrievalMethodConfig: FC<Props> = ({
           onChosen={() => onChange({
             ...value,
             search_method: RETRIEVE_METHOD.hybrid,
+            reranking_enable: true,
           })}
           chosenConfig={
             <RetrievalParamConfig