feat: add form input node (#2773)

* add node

* dispatch

* extract InputTypeConfig component

* question tip

* fix build

* fix

* fix
This commit is contained in:
heheer
2024-09-26 13:48:03 +08:00
committed by shilin66
parent d4d7c3196a
commit 1144826ed5
34 changed files with 1326 additions and 419 deletions

View File

@@ -143,6 +143,12 @@
"week.Wednesday": "星期三",
"workflow.Input guide": "填写说明",
"workflow.file_url": "文档链接",
"workflow.form_input": "表单输入",
"workflow.form_input_description_placeholder": "例如:\n补充您的信息",
"workflow.form_input_result": "完整输入结果",
"workflow.form_input_result_tip": "一个包含完整结果的对象",
"workflow.form_input_tip": "该模块可以配置多种输入,引导用户输入特定内容。",
"workflow.input_description_tip": "你可以添加一段说明文字,用以向用户说明需要输入的内容",
"workflow.read_files": "文档解析",
"workflow.read_files_result": "文档解析结果",
"workflow.read_files_result_desc": "文档原文,由文件名和文档内容组成,多个文件之间通过横线隔开。",

View File

@@ -24,6 +24,7 @@
"Rename": "重命名",
"Resume": "恢复",
"Running": "运行中",
"Submit": "提交",
"UnKnow": "未知",
"Warning": "提示",
"add_new": "新增",
@@ -82,6 +83,7 @@
"common.Add": "添加",
"common.Add New": "新增",
"common.Add Success": "添加成功",
"common.Add_new_input": "新增输入",
"common.All": "全部",
"common.Cancel": "取消",
"common.Choose": "选择",
@@ -93,6 +95,7 @@
"common.Confirm Move": "移动到这",
"common.Confirm Update": "确认更新",
"common.Confirm to leave the page": "确认离开该页面?",
"common.Continue_Adding": "继续添加",
"common.Copy": "复制",
"common.Copy Successful": "复制成功",
"common.Copy_failed": "复制失败,请手动复制",
@@ -426,6 +429,7 @@
"core.chat.response.Read complete response tips": "点击查看详细流程",
"core.chat.response.Tool call tokens": "工具调用 tokens 消耗",
"core.chat.response.context total length": "上下文总长度",
"core.chat.response.form_input_result": "表单输入结果",
"core.chat.response.loop_input": "输入数组",
"core.chat.response.loop_input_element": "输入数组元素",
"core.chat.response.loop_output": "输出数组",
@@ -701,6 +705,10 @@
"core.module.input.label.chat history": "聊天记录",
"core.module.input.label.user question": "用户问题",
"core.module.input.placeholder.Classify background": "例如:\n1. AIGC人工智能生成内容是指使用人工智能技术自动或半自动地生成数字内容如文本、图像、音乐、视频等。\n2. AIGC 技术包括但不限于自然语言处理、计算机视觉、机器学习和深度学习。这些技术可以创建新内容或修改现有内容,以满足特定的创意、教育、娱乐或信息需求。",
"core.module.input_description": "输入描述",
"core.module.input_form": "输入字段",
"core.module.input_name": "输入名",
"core.module.input_type": "输入类型",
"core.module.laf.Select laf function": "选择 laf 函数",
"core.module.output.description.Ai response content": "将在 stream 回复完毕后触发",
"core.module.output.description.New context": "将本次回复内容拼接上历史记录,作为新的上下文返回",
@@ -730,6 +738,7 @@
"core.module.template.system_config_info": "可以配置应用的系统参数",
"core.module.template.work_start": "流程开始",
"core.module.templates.Load plugin error": "加载插件失败",
"core.module.variable add option": "添加选项",
"core.module.variable.Custom type": "自定义变量",
"core.module.variable.add option": "添加选项",
"core.module.variable.input type": "文本",
@@ -744,7 +753,6 @@
"core.module.variable.variable option is required": "选项不能全空",
"core.module.variable.variable option is value is required": "选项内容不能为空",
"core.module.variable.variable options": "选项",
"core.module.variable add option": "添加选项",
"core.plugin.Custom headers": "自定义请求头",
"core.plugin.Free": "该插件无需积分消耗~",
"core.plugin.Get Plugin Module Detail Failed": "加载插件异常",
@@ -842,12 +850,12 @@
"dataset.deleteFolderTips": "确认删除该文件夹及其包含的所有知识库?删除后数据无法恢复,请确认!",
"dataset.test.noResult": "搜索结果为空",
"error.Create failed": "创建失败",
"error.code_error": "验证码错误",
"error.fileNotFound": "文件找不到了~",
"error.inheritPermissionError": "权限继承错误",
"error.missingParams": "参数缺失",
"error.upload_file_error_filename": "{{name}} 上传失败",
"error.username_empty": "账号不能为空",
"error.code_error": "验证码错误",
"extraction_results": "提取结果",
"field_name": "字段名",
"free": "免费",