From 64b9367ca10b297158349f734e3c39881babc4c5 Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Mon, 28 Aug 2023 13:47:33 +0800 Subject: [PATCH] perf: quote output prompt --- .../src/pages/kb/detail/components/DataCard.tsx | 2 +- .../kb/detail/components/Import/Manual.tsx | 4 ++-- .../kb/detail/components/InputDataModal.tsx | 4 ++-- .../src/service/moduleDispatch/chat/oneapi.ts | 17 +++++++++++------ 4 files changed, 16 insertions(+), 11 deletions(-) diff --git a/client/src/pages/kb/detail/components/DataCard.tsx b/client/src/pages/kb/detail/components/DataCard.tsx index d489affb7..a9fec1df5 100644 --- a/client/src/pages/kb/detail/components/DataCard.tsx +++ b/client/src/pages/kb/detail/components/DataCard.tsx @@ -163,7 +163,7 @@ const DataCard = ({ kbId }: { kbId: string }) => { maxW={['60%', '300px']} size={'sm'} value={searchText} - placeholder="根据匹配知识,补充知识和来源进行搜索" + placeholder="根据匹配知识,预期答案和来源进行搜索" onChange={(e) => { setSearchText(e.target.value); getFirstData(); diff --git a/client/src/pages/kb/detail/components/Import/Manual.tsx b/client/src/pages/kb/detail/components/Import/Manual.tsx index c7ede324c..731c39f4f 100644 --- a/client/src/pages/kb/detail/components/Import/Manual.tsx +++ b/client/src/pages/kb/detail/components/Import/Manual.tsx @@ -95,7 +95,7 @@ const ManualImport = ({ kbId }: { kbId: string }) => { - {'补充知识'} + {'预期答案'} @@ -104,7 +104,7 @@ const ManualImport = ({ kbId }: { kbId: string }) => {