mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00

* Feat: Images dataset collection (#4941) * New pic (#4858) * 更新数据集相关类型,添加图像文件ID和预览URL支持;优化数据集导入功能,新增图像数据集处理组件;修复部分国际化文本;更新文件上传逻辑以支持新功能。 * 与原先代码的差别 * 新增 V4.9.10 更新说明,支持 PG 设置`systemEnv.hnswMaxScanTuples`参数,优化 LLM stream 调用超时,修复全文检索多知识库排序问题。同时更新数据集索引,移除 datasetId 字段以简化查询。 * 更换成fileId_image逻辑,并增加训练队列匹配的逻辑 * 新增图片集合判断逻辑,优化预览URL生成流程,确保仅在数据集为图片集合时生成预览URL,并添加相关日志输出以便调试。 * Refactor Docker Compose configuration to comment out exposed ports for production environments, update image versions for pgvector, fastgpt, and mcp_server, and enhance Redis service with a health check. Additionally, standardize dataset collection labels in constants and improve internationalization strings across multiple languages. * Enhance TrainingStates component by adding internationalization support for the imageParse training mode and update defaultCounts to include imageParse mode in trainingDetail API. * Enhance dataset import context by adding additional steps for image dataset import process and improve internationalization strings for modal buttons in the useEditTitle hook. * Update DatasetImportContext to conditionally render MyStep component based on data source type, improving the import process for non-image datasets. * Refactor image dataset handling by improving internationalization strings, enhancing error messages, and streamlining the preview URL generation process. * 图片上传到新建的 dataset_collection_images 表,逻辑跟随更改 * 修改了除了controller的其他部分问题 * 把图片数据集的逻辑整合到controller里面 * 补充i18n * 补充i18n * resolve评论:主要是上传逻辑的更改和组件复用 * 图片名称的图标显示 * 修改编译报错的命名问题 * 删除不需要的collectionid部分 * 多余文件的处理和改动一个删除按钮 * 除了loading和统一的imageId,其他都resolve掉的 * 处理图标报错 * 复用了MyPhotoView并采用全部替换的方式将imageFileId变成imageId * 去除不必要文件修改 * 报错和字段修改 * 增加上传成功后删除临时文件的逻辑以及回退一些修改 * 删除path字段,将图片保存到gridfs内,并修改增删等操作的代码 * 修正编译错误 --------- Co-authored-by: archer <545436317@qq.com> * perf: image dataset * feat: insert image * perf: image icon * fix: training state --------- Co-authored-by: Zhuangzai fa <143257420+ctrlz526@users.noreply.github.com> * fix: ts (#4948) * Thirddatasetmd (#4942) * add thirddataset.md * fix thirddataset.md * fix * delete wrong png --------- Co-authored-by: dreamer6680 <146868355@qq.com> * perf: api dataset code * perf: log * add secondary.tsx (#4946) * add secondary.tsx * fix --------- Co-authored-by: dreamer6680 <146868355@qq.com> * perf: multiple menu * perf: i18n * feat: parse queue (#4960) * feat: parse queue * feat: sync parse queue * fix thirddataset.md (#4962) * fix thirddataset-4.png (#4963) * feat: Dataset template import (#4934) * 模版导入部分除了文档还没写 * 修复模版导入的 build 错误 * Document production * compress pictures * Change some constants to variables --------- Co-authored-by: Archer <545436317@qq.com> * perf: template import * doc * llm pargraph * bocha tool * fix: del collection --------- Co-authored-by: Zhuangzai fa <143257420+ctrlz526@users.noreply.github.com> Co-authored-by: dreamer6680 <1468683855@qq.com> Co-authored-by: dreamer6680 <146868355@qq.com>
87 lines
4.1 KiB
JSON
87 lines
4.1 KiB
JSON
{
|
|
"AI_input_is_empty": "传入AI 节点的内容为空",
|
|
"Delete_all": "清空词库",
|
|
"LLM_model_response_empty": "模型流响应为空,请检查模型流输出是否正常",
|
|
"ai_reasoning": "思考过程",
|
|
"back_to_text": "返回输入",
|
|
"chat.quote.No Data": "找不到该文件",
|
|
"chat.quote.deleted": "该数据已被删除~",
|
|
"chat.waiting_for_response": "请等待对话完成",
|
|
"chat_history": "聊天记录",
|
|
"chat_input_guide_lexicon_is_empty": "还没有配置词库",
|
|
"chat_test_app": "调试-{{name}}",
|
|
"citations": "{{num}}条引用",
|
|
"click_contextual_preview": "点击查看上下文预览",
|
|
"completion_finish_close": "连接断开",
|
|
"completion_finish_content_filter": "触发安全风控",
|
|
"completion_finish_function_call": "函数调用",
|
|
"completion_finish_length": "超出回复限制",
|
|
"completion_finish_null": "未知",
|
|
"completion_finish_reason": "完成原因",
|
|
"completion_finish_stop": "正常完成",
|
|
"completion_finish_tool_calls": "工具调用",
|
|
"config_input_guide": "配置输入引导",
|
|
"config_input_guide_lexicon": "配置词库",
|
|
"config_input_guide_lexicon_title": "配置词库",
|
|
"content_empty": "内容为空",
|
|
"contextual": "{{num}}条上下文",
|
|
"contextual_preview": "上下文预览 {{num}} 条",
|
|
"core.chat.moveCancel": "上滑取消",
|
|
"core.chat.shortSpeak": "说话时间太短",
|
|
"csv_input_lexicon_tip": "仅支持 CSV 批量导入,点击下载模板",
|
|
"custom_input_guide_url": "自定义词库地址",
|
|
"data_source": "来源知识库: {{name}}",
|
|
"dataset_quote_type error": "知识库引用类型错误,正确类型:{ datasetId: string }[]",
|
|
"delete_all_input_guide_confirm": "确定要清空输入引导词库吗?",
|
|
"download_chunks": "下载数据",
|
|
"empty_directory": "这个目录已经没东西可选了~",
|
|
"error_message": "错误信息",
|
|
"file_amount_over": "超出最大文件数量 {{max}}",
|
|
"file_input": "系统文件",
|
|
"file_input_tip": "可通过【插件开始】节点的“文件链接”获取对应文件的链接",
|
|
"in_progress": "进行中",
|
|
"input_guide": "输入引导",
|
|
"input_guide_lexicon": "词库",
|
|
"input_guide_tip": "可以配置一些预设的问题。在用户输入问题时,会从这些预设问题中获取相关问题进行提示。",
|
|
"input_placeholder_phone": "输入问题",
|
|
"insert_input_guide,_some_data_already_exists": "有重复数据,已自动过滤,共插入 {{len}} 条数据",
|
|
"invalid_share_url": "无效的分享链接",
|
|
"is_chatting": "正在聊天中...请等待结束",
|
|
"items": "条",
|
|
"llm_tokens": "LLM tokens",
|
|
"module_runtime_and": "工作流总运行时间",
|
|
"multiple_AI_conversations": "多组 AI 对话",
|
|
"new_input_guide_lexicon": "新词库",
|
|
"no_workflow_response": "没有运行数据",
|
|
"not_query": "缺少查询内容",
|
|
"not_select_file": "未选择文件",
|
|
"plugins_output": "插件输出",
|
|
"press_to_speak": "按住说话",
|
|
"query_extension_IO_tokens": "问题优化输入/输出 Tokens",
|
|
"query_extension_result": "问题优化结果",
|
|
"question_tip": "从上到下,为各个模块的响应顺序",
|
|
"read_raw_source": "打开原文",
|
|
"reasoning_text": "思考过程",
|
|
"release_cancel": "松开取消",
|
|
"release_send": "松开发送,上滑取消",
|
|
"response.child total points": "子工作流积分消耗",
|
|
"response.dataset_concat_length": "合并后总数",
|
|
"response.node_inputs": "节点输入",
|
|
"response_embedding_model": "向量模型",
|
|
"response_embedding_model_tokens": "向量模型 Tokens",
|
|
"response_hybrid_weight": "语义检索 : 全文检索 = {{emb}} : {{text}}",
|
|
"response_rerank_tokens": "重排模型 Tokens",
|
|
"search_results": "搜索结果",
|
|
"select": "选择",
|
|
"select_file": "上传文件",
|
|
"select_file_img": "上传文件/图片",
|
|
"select_img": "上传图片",
|
|
"source_cronJob": "定时执行",
|
|
"stream_output": "流输出",
|
|
"unsupported_file_type": "不支持的文件类型",
|
|
"upload": "上传",
|
|
"variable_invisable_in_share": "自定义变量在免登录链接中不可见",
|
|
"view_citations": "查看引用",
|
|
"web_site_sync": "Web站点同步"
|
|
}
|