mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 10:30:03 +08:00
update
This commit is contained in:
@@ -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.",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -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
|
||||
# ============================================
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user