""" 知识库管理模块 包含: - manager: 多向量库管理器 (KnowledgeBaseManager) - router: 知识库路由器 (KnowledgeBaseRouter) - sync: 知识库同步服务 (KnowledgeSyncService) - base: 基础类和常量 - collection: 向量库管理 Mixin - document: 文档管理 Mixin - chunk: 切片管理 Mixin - index: BM25 索引管理 Mixin - search: 检索功能 Mixin - processing: 图片/表格处理 Mixin - permission: 权限控制 Mixin """ from .manager import KnowledgeBaseManager from .router import KnowledgeBaseRouter from .base import ( BM25Index, CollectionInfo, SearchResult, PUBLIC_KB_NAME, ) try: from .sync import KnowledgeSyncService except ImportError: pass __all__ = [ 'KnowledgeBaseManager', 'KnowledgeBaseRouter', 'KnowledgeSyncService', 'BM25Index', 'CollectionInfo', 'SearchResult', 'PUBLIC_KB_NAME', ]