Announcement layout parsing

From aifinlab/FinClaw · View interactive version

Announcement layout parsing is an AI agent skill from the GitHub repository aifinlab/FinClaw. 用于公告结构拆分的公告版式解析原子 skill,适用于通用行业文档解析场景。

How to use this skill

Skill file

公告版式解析 Skill

数据来源

本 Skill 支持多种公告文档输入格式,核心数据来源包括:

1. 公告文档类型

2. 公告内容类型

3. 文档特征

4. 数据格式要求

说明:本 Skill 不包含文档采集功能,需要用户提供公告文档文件。建议文档格式规范,以便进行准确的版式解析。


功能

本 Skill 提供全面的公告版式解析能力,涵盖多种解析功能:

1. 公告结构识别

2. 章节结构解析

3. 表格识别

4. 关键信息提取

5. 版式还原

6. 高级处理功能


使用示例

输出示例

{
  "document_info": {
    "filename": "announcement.pdf",
    "file_size": 512000,
    "page_count": 10,
    "language": "zh-CN",
    "announcement_type": "重大事项公告"
  },
  "header": {
    "title": "关于重大资产重组的公告",
    "announcement_number": "2024-001",
    "company_name": "示例股份有限公司",
    "stock_code": "000001",
    "publish_date": "2024-03-15",
    "publish_org": "上海证券交易所"
  },
  "structure": {
    "sections": [
      {
        "level": 1,
        "title": "一、交易概述",
        "content": "交易概述内容...",
        "page": 1
      },
      {
        "level": 1,
        "title": "二、交易对方基本情况",
        "content": "交易对方基本情况...",
        "page": 2
      }
    ]
  },
  "tables": [
    {
      "table_id": 1,
      "type": "financial_table",
      "position": {
        "page": 5,
        "section": "三、交易标的基本情况"
      },
      "rows": 8,
      "columns": 4,
      "data": [
        ["项目", "2024年", "2023年", "2022年"],
        ["营业收入", "1000", "900", "800"]
      ]
    }
  ],
  "key_information": {
    "company_name": "示例股份有限公司",
    "stock_code": "000001",
    "transaction_amount": 500000000,
    "transaction_date": "2024-03-20",
    "related_parties": ["关联公司A", "关联公司B"]
  }
}

注意事项与限制

1. 文档格式要求

2. 解析准确性

3. 性能考虑

4. 版式差异

5. 使用限制


参考资料

License

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.