AI Practices AI实践 2d ago Updated 2d ago 更新于 2天前 42

KnowledgeForge: mining gold from the ITSM ticket graveyard KnowledgeForge:从ITSM工单墓地中掘金

KnowledgeForge is an AI-powered system that mines resolved ITSM incident tickets to automatically generate knowledge base articles and root cause analysis documents, closing the gap between ticket resolution and knowledge capture. The system operates as a closed-loop pipeline: generation creates drafts from clustered tickets using RAG, while curation classifies, deduplicates, scores, and rewrites existing articles. Built on AWS infrastructure, it uses Amazon Bedrock (Claude Sonnet 4.5) for conte KnowledgeForge 是一个基于 AWS 构建的闭环知识库系统,从 ITSM 工单中挖掘知识并自动维护现有知识库 系统采用双子系统架构:生成子系统将聚类工单转化为知识文章,策展子系统对文章进行分类、去重、质量评分和内容改进 核心技术栈包括 Amazon Bedrock(Claude Sonnet 4.5 生成)、Amazon S3 Vectors(向量检索去重)、AWS Step Functions(编排)和 Amazon ECS/Fargate(计算) 通过 RAG 机制实现闭环:策展阶段将文章向量化存储,生成阶段检索相似文章作为参考上下文,确保术语一致性和减少幻觉 系统支持流式响应

60
Hot 热度
65
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • KnowledgeForge is an AI-powered system that mines resolved ITSM incident tickets to automatically generate knowledge base articles and root cause analysis documents, closing the gap between ticket resolution and knowledge capture.
  • The system operates as a closed-loop pipeline: generation creates drafts from clustered tickets using RAG, while curation classifies, deduplicates, scores, and rewrites existing articles.
  • Built on AWS infrastructure, it uses Amazon Bedrock (Claude Sonnet 4.5) for content generation, Amazon S3 Vectors for semantic deduplication and grounding, and AWS Step Functions for orchestration.
  • A human knowledge manager reviews and approves all output before it goes live, ensuring human oversight in the loop.
  • The system reuses embedded vectors from curated articles as grounding context for future generation runs, continuously improving relevance and reducing duplication.

Why It Matters

KnowledgeForge addresses a critical pain point in enterprise IT operations: the vast majority of resolved incident knowledge is never captured in usable form, while existing knowledge bases grow messy and unreliable. For AI practitioners, it demonstrates a production-ready pattern for combining RAG, vector-based deduplication, and generative AI in a closed-loop workflow with human oversight—highly relevant for any organization managing large-scale document processing or knowledge management pipelines.

Technical Details

  • Architecture: Two interconnected subsystems—Generation (ECS/Fargate) and Curation (Step Functions/Lambda)—operating in a closed loop where curation-embedded vectors feed back into generation as grounding context.
  • Model: Anthropic Claude Sonnet 4.5 via Amazon Bedrock for both article generation and content improvement; Amazon Titan Text Embeddings V2 for vector embeddings stored in Amazon S3 Vectors.
  • Generation Pipeline: Resolved tickets are clustered by theme and stored as JSON in S3. An ECS/Fargate container polls SQS, retrieves the 5 most similar existing articles from S3 Vectors for RAG grounding, then generates two structured documents per theme: a knowledge base article (title, summary, symptoms, root cause, resolution, prevention) and a root cause analysis document (executive summary, five-why analysis, corrective/preventive actions, cause code).
  • Curation Pipeline: Every article (new and existing) passes through four Lambda-driven steps in Step Functions: type classification, duplicate detection via vector similarity, quality scoring, and content rewriting for weak articles.
  • Infrastructure: AWS CDK-deployed stack including S3 buckets, S3 Vectors indexes, Step Functions state machines, Lambda functions, ECS/Fargate services, DynamoDB tables, SQS queues, Bedrock guardrails, and KMS keys. Output is sent to ServiceNow for human review, with approval decisions written back to DynamoDB.

Industry Insight

  • The closed-loop design—where curated article embeddings continuously ground future generation—is a powerful pattern for any knowledge-intensive domain; organizations should design their AI systems to feed output back as input context rather than treating generation as a one-shot process.
  • The hybrid compute strategy (long-running ECS/Fargate for generation bursts, serverless Lambda for curation workflows) demonstrates how to match workload characteristics to the right AWS compute model, a blueprint for building scalable generative AI pipelines.
  • Human-in-the-loop review at the final stage, rather than at every step, balances automation speed with quality assurance—organizations should consider placing human review at the approval gate rather than trying to automate 100% of the pipeline.

TL;DR

  • KnowledgeForge 是一个基于 AWS 构建的闭环知识库系统,从 ITSM 工单中挖掘知识并自动维护现有知识库
  • 系统采用双子系统架构:生成子系统将聚类工单转化为知识文章,策展子系统对文章进行分类、去重、质量评分和内容改进
  • 核心技术栈包括 Amazon Bedrock(Claude Sonnet 4.5 生成)、Amazon S3 Vectors(向量检索去重)、AWS Step Functions(编排)和 Amazon ECS/Fargate(计算)
  • 通过 RAG 机制实现闭环:策展阶段将文章向量化存储,生成阶段检索相似文章作为参考上下文,确保术语一致性和减少幻觉
  • 系统支持流式响应生成,人工审核环节保留在 ServiceNow 中,确保知识管理者的最终控制权

为什么值得看

KnowledgeForge 展示了企业级 AI 知识库管理的完整解决方案,解决了 IT 支持团队长期面临的知识孤岛和知识库质量下降问题。其闭环架构和 AWS 原生服务组合为构建大规模文档处理管道提供了可复用的技术模式。

技术解析

  • 双子系统闭环架构:生成子系统从聚类工单创建知识文章和根因分析文档,策展子系统对文章进行类型分类、重复检测、质量评分和内容改进,两者通过向量索引实现数据闭环
  • Amazon S3 Vectors 向量检索:用于去重检测和 RAG 上下文检索,系统为每篇文章生成向量并存储,生成阶段检索最相似的 5 篇文章作为参考,确保术语一致性
  • Amazon Bedrock 生成能力:使用 Claude Sonnet 4.5 模型生成结构化知识文章(标题、摘要、症状、根因、解决步骤等)和根因分析文档(五问分析、纠正预防措施等),支持流式响应
  • AWS Step Functions 编排:通过状态机协调策展流程的四个步骤(分类、去重、评分、改进),结合 Lambda 函数实现无服务器工作流
  • Amazon ECS/Fargate 计算:处理长时间运行的生成任务,支持批量处理(每次最多 5 个主题),适应突发工作负载模式

行业启示

  • 企业知识库管理需要 AI 自动化:传统知识库维护依赖人工,导致内容过时、重复和质量参差不齐,AI 驱动的自动化策展可显著提升知识管理效率
  • 闭环架构是知识库持续优化的关键:通过向量化存储和检索实现生成与策展的数据闭环,确保新内容基于现有知识,减少重复和冲突
  • 人机协作模式保持可控性:AI 生成和策展结果需经人工审核批准,既发挥 AI 效率优势,又保留人类对知识质量的最终控制权

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 RAG 检索增强生成 Deployment 部署 Product Launch 产品发布