mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-18 12:04:45 +08:00
feat: add resource upload support for RAG (#768)
* feat: add resource upload support for RAG - Backend: Added ingest_file method to Retriever and MilvusRetriever - Backend: Added /api/rag/upload endpoint - Frontend: Added RAGTab in settings for uploading resources - Frontend: Updated translations and settings registration * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review * Apply suggestions from code review of src/rag/milvus.py --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,17 @@
|
||||
"addNewMCPServers": "添加新的 MCP 服务器",
|
||||
"mcpConfigDescription": "DeerFlow 使用标准 JSON MCP 配置来创建新服务器。",
|
||||
"pasteConfigBelow": "将您的配置粘贴到下面,然后点击\"添加\"来添加新服务器。",
|
||||
"rag": {
|
||||
"title": "资源",
|
||||
"description": "在此管理您的知识库资源。上传 Markdown 或文本文件以供检索索引。",
|
||||
"upload": "上传",
|
||||
"uploading": "上传中...",
|
||||
"uploadSuccess": "文件上传成功",
|
||||
"uploadFailed": "文件上传失败",
|
||||
"emptyFile": "无法上传空文件",
|
||||
"loading": "正在加载资源...",
|
||||
"noResources": "未找到资源。上传文件以开始使用。"
|
||||
},
|
||||
"add": "添加",
|
||||
"general": {
|
||||
"title": "通用",
|
||||
|
||||
Reference in New Issue
Block a user