We created a document OCR router that can estimate the complexity of every single page and parse it ...

TL;DR · AI 摘要
文档OCR路由器通过智能路由实现多模式解析,显著提升复杂文档处理效率。
核心要点
- 使用LiteParse的is_complex参数可自动识别页面复杂度并路由解析模式
- 扫描图像/表格采用成本效益模式,乱码文本需VLM处理,图表需深度视觉解析
- LlamaParse提供针对复杂页面的视觉语言模型解析方案
结构提纲
按章节快速跳转。
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- 文档OCR路由器架构
- 页面分类
- 文本页
- 图像页
- 表格页
- 图表页
- 解析模式
- LiteParse
- VLM模式
- Agentic模式
- 核心工具
- LiteParse
- LlamaParse
金句 / Highlights
值得收藏与分享的关键句。
不同页面类型(文本/图像/图表)需要差异化的解析模式处理
is_complex参数使LiteParse具备免费路由能力,降低处理成本
LlamaParse通过视觉语言模型解决乱码文本和复杂图表解析难题
Jerry Liu on X: "We created a document OCR router that can estimate the complexity of every single page and parse it with the relevant mode 💫 * Some pages are full of native text, which can be directly handled with LiteParse * Some pages contain scanned images or tables, which can be handled with our cost-effective or agentic tiers * Some pages contain garbled text - it decodes to garbage - so you need a heavier-weight VLM to interpret the text elements * Some pages contain heavy visuals like labeled/unlabeled charts or diagrams, which also require deeper visual processing You actually get the routing capabilities for free with the `is_complex` toggle in LiteParse. The next step is figuring out what the relevant VLM modes are to parse varying page complexities. That's well served by LlamaParse! Blog: https://t.co/ovsIN1Th95 LiteParse: https://t.co/JNER0mUELA LlamaParse: https://t.co/XYZmx5T7JA" / X
@jerryjliu0
We created a document OCR router that can estimate the complexity of every single page and parse it with the relevant mode 💫 * Some pages are full of native text, which can be directly handled with LiteParse * Some pages contain scanned images or tables, which can be handled with our cost-effective or agentic tiers * Some pages contain garbled text - it decodes to garbage - so you need a heavier-weight VLM to interpret the text elements * Some pages contain heavy visuals like labeled/unlabeled charts or diagrams, which also require deeper visual processing You actually get the routing capabilities for free with the is_complex toggle in LiteParse. The next step is figuring out what the relevant VLM modes are to parse varying page complexities. That's well served by LlamaParse! Blog:
llamaindex.ai/blog/parse-gat…
LiteParse:
github.com/run-llama/lite…
LlamaParse:
cloud.llamaindex.ai
LlamaIndex 🦙
@llama_index
Jul 30
Not every page in your PDF needs the same treatment. A scanned cover, a dense table, a clean text page, a figure-heavy diagram.... most parsing pipelines throw all of them at the same parser, forcing a tradeoff between cost, speed, and accuracy across the whole document. We
Show more
9:32 PM · Jul 31, 2026
14.9K
Views
10
18
118
132