From 5ffa8405a9cd6b7c5ea2f1181fd3eea0e9d2b49f Mon Sep 17 00:00:00 2001 From: Bingxi Zhao Date: Thu, 15 Jan 2026 02:55:11 +0800 Subject: [PATCH] update --- src/services/rag/factory.py | 6 +++--- web/.env.local | 2 +- web/app/knowledge/page.tsx | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/services/rag/factory.py b/src/services/rag/factory.py index 715888126..fdf13de91 100644 --- a/src/services/rag/factory.py +++ b/src/services/rag/factory.py @@ -66,17 +66,17 @@ def list_pipelines() -> List[Dict[str, str]]: { "id": "llamaindex", "name": "LlamaIndex", - "description": "纯向量检索,处理速度最快,适合快速搭建和简单场景。", + "description": "Pure vector retrieval, fastest processing speed.", }, { "id": "lightrag", "name": "LightRAG", - "description": "轻量级知识图谱检索,快速处理纯文本文档,适合通用文档。", + "description": "Lightweight knowledge graph retrieval, fast processing of text documents.", }, { "id": "raganything", "name": "RAG-Anything", - "description": "多模态文档处理,支持图表和公式提取,构建知识图谱。适合学术论文和教材。", + "description": "Multimodal document processing with chart and formula extraction, builds knowledge graphs.", }, ] diff --git a/web/.env.local b/web/.env.local index 8840a64d6..0b6543af3 100644 --- a/web/.env.local +++ b/web/.env.local @@ -3,7 +3,7 @@ # ============================================ # This file is automatically updated based on config/main.yaml # and environment variables (NEXT_PUBLIC_API_BASE, NEXT_PUBLIC_API_BASE_EXTERNAL) -# +# # To configure for remote access, set in your .env file: # NEXT_PUBLIC_API_BASE=http://your-server-ip:8001 # ============================================ diff --git a/web/app/knowledge/page.tsx b/web/app/knowledge/page.tsx index 320169ab3..543848e8f 100644 --- a/web/app/knowledge/page.tsx +++ b/web/app/knowledge/page.tsx @@ -964,15 +964,15 @@ export default function KnowledgePage() { // Fallback descriptions const fallbackDescriptions: Record = { llamaindex: - "纯向量检索,处理速度最快,适合快速搭建和简单场景。", + "Pure vector retrieval, fastest processing speed.", lightrag: - "轻量级知识图谱检索,快速处理纯文本文档,适合通用文档。", + "Lightweight knowledge graph retrieval, fast processing of text documents.", raganything: - "多模态文档处理,支持图表和公式提取,构建知识图谱。适合学术论文和教材。", + "Multimodal document processing with chart and formula extraction, builds knowledge graphs.", }; return ( fallbackDescriptions[ragProvider] || - "选择适合您文档类型的 RAG 管道" + "Select a RAG pipeline suitable for your document type" ); })()}

@@ -1106,15 +1106,15 @@ export default function KnowledgePage() { } const fallbackDescriptions: Record = { llamaindex: - "纯向量检索,处理速度最快,适合快速搭建和简单场景。", + "Pure vector retrieval, fastest processing speed.", lightrag: - "轻量级知识图谱检索,快速处理纯文本文档,适合通用文档。", + "Lightweight knowledge graph retrieval, fast processing of text documents.", raganything: - "多模态文档处理,支持图表和公式提取,构建知识图谱。适合学术论文和教材。", + "Multimodal document processing with chart and formula extraction, builds knowledge graphs.", }; return ( fallbackDescriptions[ragProvider] || - "选择适合您文档类型的 RAG 管道" + "Select a RAG pipeline suitable for your document type" ); })()}