首页 时政热点 科技头条 智能AI 安全攻防 数码硬件 开发者生态 汽车 游戏 社会热点 开源推荐 医疗健康 归档 标签 关于

GitHub 热门项目:agentic-doc

摘要

GitHub项目:agentic-doc 仓库地址:https://github。com/landing-ai/agentic-doc Stars:2398 | 作者:landing-ai 项目描述:Legacy Python library for Agentic Document Extraction (ADE)。

https doc agentic landing and
2026-05-20 1 阅读 约7分钟阅读 GitHub Trending
GitHub 项目:agentic-doc 仓库地址:https://github.com/landing-ai/agentic-doc 星级:2398 | 作者:落地艾 项目描述:用于代理文档提取 (ADE) 的旧版 Python 库。对所有新项目使用 landai-ade 库。 =================================================== 自述文件内容: ### 弃用警告 ⚠️⚠️⚠️ Agentic-doc Python 库现在已成为遗产。请迁移到新的 [landingai-ade 库](https://github.com/landing-ai/ade-python),它现在是代理文档提取的官方 Python 库,并支持我们较新的 API 端点。 # 代理文档提取 – Python 库 [![单元测试状态](https://github.com/landing-ai/agentic-doc/actions/workflows/ci-unit.yml/badge.svg)](https://github.com/landing-ai/agentic-doc/actions/workflows/ci-unit.yml) [![集成测试状态](https://github.com/landing-ai/agentic-doc/actions/workflows/ci-integ.yml/badge.svg)](https://github.com/landing-ai/agentic-doc/actions/workflows/ci-integ.yml) [![](https://dcbadge.vercel.app/api/server/wPdN8RCYew?compact=true&style=flat)](https://discord.gg/RVcW3j9RgR) [![PyPI 版本](https://badge.fury.io/py/agentic-doc.svg)](https://badge.fury.io/py/agentic-doc) **[网络应用程序](https://va.landing.ai/demo/doc-extraction)·[Discord](https://discord.com/invite/RVcW3j9RgR)·[博客](https://landing.ai/blog/going-beyond-ocrllm-introducing-agentic-document-extraction)·· [文档](https://support.landing.ai/docs/document-extraction)**
## 概述 LandingAI **代理文档提取** API 从视觉上复杂的文档(例如表格、图片和图表)中提取结构化数据,并返回具有精确元素位置的分层 JSON。 这个 Python 库包装了该 API 以提供: * **长文档支持** – 在一次调用中处理 100 多页 PDF * **自动重试/分页** – 处理并发、超时和速率限制 * **帮助实用程序** – 边界框片段、可视化调试器等 ### 特点 - ? **含电池安装:** `pip install agentic-doc` – 不需要其他 → 请参阅[安装](#installation) - ?️ **所有文件类型:** 解析*任意*长度的 PDF、单个图像或 URL → 请参阅[支持的文件](#supported-files) - ? **长文档就绪:** 自动拆分和并行处理 1000 多页 PDF,然后拼接结果 → 请参阅[解析大型 PDF 文件](#parse-large-pdf-files) - ? **结构化输出:** 返回分层 JSON 以及可立即渲染的 Markdown → 请参阅[结果架构](#result-schema) - ?️ **地面实况视觉效果:** 可选的边界框片段和全页可视化 → 请参阅[将地面另存为图像](#save-groundings-as-images) - ? **批量和并行:** 提供列表;库管理线程和速率限制(“BATCH_SIZE”、“MAX_WORKERS”)→ 请参阅[批量解析多个文件](#parse-multiple-files-in-a-batch) - ? **弹性:** 408/429/502/503/504 和速率限制命中的指数退避重试 → 请参阅[通过重试自动处理 API 错误和速率限制](#automatically-handle-api-errors-and-rate-limits-with-retries) - ⚙️ **通过 env / .env 配置:** 调整并行性、日志记录样式、重试上限 - 无需更改代码 → 请参阅[配置选项](#configuration-options) - ? **原始 API 就绪:** 高级用户仍然可以直接访问 REST 端点 → 请参阅[