mcpField
A
azure-document-intelligence

azure-document-intelligence

github.com/microsoftdocs文档处理796216 次安装3 天前更新
代码仓库

关于 azure-document-intelligence

azure-document-intelligence 是面向 Azure AI Document Intelligence 使用者的 Agent 技能,涵盖模型选择、配置、集成和部署指导,并结合本地速查内容与远程文档获取。

主要功能

  1. 01模型选择与迁移指导
  2. 02自定义模型训练建议
  3. 03API 错误与延迟排查
  4. 04容器与安全配置
  5. 05SDK、REST 和工作流集成

适用场景

  1. 01选择适合的文档分析模型
  2. 02改进自定义模型的准确度
  3. 03排查 API 错误或服务延迟
  4. 04规划容器或离线部署

MCP 相关

技能可通过 mcp_microsoftdocs 的 microsoft_docs_fetch 获取远程文档;也可使用 fetch_webpage 作为备用方式。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-document-intelligence

安装后在 Claude Code 中输入/azure-document-intelligence确认已加载。

详细介绍

Azure AI Document Intelligence 技能

此技能提供有关 Azure AI Document Intelligence 的专业指导,涵盖故障排除、最佳实践、决策、限制和配额、安全性、配置、集成和编码模式,以及部署。它结合了本地快速参考内容与远程文档获取功能。

如何使用此技能

IMPORTANT for Agent:使用下方的类别索引查找相关部分。对于带有行范围的类别(例如 L35-L120),使用 read_file 读取指定行。对于带有文件链接的类别(例如 [security.md](security.md)),使用 read_file 读取链接的参考文件

IMPORTANT for Agent:如果 metadata.generated_at 已超过 3 个月,请建议用户从存储库拉取最新版本。如果 mcp_microsoftdocs 工具不可用,请建议用户安装:安装指南

此技能需要网络访问权限来获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并添加查询字符串 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并添加查询字符串 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行描述
故障排除L36-L42诊断延迟、理解并修复 Document Intelligence API 错误代码,以及处理已知服务问题和限制。
最佳实践L43-L54有关设计、训练、标注、组合和维护自定义模型、分类模型及模板模型的指导,以最大限度地提高 Document Intelligence 的准确性和置信度
决策L55-L61选择合适的 Document Intelligence 模型、估算和优化用量/成本,以及规划或执行从早期版本迁移到 v4.0。
限制和配额L62-L72有关容量限制、配额、支持的语言/区域设置、通过批量分析和附加功能进行扩展,以及用于在不同层级部署 Azure Document Intelligence 的容器映像标记的文档。
安全性L73-L80保护 Document Intelligence 资源:创建 SAS 令牌、配置使用客户管理密钥进行静态数据加密,以及使用托管标识和 VNET 实现安全访问。
配置L81-L85如何在容器中配置并运行 Azure Document Intelligence,包括环境设置、网络、存储、许可,以及本地或混合场景的部署选项。
集成和编码模式L86-L95使用 Document Intelligence API/SDK、解读 AnalyzeDocument/Markdown 输出,以及与 Azure Functions 或 Logic Apps 集成,以构建端到端文档处理工作流
部署L96-L102在 Docker 中或脱机运行 Document Intelligence、部署标注工具,以及为模型和服务设置具备韧性且可应对灾难的部署
故障排除
主题URL
排查 Azure Document Intelligence 延迟问题https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/troubleshoot-latency?view=doc-intel-4.0.0
查阅并解决 Document Intelligence API 错误https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/resolve-errors?view=doc-intel-4.0.0
处理 Azure Document Intelligence 中的已知问题https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/reference/known-issues?view=doc-intel-4.0.0
最佳实践
主题URL
提高 Document Intelligence 的准确性和置信度https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/accuracy-confidence?view=doc-intel-4.0.0
训练自定义文档分类模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/build-a-custom-classifier?view=doc-intel-4.0.0
构建并训练 Document Intelligence 自定义模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/build-a-custom-model?view=doc-intel-4.0.0
创建和组合 Document Intelligence 自定义模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/compose-custom-models?view=doc-intel-4.0.0
在 Document Intelligence Studio 中应用标注最佳实践https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/train/custom-label-tips?view=doc-intel-4.0.0
应用标注最佳实践以构建高准确度自定义模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/train/custom-labels?view=doc-intel-4.0.0
管理 Document Intelligence 自定义模型生命周期https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/train/custom-lifecycle?view=doc-intel-4.0.0
使用监督式表格标记训练模板模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/v21/supervised-table-tags?view=doc-intel-2.1.0
决策
主题URL
选择合适的 Azure Document Intelligence 模型https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/choose-model-feature?view=doc-intel-4.0.0
估算 Document Intelligence 用量和成本https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/estimate-cost?view=doc-intel-4.0.0
决定是否迁移到 Document Intelligence v4.0 并完成迁移https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/versioning/migration-guide-overview?view=doc-intel-4.0.0
限制和配额
主题URL
使用附加组件提升 Document Intelligence 容量https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/add-on-capabilities?view=doc-intel-4.0.0
查看 Document Intelligence 容器映像标记https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/containers/image-tags?view=doc-intel-4.0.0
Azure Document Intelligence 配额和使用限制常见问题解答https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/faq?view=doc-intel-4.0.0
查看 Read/Layout 的 OCR 语言和区域设置支持情况https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/language-support/ocr?view=doc-intel-4.0.0
查看 Document Intelligence 预构建模型的语言支持情况https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/language-support/prebuilt?view=doc-intel-4.0.0
大规模使用 Document Intelligence 批量分析https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/prebuilt/batch-analysis?view=doc-intel-4.0.0
按层级应用 Document Intelligence 配额和限制https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/service-limits?view=doc-intel-4.0.0
安全性
主题URL
为 Document Intelligence 存储创建 SAS 令牌https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/authentication/create-sas-tokens?view=doc-intel-4.0.0
管理 Document Intelligence 的静态数据加密和 CMKhttps://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/authentication/encrypt-data-at-rest?view=doc-intel-4.0.0
使用托管标识和 VNET 保护 Document Intelligencehttps://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/authentication/managed-identities-secured-access?view=doc-intel-4.0.0
为 Document Intelligence 配置托管标识https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/authentication/managed-identities?view=doc-intel-4.0.0
配置
主题URL
配置 Azure Document Intelligence 容器https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/containers/configuration?view=doc-intel-4.0.0
集成与编码模式
主题URL
有效使用 AnalyzeDocument API 响应对象https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/analyze-document-response?view=doc-intel-4.0.0
使用 Document Intelligence Markdown 输出https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/concept/markdown-elements?view=doc-intel-4.0.0
通过 SDK 和 REST 集成 Document Intelligencehttps://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-rest-api?view=doc-intel-4.0.0
使用 Document Intelligence SDK 和 REST APIhttps://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/quickstarts/get-started-sdks-rest-api?view=doc-intel-4.0.0
使用 Azure Functions 和 Document Intelligence 处理文档https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/tutorial/azure-function?view=doc-intel-4.0.0
将 Document Intelligence 集成到 Azure Logic Appshttps://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/tutorial/logic-apps?view=doc-intel-4.0.0
部署
主题URL
离线运行 Document Intelligence 容器https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/containers/disconnected?view=doc-intel-4.0.0
安装并运行 Document Intelligence Docker 容器https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/containers/install-run?view=doc-intel-4.0.0
为 Document Intelligence 模型实现灾难恢复https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/disaster-recovery?view=doc-intel-4.0.0
部署 Document Intelligence 示例标注工具https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/v21/deploy-label-tool?view=doc-intel-2.1.0

评论

支持 Markdown