From d6295d07e483101d5571d472ae6e09d025812536 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Thu, 30 Nov 2023 11:31:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E9=AB=98=E6=AE=B5=E8=90=BD?= =?UTF-8?q?=E7=9A=84title=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/sql/list_embedding_text.sql | 2 +- ui/env.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/sql/list_embedding_text.sql b/apps/common/sql/list_embedding_text.sql index f45697b47..18df47e7d 100644 --- a/apps/common/sql/list_embedding_text.sql +++ b/apps/common/sql/list_embedding_text.sql @@ -20,7 +20,7 @@ SELECT paragraph."id" AS paragraph_id, paragraph.dataset_id AS dataset_id, 1 AS source_type, - concat_ws(':',paragraph."title",paragraph."content") AS "text", + concat_ws(':',concat_ws(',',paragraph.title,paragraph.title,paragraph.title),paragraph."content") AS "text", paragraph.is_active AS is_active, paragraph.star_num as star_num, paragraph.trample_num as trample_num diff --git a/ui/env.d.ts b/ui/env.d.ts index 20ecade09..2e05630d0 100644 --- a/ui/env.d.ts +++ b/ui/env.d.ts @@ -1,5 +1,5 @@ /// - +declare module 'element-plus/dist/locale/zh-cn.mjs' declare module 'markdown-it-task-lists' declare module 'markdown-it-abbr' declare module 'markdown-it-anchor'