소스 검색

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