Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

Joel767d8a4b052d
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 b9af89ea1fb..9e161fb3bc6 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<Props> = ({
onChosen={() => onChange({
...value,
search_method: RETRIEVE_METHOD.hybrid,
+ reranking_enable: true,
})}
chosenConfig={
<RetrievalParamConfig