Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Summarize Documents

Create a summary of documents loaded earlier in the workflow. Specify what the reader needs so the result focuses on the right information.

Use this tool

  1. Load the documents in an earlier workflow step.

  2. Describe the required summary in Task, including the topics or format to use.

  3. Choose Algorithm and Chunk Size. Leave Max Chunks empty when all document sections must be considered.

  4. Run the workflow and review Summary against the original documents.

Behavior and limits

Sequential processing refines the result across sections; parallelized processing handles sections in parallel. Max Chunks samples a limited number of sections from large documents. This reduces processing but can omit material, so do not use it when complete coverage is required. No documents produces an error.

Inputs

Field
Parameter
Description

Task

task

The task or question to process the documents with (e.g., 'Summarize', 'Extract key points', etc.)

Chunk Size

chunk_size

The size of text chunks to process at once (in characters) Default: 8000.

Configuration

Field
Parameter
Description

Algorithm (required)

algorithm

Processing algorithm: 'parallelized' for faster processing or 'sequential' for more coherent results

Max Chunks

max_chunks

Maximum number of document chunks to process. When set, large documents are sampled uniformly to this many chunks, reducing cost and latency. Leave empty to process all chunks.

Outputs

Field
Parameter
Description

Summary

summary

The processed result from the documents

Was this helpful?