mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 09:03:53 +00:00
Plugin support select file (#2756)
* feat: plugin support upload files (#2716) * feat: plugin support file upload * file history * fix history & chattest * chore: code * plugin config icon & file preview padding * perf: undefined fn * fix: plugin file numbers & plugin template add config (#2743) * perf: run plugin without human message (#2749) * perf: run plugin without human message * fix build * fix build * rename node * perf: ui * perf: plugin rerun with last params & plugin log add file (#2755) * perf: plugin run with last params & plugin log add file * delete console * perf: plugin refresh code * fix: ts --------- Co-authored-by: heheer <heheer@sealos.io>
This commit is contained in:
@@ -191,4 +191,4 @@
|
||||
"manage": "写权限基础上,可配置发布渠道、查看对话日志、分配该应用权限"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -15,6 +15,8 @@
|
||||
"delete_all_input_guide_confirm": "确定要清空输入引导词库吗?",
|
||||
"empty_directory": "这个目录已经没东西可选了~",
|
||||
"file_amount_over": "超出最大文件数量 {{max}}",
|
||||
"file_input": "系统文件",
|
||||
"file_input_tip": "可通过【插件开始】节点的“文件链接”获取对应文件的链接",
|
||||
"in_progress": "进行中",
|
||||
"input_guide": "输入引导",
|
||||
"input_guide_lexicon": "词库",
|
||||
@@ -32,9 +34,12 @@
|
||||
"response": {
|
||||
"node_inputs": "节点输入"
|
||||
},
|
||||
"select_file": "选择文件",
|
||||
"select_img": "选择图片",
|
||||
"select": "选择",
|
||||
"select_file": "上传文件",
|
||||
"select_file_img": "上传文件/图片",
|
||||
"select_img": "上传图片",
|
||||
"stream_output": "流输出",
|
||||
"upload": "上传",
|
||||
"view_citations": "查看引用",
|
||||
"web_site_sync": "Web站点同步"
|
||||
}
|
||||
}
|
@@ -810,7 +810,6 @@
|
||||
"QueryExtension": {
|
||||
"placeholder": "例如:\n关于 Python 的介绍和使用等问题。\n当前对话与游戏《GTA5》有关。"
|
||||
},
|
||||
"Quote prompt setting": "引用提示词配置",
|
||||
"Select app": "选择应用",
|
||||
"Setting quote prompt": "配置引用提示词",
|
||||
"Variable": "全局变量",
|
||||
@@ -899,8 +898,7 @@
|
||||
"empty_plugin": "空白插件",
|
||||
"empty_workflow": "空白工作流",
|
||||
"http body placeholder": "与 Apifox 相同的语法",
|
||||
"self_input": "自定义插件输入",
|
||||
"self_output": "自定义插件输出",
|
||||
"self_output": "插件输出",
|
||||
"system_config": "系统配置",
|
||||
"system_config_info": "可以配置应用的系统参数",
|
||||
"work_start": "流程开始"
|
||||
@@ -1384,10 +1382,6 @@
|
||||
},
|
||||
"tag_list": "标签列表",
|
||||
"team_tag": "团队标签",
|
||||
"template": {
|
||||
"Quote Content Tip": "可以自定义引用内容的结构,以更好的适配不同场景。可以使用一些变量来进行模板配置:\n{{q}} - 检索内容,{{a}} - 预期内容,{{source}} - 来源,{{sourceId}} - 来源文件名,{{index}} - 第 n 个引用,他们都是可选的,下面是默认值:\n{{default}}",
|
||||
"Quote Prompt Tip": "可以用 {{quote}} 来插入引用内容模板,使用 {{question}} 来插入问题。下面是默认值:\n{{default}}"
|
||||
},
|
||||
"textarea_variable_picker_tip": "输入\"/\"可选择变量",
|
||||
"tool_field": "工具字段参数配置",
|
||||
"undefined_var": "引用了未定义的变量,是否自动添加?",
|
||||
@@ -1490,4 +1484,4 @@
|
||||
"verification": "验证",
|
||||
"xx_search_result": "{{key}} 的搜索结果",
|
||||
"yes": "是"
|
||||
}
|
||||
}
|
@@ -2,7 +2,6 @@
|
||||
"Array_element": "数组元素",
|
||||
"Code": "代码",
|
||||
"Quote_prompt_setting": "引用提示词配置",
|
||||
"about_xxx_question": "关于 xxx 的问题",
|
||||
"add_new_input": "新增输入",
|
||||
"append_application_reply_to_history_as_new_context": "将该应用回复内容拼接到历史记录中,作为新的上下文返回",
|
||||
"application_call": "应用调用",
|
||||
@@ -28,7 +27,6 @@
|
||||
"create_link_error": "创建链接异常",
|
||||
"custom_feedback": "自定义反馈",
|
||||
"custom_input": "自定义输入",
|
||||
"custom_plugin_output": "自定义插件输出",
|
||||
"dataset_quote_role": "角色",
|
||||
"dataset_quote_role_system_option_desc": "历史记录连贯优先(推荐)",
|
||||
"dataset_quote_role_tip": "设置为 System 时,将会把知识库引用内容放置到 system 消息中,可以确保历史记录的连贯性,但约束效果可能不佳,需要多调试。\n设置为 User 时,将会把知识库引用内容放置到 user 消息中,并且需要指定 {{question}} 变量位置。会对历史记录连贯性有一定影响,但通常约束效果更优。",
|
||||
@@ -57,7 +55,6 @@
|
||||
"full_response_data": "完整响应数据",
|
||||
"greater_than": "大于",
|
||||
"greater_than_or_equal_to": "大于等于",
|
||||
"greeting": "打招呼",
|
||||
"http_raw_response_description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
|
||||
"http_request": "HTTP 请求",
|
||||
"http_request_error_info": "HTTP请求错误信息,成功时返回空",
|
||||
@@ -111,7 +108,6 @@
|
||||
"only_the_reference_type_is_supported": "仅支持引用类型",
|
||||
"optional_value_type": "可选的数据类型",
|
||||
"optional_value_type_tip": "可以指定 1 个或多个数据类型,用户在动态添加字段时,仅可选择配置的类型",
|
||||
"other_questions": "其他问题",
|
||||
"pan_priority": "触摸板优先",
|
||||
"pass_returned_object_as_output_to_next_nodes": "将代码中 return 的对象作为输出,传递给后续的节点。变量名需要对应 return 的 key",
|
||||
"plugin": {
|
||||
@@ -154,6 +150,8 @@
|
||||
"tool_call_intro": "通过AI模型自动选择一个或多个功能块进行调用,也可以对插件进行调用。",
|
||||
"workflow_start": "流程开始"
|
||||
},
|
||||
"template.plugin_output": "插件输出",
|
||||
"template.plugin_start": "插件开始",
|
||||
"text_concatenation": "文本拼接",
|
||||
"text_content_extraction": "文本内容提取",
|
||||
"text_to_extract": "需要提取的文本",
|
||||
@@ -173,4 +171,4 @@
|
||||
"Team cloud": "团队云端",
|
||||
"exit_tips": "您的更改尚未保存,「直接退出」将不会保存您的编辑记录。"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user