agentscope-ai / agentscope-ai/agentscope
feat(rag): support RAGFlow in a new `RAGFlowKnowledgeBase` class rather than VDB
- 主要语言
- Python
- 星标
- 31.5k
- 派生
- 3.5k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 95
描述
**Background**
Through recent investigation into RAGFlow, we found that it provides a complete, end-to-end RAG pipeline — including document parsing, chunking, indexing, and retrieval — as a fully managed solution. This makes it fundamentally different from a traditional vector database (VDB).
Forcing RAGFlow into our existing VDB abstraction would be a poor fit: it would either require bypassing RAGFlow's core strengths (e.g., its built-in document processing and indexing pipeline) or lead to an awkward, leaky abstraction. To fully leverage what RAGFlow offers, it should instead be integrated at the Knowledge layer, sitting alongside the existing Knowledge class rather than beneath it.
**Changes**
Add RAGFlowKnowledge class under the rag module
Implement the same interface as the existing Knowledge class, ensuring consistency and interoperability across different knowledge backends
Encapsulate RAGFlow's document parsing, indexing, and retrieval capabilities within the new class
贡献指南
评估
这个 Issue 还没有评估数据。