Summarizer
Summarizer turns long texts into summaries with the help of an AI model. You can ask for a short summary, a detailed one, a list of key points or a summary for management. If the text is very long, the component summarizes it in parts and then merges those summaries into a final one. The summary is written in the language of the document.
When to use it
- Summarize reports, contracts or minutes before sending them to whoever has to decide.
- Turn long email threads into their key points.
- Summarize each document in a list separately to review them faster.
- Give an agent the ability to summarize texts when it needs to.
Configuration
| Field | What it does |
|---|---|
| Input Data (required) | The content you want to summarize: a text, a message, a record or a list of records. |
| Model (required) | The AI model that writes the summary. Connect a model component here. |
| Summarization Strategy | The type of summary: concise (short, default), detailed (in depth), bullet_points (list of key points), executive (for management, focused on conclusions and outcomes) or custom (with your own instructions). |
Advanced options
| Field | What it does |
|---|---|
| Custom Chunk Prompt | Instructions for summarizing each part of the text. Only used with the custom strategy. Write {text} where the text should go. |
| Custom Final Prompt | Instructions for merging the partial summaries into the final one. Only used with the custom strategy. Write {text} where the summaries should go. |
| Chunk Size | Size of each part the text is split into, in characters. Default: 2000. |
| Chunk Overlap | Characters shared by two consecutive parts, so ideas are not cut in half. Default: 200. |
Output
- Summary: a single summary of all the content received, in the
textfield. It also includes the strategy used and how many items were summarized. - Data: one summary for each item received. Each record keeps its other fields and its text becomes the summary.
- Tool: the component as a tool for an agent. When you connect it, the other outputs are hidden.
Example
Every Friday you receive the activity reports of five branches. You connect them to Summarizer with the executive strategy and use the Summary output to get a single summary for management, which is emailed to the leadership team.
Good practices
- Use Summary when you want one combined summary and Data when you need one per document.
- With the
customstrategy, state clearly the length and tone you expect.