From 3c3f47bb5bce56675ffad723a907e8b7755474ad Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 3 Mar 2025 16:05:40 +0800 Subject: [PATCH] fix: Similarity value error --- ui/src/components/ai-chat/component/ParagraphCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue index d6b7936d9..1e6f30893 100644 --- a/ui/src/components/ai-chat/component/ParagraphCard.vue +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -68,7 +68,7 @@ const props = defineProps({ }, score: { type: Number, - default: 0 + default: null } }) const isMetaObject = computed(() => typeof props.data.meta === 'object')