feat: knowledge pipeline (#25360)
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: jyong <718720800@qq.com> Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com> Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com> Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com> Co-authored-by: quicksand <quicksandzn@gmail.com> Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com> Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: nite-knite <nkCoding@gmail.com> Co-authored-by: Hanqing Zhao <sherry9277@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Harry <xh001x@hotmail.com>
This commit is contained in:
@@ -45,6 +45,7 @@ const translation = {
|
||||
setVarValuePlaceholder: '设置变量值',
|
||||
needConnectTip: '此节点尚未连接到其他节点',
|
||||
maxTreeDepth: '每个分支最大限制 {{depth}} 个节点',
|
||||
needAdd: '必须添加{{node}}节点',
|
||||
needEndNode: '必须添加结束节点',
|
||||
needAnswerNode: '必须添加直接回复节点',
|
||||
workflowProcess: '工作流',
|
||||
@@ -92,7 +93,6 @@ const translation = {
|
||||
importWarning: '注意',
|
||||
importWarningDetails: 'DSL 版本差异可能影响部分功能表现',
|
||||
importSuccess: '导入成功',
|
||||
parallelRun: '并行运行',
|
||||
parallelTip: {
|
||||
click: {
|
||||
title: '点击',
|
||||
@@ -215,8 +215,10 @@ const translation = {
|
||||
toolParameterRequired: '{{field}}: 参数 [{{param}}] 不能为空',
|
||||
},
|
||||
singleRun: {
|
||||
testRun: '测试运行 ',
|
||||
testRun: '测试运行',
|
||||
startRun: '开始运行',
|
||||
preparingDataSource: '准备数据源',
|
||||
reRun: '重新运行',
|
||||
running: '运行中',
|
||||
testRunIteration: '测试运行迭代',
|
||||
back: '返回',
|
||||
@@ -240,6 +242,8 @@ const translation = {
|
||||
'agent': 'Agent 策略',
|
||||
'allAdded': '已添加全部',
|
||||
'addAll': '添加全部',
|
||||
'sources': '数据源',
|
||||
'searchDataSource': '搜索数据源',
|
||||
},
|
||||
blocks: {
|
||||
'start': '开始',
|
||||
@@ -264,6 +268,8 @@ const translation = {
|
||||
'loop-start': '循环开始',
|
||||
'loop': '循环',
|
||||
'loop-end': '退出循环',
|
||||
'knowledge-index': '知识库',
|
||||
'datasource': '数据源',
|
||||
},
|
||||
blocksAbout: {
|
||||
'start': '定义一个 workflow 流程启动的初始参数',
|
||||
@@ -286,6 +292,8 @@ const translation = {
|
||||
'document-extractor': '用于将用户上传的文档解析为 LLM 便于理解的文本内容。',
|
||||
'list-operator': '用于过滤或排序数组内容。',
|
||||
'agent': '调用大型语言模型回答问题或处理自然语言',
|
||||
'knowledge-index': '知识库节点',
|
||||
'datasource': '数据源节点',
|
||||
},
|
||||
operator: {
|
||||
zoomIn: '放大',
|
||||
@@ -393,6 +401,7 @@ const translation = {
|
||||
input: '输入值',
|
||||
variable: '使用变量',
|
||||
},
|
||||
inputVars: '输入变量',
|
||||
},
|
||||
start: {
|
||||
required: '必填',
|
||||
@@ -927,6 +936,27 @@ const translation = {
|
||||
clickToViewParameterSchema: '点击查看参数 schema',
|
||||
parameterSchema: '参数 Schema',
|
||||
},
|
||||
dataSource: {
|
||||
supportedFileFormats: '支持的文件格式',
|
||||
supportedFileFormatsPlaceholder: '文件格式,例如:doc',
|
||||
add: '添加数据源',
|
||||
},
|
||||
knowledgeBase: {
|
||||
chunkStructure: '分段结构',
|
||||
chooseChunkStructure: '选择分段结构',
|
||||
chunkStructureTip: {
|
||||
title: '请选择分段结构',
|
||||
message: 'Dify 知识库支持三种分块结构:通用、父子和问答。每个知识库只能有一种结构。前一节点的输出必须与所选的分块结构相匹配。请注意,分块结构的选择会影响可用的索引方法。',
|
||||
learnMore: '了解更多',
|
||||
},
|
||||
changeChunkStructure: '更改分段结构',
|
||||
chunksInput: '分块',
|
||||
chunksInputTip: '知识库节点的输入变量为 Chunks。该变量类型是符合特定 JSON Schema 的对象,必须与所选块结构一致。',
|
||||
aboutRetrieval: '关于知识检索。',
|
||||
chunkIsRequired: '分段结构是必需的',
|
||||
indexMethodIsRequired: '索引方法是必需的',
|
||||
retrievalSettingIsRequired: '检索设置是必需的',
|
||||
},
|
||||
},
|
||||
tracing: {
|
||||
stopBy: '由{{user}}终止',
|
||||
@@ -998,6 +1028,10 @@ const translation = {
|
||||
envNode: '环境变量',
|
||||
chatNode: '会话变量',
|
||||
systemNode: '系统变量',
|
||||
exportToolTip: '导出变量为文件',
|
||||
largeData: '大数据 - 仅部分只读预览。请导出查看完整数据。',
|
||||
largeDataNoExport: '大数据 - 仅部分预览',
|
||||
export: '导出',
|
||||
},
|
||||
lastOutput: '上次输出',
|
||||
relations: {
|
||||
|
||||
Reference in New Issue
Block a user