Azure AI Document Intelligence 技能
本技能提供 Azure AI Document Intelligence 的专家指导。涵盖问题排查、最佳实践、决策制定、限制与配额、安全性、配置、集成与编码模式以及部署。它将本地快速参考内容与远程文档获取能力相结合。
如何使用本技能
对 Agent 的重要提示:使用下方的分类索引定位相关章节。对于带有行号范围的分类(例如 L35-L120),使用 read_file 读取指定行。对于带有文件链接的分类(例如 [security.md](security.md)),使用 read_file 读取关联的参考文件。
对 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 |
容量附加组件、容器镜像标签、OCR 和模型语言/区域设置支持、大规模批量处理以及 Azure Document Intelligence 的服务配额/限制。 |
| 安全性 |
L73-L80 |
保护 Document Intelligence 资源:创建 SAS 令牌、配置客户管理密钥的静态数据加密,以及使用托管身份和 VNET 实现安全访问。 |
| 配置 |
L81-L86 |
配置和部署 Document Intelligence 容器,以及在 Document Intelligence Studio 中管理和共享自定义模型项目以实现协作。 |
| 集成与编码模式 |
L87-L97 |
如何通过 REST/SDK 调用 Document Intelligence,使用示例工具,以及将输出(JSON/Markdown)与 Azure Functions 和 Logic Apps 集成到工作流中。 |
| 部署 |
L98-L105 |
部署 Document Intelligence 的指南:Docker/容器设置(包括离线)、SDK/REST API 使用、灾难恢复以及部署示例标注工具。 |
问题排查
| 主题 |
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 |
| 管理 Azure 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 |
| 了解自定义 Document Intelligence 模型的语言支持 |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/language-support/custom?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 |
| Azure 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 的静态数据加密和 CMK |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/authentication/encrypt-data-at-rest?view=doc-intel-4.0.0 |
| 使用托管身份和 VNET 保护 Document Intelligence |
https://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 |
| 在 Document Intelligence Studio 中共享自定义模型项目 |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/project-share-custom-models?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 Intelligence |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/how-to-guides/use-sdk-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 Apps 集成 |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/tutorial/logic-apps?view=doc-intel-4.0.0 |
| 使用带 REST API 的示例工具训练模型 |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/v21/label-tool?view=doc-intel-2.1.0 |
| 使用示例工具标注、训练和分析表单 |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/v21/try-sample-label-tool?view=doc-intel-2.1.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 SDK 和 REST API |
https://learn.microsoft.com/en-us/azure/ai-services/document-intelligence/quickstarts/get-started-sdks-rest-api?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 |