From 767d8a4b052d8753b91e6ae05ed75328befe643e Mon Sep 17 00:00:00 2001 From: Joel Date: Sun, 18 Feb 2024 17:52:05 +0800 Subject: [PATCH] fix: hybrid search may pass rerank enable false (#2467) --- .../components/datasets/common/retrieval-method-config/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/datasets/common/retrieval-method-config/index.tsx b/web/app/components/datasets/common/retrieval-method-config/index.tsx index b9af89ea1f..9e161fb3bc 100644 --- a/web/app/components/datasets/common/retrieval-method-config/index.tsx +++ b/web/app/components/datasets/common/retrieval-method-config/index.tsx @@ -89,6 +89,7 @@ const RetrievalMethodConfig: FC = ({ onChosen={() => onChange({ ...value, search_method: RETRIEVE_METHOD.hybrid, + reranking_enable: true, })} chosenConfig={