From 170186ee4d21b72a6f18b40e1ce6a8d37e88b3b9 Mon Sep 17 00:00:00 2001 From: balibabu Date: Wed, 22 May 2024 18:36:55 +0800 Subject: [PATCH] feat: remove the space before promptText (#886) ### What problem does this PR solve? feat: remove the space before promptText #882 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/locales/en.ts | 2 +- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index aa3395f62..c5affca35 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -273,7 +273,7 @@ export default { promptMessage: 'Prompt is required', promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following: {cluster_content} - The above is the content you need to summarize.`, +The above is the content you need to summarize.`, maxToken: 'Max token', maxTokenTip: 'Maximum token number for summarization.', maxTokenMessage: 'Max token is required', diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index 3f5b91436..58123c0d0 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -244,7 +244,7 @@ export default { promptMessage: '提示詞是必填項', promptText: `请請總結以下段落。 小心數字,不要編造。 段落如下: {集群內容} - 以上就是你需要總結的內容。`, +以上就是你需要總結的內容。`, maxToken: '最大token數', maxTokenMessage: '最大token數是必填項', threshold: '臨界點', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 71e5f08bf..9442898f0 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -261,7 +261,7 @@ export default { promptMessage: '提示词是必填项', promptText: `请总结以下段落。 小心数字,不要编造。 段落如下: {集群内容} - 以上就是你需要总结的内容。`, +以上就是你需要总结的内容。`, maxToken: '最大token数', maxTokenMessage: '最大token数是必填项', threshold: '临界点',