LlamaParse Platform icon

LlamaParse Platform

Parse, classify, split, extract structured data, and retrieve context from documents and indexes using the LlamaParse Platform

Split a Document

AI-generated

Summary

Split each input document into category-based segments using LlamaParse Platform. Define one or more category names and optional descriptions, choose whether unmatched pages are included as “uncategorized,” forbidden, or omitted, then provide either a binary file field (default data) or an uploaded file ID.

Inputs

  • Categories (required) — One or more categories, each with a required name and optional description used to identify matching content.
  • Allow Uncategorized — Choose include (default) to include unmatched pages as uncategorized, forbid to require every page to match a category, or omit to exclude unmatched pages.
  • Input Type — Choose a binary file (default), read from the configured input binary property, or a file ID for a file previously uploaded to LlamaParse Platform.
  • Input Data Field Name (required) — For binary input, the name of the incoming item's binary property containing the document; defaults to data.
  • File ID (required) — For file ID input, the ID of a file previously uploaded using the Upload a File action.

Output shape

A list of items, one per segment produced for each input document.

Each output item's JSON contains category, confidence (the segment's category confidence), and pages. The node uploads binary inputs, creates and polls a split job, and errors if no categories are configured or the completed job returns no segments.

Links

Discussion