<span id="多模态信息提取"></span>

# Multimodal Information Extraction

Read PDF pages directly in Information Extraction and extract fields using their layout and visual content.

<span id="开始前准备"></span>

## Before you begin

Prepare PDFs, a field schema, and an output volume. Use this template when table position, page regions, or visual content help determine fields. For images, use [Document Information Extraction](document-extraction.md).

<span id="使用模板"></span>

## Use the template

On the workflow creation page, start from a template, search for **Multimodal Information Extraction**, and load it onto the canvas.

Complete the required fields in the parameter form.

| Setting | Purpose |
| --- | --- |
| Source files | PDF files or folders to extract from |
| Extraction schema | JSON Schema defining fields from page text, tables, and layout |
| Output location | Catalog location for structured extraction results |

Save the parameters, then start a manual run. The system saves the current workflow before submitting execution.

<span id="完整处理流程"></span>

## Complete processing flow

Arrows show execution order; configured bindings supply each step’s input.

![Multimodal Information Extraction](../images/multimodal-extraction-flow.svg)

<span id="配置页面提取"></span>

## Configure page extraction

| Setting | How to use it |
| --- | --- |
| Source files | Select PDFs and check volume file types |
| Schema | Define names, types, meanings, and compatible missing values |
| Instructions | Explain how page text, tables, and visual evidence determine fields |
| Layout-sensitive fields | Name fields easily confused by position, such as payer and payee |
| Output location | Destination for structured JSON |

The reading node passes `files` directly to Information Extraction. There is no separate parsing or chunking step, so ordinary document parsing tiers and chunk settings do not apply here.

The template uses `n_to_1`, combining PDFs into one result. Per-file extraction requires both a mode change and corresponding saving changes.

<span id="检查页面证据和文件"></span>

## Check page evidence and files

1. Inspect the selected PDFs and extraction input.
2. Compare fields with original pages, especially similar values in adjacent regions.
3. Check available source tracking against the correct page.
4. Inspect the returned file and saved JSON at the destination.

There is no separate parsing ZIP. Use [Document Information Extraction](document-extraction.md) if parsed documents must also be saved.

<span id="示例区分账单中的付款方与收款方"></span>

## Example: distinguish payer and payee

Define `payer` and `payee` with clear descriptions. Add both to layout-sensitive fields and explain their expected page regions in the instructions. Run one PDF and compare names and positions with the original, rather than checking only that fields are nonempty.

<span id="常见问题"></span>

## Common problems

| Symptom | Check and action |
| --- | --- |
| Adjacent fields are confused | Clarify meanings and page positions and check sensitive field names |
| No parsing ZIP exists | This template saves extraction JSON; choose document extraction for parsed files |
| Several PDFs are combined | Confirm they belong to one task; combined extraction is the default |
| Image input fails | Use an image-parsing template and verify source types |

<span id="继续阅读"></span>

## Further reading

- [Workflow templates](index.md)
- [Run and debug](../run-debug.md)

<span id="更新模板后的验证"></span>

## Verify an updated template

Recheck source files, field schema and destination after template or node updates. Use a clearly structured PDF to compare values with original-page evidence, then check multi-file aggregation. Complete JSON fields alone do not establish extraction accuracy.
