Forráskód Böngészése

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

Joel 1 éve
szülő
commit
767d8a4b05

+ 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