Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

update

Bingxi Zhao5ffa8405a9cd
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<string, string> = {
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"
);
})()}
</p>
@@ -1106,15 +1106,15 @@ export default function KnowledgePage() {
}
const fallbackDescriptions: Record<string, string> = {
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"
);
})()}
</p>