Docling Serve icon

Docling Serve

Convert documents using Docling Serve API

Chunk → Chunk From URL

AI-generated

Summary

Chunk a document fetched from a specified HTTP URL into smaller pieces using the chosen chunking strategy (Hybrid or Hierarchical).

Inputs

  • Chunker Type — Selects the chunking strategy to use: Hybrid (combining multiple strategies) or Hierarchical (based on document structure). Defaults to Hybrid.
  • Source URL (required) — HTTP URL of the document to fetch and chunk.
  • Additional Options — Collection of optional parameters to customize chunking and conversion behavior, including OCR processing, table structure extraction, image export settings, token limits, merging peers, and others.

Output shape

A single JSON object representing the chunked document returned by the Docling Serve API.

The returned JSON includes chunks of the document according to the specified chunker type and options. Images, raw text, and converted document may be included based on additional options. Errors during processing may be returned if the API call fails.

Examples

Example 1: Chunk a PDF document from a public URL using Hybrid chunker with default options

Set 'Chunker Type' to 'Hybrid', enter the PDF's URL in 'Source URL', leave additional options as default (or empty). The node returns the document chunks in JSON format.

Links

Discussion