From f6d84b5c5304e5bf52c9c54daa5af7639ec21c31 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 20 Dec 2023 13:56:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=90=91=E9=87=8F?= =?UTF-8?q?=E5=8C=96=E6=AE=B5=E8=90=BD=E6=8B=BC=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/sql/list_embedding_text.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/common/sql/list_embedding_text.sql b/apps/common/sql/list_embedding_text.sql index 18df47e7d..e720041f2 100644 --- a/apps/common/sql/list_embedding_text.sql +++ b/apps/common/sql/list_embedding_text.sql @@ -20,7 +20,9 @@ SELECT paragraph."id" AS paragraph_id, paragraph.dataset_id AS dataset_id, 1 AS source_type, - concat_ws(':',concat_ws(',',paragraph.title,paragraph.title,paragraph.title),paragraph."content") AS "text", + concat_ws(' +',concat_ws(' +',paragraph.title,paragraph."content"),paragraph.title) AS "text", paragraph.is_active AS is_active, paragraph.star_num as star_num, paragraph.trample_num as trample_num