mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 00:56:26 +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": "網站同步"
|
|
}
|