perf: chat上下文截断;QA提示词

This commit is contained in:
archer
2023-04-21 23:30:26 +08:00
parent 4397a0ad6b
commit 3ea2cf1dcb
10 changed files with 63 additions and 34 deletions

View File

@@ -45,7 +45,7 @@ const SelectUrlModal = ({
await postModelDataSplitData({
modelId,
text: webText,
prompt: `下面是${prompt || '一段长文本'}`
prompt: `下面是"${prompt || '一段长文本'}"`
});
toast({
title: '导入数据成功,需要一段拆解和训练',