External knowledge source ingestion

From aifinlab/FinClaw · View interactive version

External knowledge source ingestion is an AI agent skill from the GitHub repository aifinlab/FinClaw. 用于制度/产品/FAQ库的外部知识源接入原子 skill,适用于通用行业数据接入场景。

How to use this skill

Skill file

外部知识源接入 Skill

数据来源

本 Skill 支持多种外部知识源输入格式,核心数据来源包括:

1. 知识源类型

2. 知识源格式

3. 数据格式要求

4. 知识特征

说明:本 Skill 不包含知识源配置功能,需要用户提供知识源连接信息。建议知识源稳定可靠,以便进行准确的知识接入。


功能

本 Skill 提供全面的外部知识源接入能力,涵盖多种接入功能:

1. 知识源连接

2. 知识提取

3. 知识解析

4. 知识标准化

5. 知识索引

6. 高级处理功能


使用示例

输出示例

{
  "source_info": {
    "source_type": "knowledge_base",
    "source_name": "financial_regulations",
    "source_format": "database",
    "knowledge_count": 10000
  },
  "ingestion_config": {
    "extract_full_text": true,
    "extract_metadata": true,
    "index_content": true,
    "categorize": true
  },
  "ingestion_results": {
    "total_knowledge": 10000,
    "successful_knowledge": 9800,
    "failed_knowledge": 200,
    "ingestion_time": "2024-03-15T10:00:00",
    "duration": "600s"
  },
  "knowledge_samples": [
    {
      "knowledge_id": "KB001",
      "title": "证券法相关规定",
      "category": "法律法规",
      "content": "知识内容...",
      "metadata": {
        "source": "证券法",
        "chapter": "第一章",
        "article": "第一条",
        "publish_date": "2020-01-01"
      },
      "tags": ["证券", "法律", "监管"],
      "indexed": true
    }
  ],
  "statistics": {
    "knowledge_ingested": 9800,
    "knowledge_indexed": 9800,
    "categories": 50,
    "tags": 500,
    "success_rate": 0.98
  }
}

注意事项与限制

1. 知识源要求

2. 知识提取准确性

3. 知识标准化

4. 知识索引

5. 使用限制


参考资料

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.