mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 04:56:02 +08:00
fix(workflow/nodes/knowledge-retrieval/use-config): Preserve rerankin… (#8842)
This commit is contained in:
parent
27e33fb15c
commit
a2e2f8a8c9
@ -136,6 +136,8 @@ const useConfig = (id: string, payload: KnowledgeRetrievalNodeType) => {
|
|||||||
top_k: multipleRetrievalConfig?.top_k || DATASET_DEFAULT.top_k,
|
top_k: multipleRetrievalConfig?.top_k || DATASET_DEFAULT.top_k,
|
||||||
score_threshold: multipleRetrievalConfig?.score_threshold,
|
score_threshold: multipleRetrievalConfig?.score_threshold,
|
||||||
reranking_model: multipleRetrievalConfig?.reranking_model,
|
reranking_model: multipleRetrievalConfig?.reranking_model,
|
||||||
|
reranking_mode: multipleRetrievalConfig?.reranking_mode,
|
||||||
|
weights: multipleRetrievalConfig?.weights,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
setInputs(newInput)
|
setInputs(newInput)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user