Files
more_dots/services/integrations/__init__.py
T

25 lines
635 B
Python
Raw Normal View History

2026-03-24 18:07:22 +08:00
"""外部集成模块"""
from .ragflow_client import RagflowClient, extract_table_name
from .ragflow_sync import RagflowSync
# 延迟导入 nacos(可选依赖)
try:
from .nacos_service import NacosManager, NacosConfig, ServiceConfig, load_nacos_config, load_service_config
__all__ = [
"RagflowClient",
"extract_table_name",
"RagflowSync",
"NacosManager",
"NacosConfig",
"ServiceConfig",
"load_nacos_config",
"load_service_config",
]
except ImportError:
__all__ = [
"RagflowClient",
"extract_table_name",
"RagflowSync",
]