feat(file-summary): 生成汇总报告和导出下载
This commit is contained in:
@@ -22,6 +22,7 @@ from .skills.document_page_count import DocumentPageCountSkill
|
||||
from .skills.file_inventory import FileInventorySkill
|
||||
from .skills.product_detect import ProductDetectSkill
|
||||
from .skills.registry import SkillRegistry
|
||||
from .skills.summary_report import SummaryReportSkill
|
||||
|
||||
|
||||
NODE_DEFINITIONS = [
|
||||
@@ -30,7 +31,7 @@ NODE_DEFINITIONS = [
|
||||
("inventory", "文件扫描", "file_inventory"),
|
||||
("page_count", "页数统计", "document_page_count"),
|
||||
("product_detect", "产品识别", "product_detect"),
|
||||
("report", "报告输出", ""),
|
||||
("report", "报告输出", "summary_report"),
|
||||
("complete", "完成", ""),
|
||||
]
|
||||
|
||||
@@ -41,6 +42,7 @@ def default_skill_registry() -> SkillRegistry:
|
||||
registry.register(FileInventorySkill())
|
||||
registry.register(DocumentPageCountSkill())
|
||||
registry.register(ProductDetectSkill())
|
||||
registry.register(SummaryReportSkill())
|
||||
return registry
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user