- 新增 ReadOnlyConnectors 基类,支持只读外部检索 - 添加知识库类型特定参数配置方法 - 重构 dify 知识库实现 - 优化 additional_params 处理逻辑
13 lines
337 B
Python
13 lines
337 B
Python
"""知识库具体实现模块
|
|
|
|
包含各种知识库的具体实现:
|
|
- MilvusKB: 基于 Milvus 的向量知识库
|
|
- DifyKB: 基于 Dify 检索 API 的只读知识库
|
|
"""
|
|
|
|
from .dify import DifyKB
|
|
from .milvus import MilvusKB
|
|
from .read_only_connectors import ReadOnlyConnectors
|
|
|
|
__all__ = ["MilvusKB", "DifyKB", "ReadOnlyConnectors"]
|