"""
施工方案审查核心组件模块
负责文档处理、AI审查和报告生成的核心业务逻辑
"""

from .document_processor import DocumentProcessor

__all__ = [
    'DocumentProcessor',
    'AIReviewEngine',
    'ReportGenerator'
]

# 延迟导入 AIReviewEngine 和 ReportGenerator，避免在包导入时触发向量库初始化大幅减少模块加载时的依赖
def __getattr__(name: str):
    """延迟导入支持（Python 3.7+）"""
    if name == 'AIReviewEngine':
        from .ai_review_engine import AIReviewEngine
        return AIReviewEngine
    elif name == 'ReportGenerator':
        from .report_generator import ReportGenerator
        return ReportGenerator
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")