mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 16:26:25 +08:00
Feat: Support re-segmentation (#114)
Co-authored-by: John Wang <takatost@gmail.com> Co-authored-by: Jyong <718720800@qq.com> Co-authored-by: 金伟强 <iamjoel007@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ const translation = {
|
||||
emoji: {
|
||||
ok: 'OK',
|
||||
cancel: 'Cancel',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
||||
@@ -38,7 +38,7 @@ const translation = {
|
||||
emoji: {
|
||||
ok: '确认',
|
||||
cancel: '取消',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
||||
@@ -76,6 +76,8 @@ const translation = {
|
||||
fileName: 'Preprocess document',
|
||||
lastStep: 'Last step',
|
||||
nextStep: 'Save & Process',
|
||||
save: 'Save & Process',
|
||||
cancel: 'Cancel',
|
||||
sideTipTitle: 'Why segment and preprocess?',
|
||||
sideTipP1: 'When processing text data, segmentation and cleaning are two important preprocessing steps.',
|
||||
sideTipP2: 'Segmentation splits long text into paragraphs so models can understand better. This improves the quality and relevance of model results.',
|
||||
|
||||
@@ -76,6 +76,8 @@ const translation = {
|
||||
fileName: '预处理文档',
|
||||
lastStep: '上一步',
|
||||
nextStep: '保存并处理',
|
||||
save: '保存并处理',
|
||||
cancel: '取消',
|
||||
sideTipTitle: '为什么要分段和预处理?',
|
||||
sideTipP1: '在处理文本数据时,分段和清洗是两个重要的预处理步骤。',
|
||||
sideTipP2: '分段的目的是将长文本拆分成较小的段落,以便模型更有效地处理和理解。这有助于提高模型生成的结果的质量和相关性。',
|
||||
|
||||
@@ -11,7 +11,7 @@ const translation = {
|
||||
delete: {
|
||||
title: 'Delete app',
|
||||
content: 'Are you sure you want to delete this app?',
|
||||
}
|
||||
},
|
||||
},
|
||||
apps: {
|
||||
title: 'Explore Apps by Dify',
|
||||
@@ -28,12 +28,12 @@ const translation = {
|
||||
nameRequired: 'App name is required',
|
||||
},
|
||||
category: {
|
||||
'Assistant': 'Assistant',
|
||||
'Writing': 'Writing',
|
||||
'Translate': 'Translate',
|
||||
'Programming': 'Programming',
|
||||
'HR': 'HR',
|
||||
}
|
||||
Assistant: 'Assistant',
|
||||
Writing: 'Writing',
|
||||
Translate: 'Translate',
|
||||
Programming: 'Programming',
|
||||
HR: 'HR',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
||||
@@ -11,7 +11,7 @@ const translation = {
|
||||
delete: {
|
||||
title: '删除程序',
|
||||
content: '您确定要删除此程序吗?',
|
||||
}
|
||||
},
|
||||
},
|
||||
apps: {
|
||||
title: '探索 Dify 的应用',
|
||||
@@ -28,12 +28,12 @@ const translation = {
|
||||
nameRequired: '应用程序名称不能为空',
|
||||
},
|
||||
category: {
|
||||
'Assistant': '助手',
|
||||
'Writing': '写作',
|
||||
'Translate': '翻译',
|
||||
'Programming': '编程',
|
||||
'HR': '人力资源',
|
||||
}
|
||||
Assistant: '助手',
|
||||
Writing: '写作',
|
||||
Translate: '翻译',
|
||||
Programming: '编程',
|
||||
HR: '人力资源',
|
||||
},
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
||||
Reference in New Issue
Block a user