跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / builtin / ai / localai

Summarize

Condense long text on-device

AI 扩展程序网页应用

此内容尚不支持你的语言。

Condense long text into a short summary with a model that runs in your browser, so the text never leaves your device.

Summarize runs the Text through a summarization model such as DistilBART CNN (summarize), aiming for the size set by Length. It handles long text for you: text over about 2,500 characters is split into pieces at sentence ends, each piece is summarized in turn, and if the joined summaries are still long they are summarized once more.

There is no cost per run and no API key.

  • Get the gist of an article, a long email thread or meeting notes before you store or forward it.
  • Shorten scraped page text before passing it to another step.

To summarize with a chat model and your own instructions, use Summarization instead.

设置项类型作用
Text Long textLong input is split into chunks and summarized piece by piece.
Length ChoiceShort ≈ 20–60 words · Medium ≈ 60–130 · Detailed ≈ 130–250. Options: Short, Medium, Detailed. 默认值:Medium
Model Model pickerOnly summarization models are listed here.
Min tokens (advanced) NumberOverrides the length preset minimum.
Max tokens (advanced) NumberOverrides the length preset maximum.

Lengths count tokens, roughly one per word in English. Use Min tokens (advanced) and Max tokens (advanced) only when the presets do not fit; if the minimum is larger than the maximum, the maximum wins. On very long text the length applies to each piece, then to the final pass.

  • Output

Each output item has these fields:

Field类型What it holds
summary Text
words NumberWords in the summary
Shape of an output item
{
"summary": "…",
"words": 0
}

summary is the summary text. Use it as {{ $input.summary }} in the next node.

None. This node needs no connection and has no slots for other nodes.

The Model picker lists your installed summarization models first, then ones that download on first use. Manage them on the Local AI page.

Get a short summary of the page you are reading:

  1. Get All Text with Output field name pageText and Visible text only on.
  2. Summarize with Text {{ $input.pageText }}, Length Short and Model DistilBART CNN (summarize).
  3. Show Notification with Title Summary and Message {{ $input.summary }}.
  • “Choose a summarization model.” Model is empty. Pick one.
  • “Provide some text to summarize.” Text is empty after expressions run. Check the field name in your expression.
  • It takes a long time on very long text. Each piece is a separate model run, one after another. Pass only the part you need, for example with a DOM Selector on Get All Text.
  • The summary is too short or too long. Change Length, or set Min tokens (advanced) and Max tokens (advanced).
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Summarize”