Skip to content

Commit

Permalink
fix(workflow/nodes/knowledge-retrieval/use-config): Preserve rerankin… (
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin9703 authored Sep 28, 2024
1 parent 27e33fb commit a2e2f8a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2e2f8a

Please sign in to comment.