feat: workflow new nodes (#4683)
Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Patryk Garstecki <patryk20120@yahoo.pl> Co-authored-by: Sebastian.W <thiner@gmail.com> Co-authored-by: 呆萌闷油瓶 <253605712@qq.com> Co-authored-by: takatost <takatost@users.noreply.github.com> Co-authored-by: rechardwang <wh_goodjob@163.com> Co-authored-by: Nite Knite <nkCoding@gmail.com> Co-authored-by: Chenhe Gu <guchenhe@gmail.com> Co-authored-by: Joshua <138381132+joshua20231026@users.noreply.github.com> Co-authored-by: Weaxs <459312872@qq.com> Co-authored-by: Ikko Eltociear Ashimine <eltociear@gmail.com> Co-authored-by: leejoo0 <81673835+leejoo0@users.noreply.github.com> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: sino <sino2322@gmail.com> Co-authored-by: Vikey Chen <vikeytk@gmail.com> Co-authored-by: wanghl <Wang-HL@users.noreply.github.com> Co-authored-by: Haolin Wang-汪皓临 <haolin.wang@atlaslovestravel.com> Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: Bowen Liang <bowenliang@apache.org> Co-authored-by: Bowen Liang <liangbowen@gf.com.cn> Co-authored-by: fanghongtai <42790567+fanghongtai@users.noreply.github.com> Co-authored-by: wxfanghongtai <wxfanghongtai@gf.com.cn> Co-authored-by: Matri <qjp@bithuman.io> Co-authored-by: Benjamin <benjaminx@gmail.com>
This commit is contained in:
parent
444fdb79dc
commit
45deaee762
210 changed files with 9951 additions and 2223 deletions
|
|
@ -1,10 +1,12 @@
|
|||
const translation = {
|
||||
title: '工具',
|
||||
createCustomTool: '创建自定义工具',
|
||||
customToolTip: '了解更多关于 Dify 自定义工具的信息',
|
||||
type: {
|
||||
all: '全部',
|
||||
builtIn: '内置',
|
||||
custom: '自定义',
|
||||
workflow: '工作流',
|
||||
},
|
||||
contribute: {
|
||||
line1: '我有兴趣为 ',
|
||||
|
|
@ -21,12 +23,26 @@ const translation = {
|
|||
},
|
||||
includeToolNum: '包含 {{num}} 个工具',
|
||||
addTool: '添加工具',
|
||||
addToolModal: {
|
||||
type: '类型',
|
||||
category: '类别',
|
||||
add: '添加',
|
||||
added: '已添加',
|
||||
manageInTools: '去工具列表管理',
|
||||
emptyTitle: '没有可用的工作流工具',
|
||||
emptyTip: '去 “工作流 -> 发布为工具” 添加',
|
||||
},
|
||||
createTool: {
|
||||
title: '创建自定义工具',
|
||||
editAction: '编辑',
|
||||
editTitle: '编辑自定义工具',
|
||||
name: '名称',
|
||||
toolNamePlaceHolder: '输入工具名称',
|
||||
nameForToolCall: '工具调用名称',
|
||||
nameForToolCallPlaceHolder: '用于机器识别,如 getCurrentWeather, list_pets',
|
||||
nameForToolCallTip: '仅支持数字、字母、下划线。',
|
||||
description: '工具描述',
|
||||
descriptionPlaceholder: '工具用途的简要描述,例如获取特定位置的温度。',
|
||||
schema: 'Schema',
|
||||
schemaPlaceHolder: '在此处输入您的 OpenAPI schema',
|
||||
viewSchemaSpec: '查看 OpenAPI-Swagger 规范',
|
||||
|
|
@ -71,8 +87,24 @@ const translation = {
|
|||
},
|
||||
privacyPolicy: '隐私协议',
|
||||
privacyPolicyPlaceholder: '请输入隐私协议',
|
||||
toolInput: {
|
||||
title: '工具入参',
|
||||
name: '名称',
|
||||
required: '必须',
|
||||
method: '方式',
|
||||
methodSetting: '用户输入',
|
||||
methodSettingTip: '用户在工具配置中填写',
|
||||
methodParameter: 'LLM 填入',
|
||||
methodParameterTip: 'LLM 在推理过程中填写',
|
||||
label: '标签',
|
||||
labelPlaceholder: '选择标签(可选)',
|
||||
description: '描述',
|
||||
descriptionPlaceholder: '参数意义的描述',
|
||||
},
|
||||
customDisclaimer: '自定义免责声明',
|
||||
customDisclaimerPlaceholder: '请输入自定义免责声明',
|
||||
confirmTitle: '确认保存?',
|
||||
confirmTip: '发布新的工具版本可能会影响该工具已关联的应用',
|
||||
},
|
||||
test: {
|
||||
title: '测试',
|
||||
|
|
@ -112,6 +144,8 @@ const translation = {
|
|||
toolRemoved: '工具已被移除',
|
||||
notAuthorized: '工具未授权',
|
||||
howToGet: '如何获取',
|
||||
openInStudio: '在工作室中打开',
|
||||
toolNameUsageTip: '工具调用名称,用于 Agent 推理和提示词',
|
||||
}
|
||||
|
||||
export default translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue