Skip to main content

Resume

Summarizes a long text using a language model. Preserves key points while significantly reducing the length.

Parameters

ParameterTypeRequiredVariableDescription
inputdynamic valueYesYesText to summarize. Accepts a variable or free text.
maxLengthnumberNoNoMaximum length of the summary in characters. (min 1)
stylechoice (bullet, paragraph, key_points, abstract, llm_optimized)NoNoSummary style: bullet points, paragraph, key points, abstract, or LLM-optimized. (Default: "paragraph")
languagetextNoNoSummary language (ISO 639-1 code, e.g. fr, en). 'auto' for automatic detection.
customInstructionstextNoYesCustom instructions for the LLM when generating the summary.
includeEntitiesbooleanNoNoInclude extracted entities in the summary output. (Default: false)
model.providertextNoNoLanguage model provider (e.g. openai, anthropic).
model.modeltextNoNoModel identifier to use (e.g. gpt-4o-mini).
parameters.temperaturenumberNoNoModel creativity. 0 = deterministic, 1 = more creative. (Default: 0.7, min 0, max 2)
parameters.maxTokensnumberNoNoMaximum number of tokens in the generated response. (Default: 2048, min 1, max 128000)
outputVariabletextNoNoOutput variable name containing the generated summary.

Parameters marked Variable = Yes accept the {{blockName.field}} syntax.

Output

Output variable : summary

{
"content": "..."
}

Example

Summarize a 10-page report.

Input :

{"text": "Le rapport annuel 2025 presente les resultats financiers..."}

Output :

{"content": "Resume : Les resultats 2025 montrent une croissance de 12%..."}
Tip

{{summary.content}} contains the summary. Adjust maxTokens in model settings to control the summary length.