balibabu
commited on
Commit
·
bf38604
1
Parent(s):
980e3c4
feat: remove the space before promptText (#886)
Browse files### 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 +1 -1
- web/src/locales/zh-traditional.ts +1 -1
- web/src/locales/zh.ts +1 -1
web/src/locales/en.ts
CHANGED
|
@@ -273,7 +273,7 @@ export default {
|
|
| 273 |
promptMessage: 'Prompt is required',
|
| 274 |
promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
|
| 275 |
{cluster_content}
|
| 276 |
-
|
| 277 |
maxToken: 'Max token',
|
| 278 |
maxTokenTip: 'Maximum token number for summarization.',
|
| 279 |
maxTokenMessage: 'Max token is required',
|
|
|
|
| 273 |
promptMessage: 'Prompt is required',
|
| 274 |
promptText: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
|
| 275 |
{cluster_content}
|
| 276 |
+
The above is the content you need to summarize.`,
|
| 277 |
maxToken: 'Max token',
|
| 278 |
maxTokenTip: 'Maximum token number for summarization.',
|
| 279 |
maxTokenMessage: 'Max token is required',
|
web/src/locales/zh-traditional.ts
CHANGED
|
@@ -244,7 +244,7 @@ export default {
|
|
| 244 |
promptMessage: '提示詞是必填項',
|
| 245 |
promptText: `请請總結以下段落。 小心數字,不要編造。 段落如下:
|
| 246 |
{集群內容}
|
| 247 |
-
|
| 248 |
maxToken: '最大token數',
|
| 249 |
maxTokenMessage: '最大token數是必填項',
|
| 250 |
threshold: '臨界點',
|
|
|
|
| 244 |
promptMessage: '提示詞是必填項',
|
| 245 |
promptText: `请請總結以下段落。 小心數字,不要編造。 段落如下:
|
| 246 |
{集群內容}
|
| 247 |
+
以上就是你需要總結的內容。`,
|
| 248 |
maxToken: '最大token數',
|
| 249 |
maxTokenMessage: '最大token數是必填項',
|
| 250 |
threshold: '臨界點',
|
web/src/locales/zh.ts
CHANGED
|
@@ -261,7 +261,7 @@ export default {
|
|
| 261 |
promptMessage: '提示词是必填项',
|
| 262 |
promptText: `请总结以下段落。 小心数字,不要编造。 段落如下:
|
| 263 |
{集群内容}
|
| 264 |
-
|
| 265 |
maxToken: '最大token数',
|
| 266 |
maxTokenMessage: '最大token数是必填项',
|
| 267 |
threshold: '临界点',
|
|
|
|
| 261 |
promptMessage: '提示词是必填项',
|
| 262 |
promptText: `请总结以下段落。 小心数字,不要编造。 段落如下:
|
| 263 |
{集群内容}
|
| 264 |
+
以上就是你需要总结的内容。`,
|
| 265 |
maxToken: '最大token数',
|
| 266 |
maxTokenMessage: '最大token数是必填项',
|
| 267 |
threshold: '临界点',
|