Skip to main content
The parse node converts raw documents (PDFs, images) into Doclo’s intermediate representation (DocumentIR) with text content and layout information.

Basic Usage

Configuration Options

Options Reference

Output Format

Text Format (Default)

Line-by-line output with position data:
Best for: Maximum precision, citation tracking, numeric data.

Markdown Format

Preserves document structure (tables, headers, lists):
Best for: Structured documents, reports, forms with tables.

HTML Format

Rich formatting with semantic structure:
Best for: Complex layouts, multi-column documents.

Provider Types

OCR Provider

Use for text-heavy documents requiring high accuracy:

VLM Provider

Use for visual documents or when you need structure detection:

Large Document Handling

For PDFs with many pages, use chunking to avoid timeouts and memory issues:
The output combines all chunks into a single DocumentIR.

Citation Tracking

Enable line-level citations for source tracking:
Each line in the output includes a lineId (e.g., p1_l5 for page 1, line 5) that can be referenced during extraction.

Extended Reasoning

For VLM providers that support it, enable extended reasoning:

Custom Instructions

Add parsing guidance:

Output: DocumentIR

The parse node outputs a DocumentIR object:

Next Steps

extract

Extract structured data from parsed documents

OCR Providers

Configure OCR providers