diff --git a/web/src/pages/chat/chat-configuration-modal/index.tsx b/web/src/pages/chat/chat-configuration-modal/index.tsx index ce8451f7c..9465c0a80 100644 --- a/web/src/pages/chat/chat-configuration-modal/index.tsx +++ b/web/src/pages/chat/chat-configuration-modal/index.tsx @@ -145,7 +145,8 @@ const ChatConfigurationModal = ({ settledModelVariableMap[ModelVariableType.Precise], icon: fileList, llm_id: initialDialog.llm_id ?? modelId, - vector_similarity_weight: 1 - initialDialog.vector_similarity_weight, + vector_similarity_weight: + 1 - (initialDialog.vector_similarity_weight ?? 0.3), }); } }, [initialDialog, form, visible, modelId]);