mirror of
https://github.com/langgenius/dify.git
synced 2024-11-15 19:22:36 +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,
|
||||
score_threshold: multipleRetrievalConfig?.score_threshold,
|
||||
reranking_model: multipleRetrievalConfig?.reranking_model,
|
||||
reranking_mode: multipleRetrievalConfig?.reranking_mode,
|
||||
weights: multipleRetrievalConfig?.weights,
|
||||
}
|
||||
})
|
||||
setInputs(newInput)
|
||||
|
|
Loading…
Reference in New Issue
Block a user