githubEdit

Summarization Chain

Condense large documents, chat logs, or articles into short, readable outputs while maintaining key context and intent.

The Summarization Chain component transforms long pieces of text into concise, meaningful summaries using customizable AI processing.

Summarization Chain component in the Fastn flow editor
  • To configure this component, start by selecting an AI model, for example, ChatGPT or Gemini.

AI model selection dropdown showing ChatGPT and Gemini options
  • Once you connect your account for the chosen provider, you can select the specific model you want to use for the summarization process.

Account connection and specific model selection for the summarization provider

Next, define your chunking strategy.

circle-info

This determines how the input text will be divided before processing, allowing the model to handle longer content efficiently.

  • You’ll then specify the characters per chunk, such as 1000, which sets the size of each text segment. Additionally, you can configure chunk overlap characters, for example, 200, to maintain context across adjacent chunks.

Chunking strategy settings with characters per chunk and chunk overlap configuration
  • After setting these options, paste your input text in the provided field. Once done, click Save in the top-right corner to add the Summarization Chain step to your flow.

Input text field and Save button for the Summarization Chain step
  • You can test this step by clicking the Test button in the top-right corner.

The summarized output will appear in the console, showing how your text was condensed by the selected model.

Console test output showing the summarized text result
  • The summarized output can then be used as input for other steps in your flow, or you can connect it with other components to further process or store the summarized data.

You can also use this step to summarize text received dynamically from other sources, such as connectors, variables, or AI actions, before passing it to the next stage in your automation.

Last updated

Was this helpful?