Excerpt Generator¶
The Excerpt Generator analyzes the content of a page or article and fills the excerpt tab with generated values.
What it does¶
In the Excerpt tab of pages, articles, and products, editors trigger the generation and receive suggestions derived from the document content:
| Field | Description |
|---|---|
title |
A title that makes the content interesting in overview and teaser contexts |
description |
A brief description of the content, used on overview pages |
more |
A suitable link text for the page, e.g. "read more" or "more about …" |
The document content is extracted from the page structure and sent as context to the sulu.ai platform, so the suggestions match the actual page. Additional context can be added via custom context providers.
Reviewing suggestions¶
If the excerpt tab is still empty, generation fills the fields directly. If it already holds content, a dialog opens and generation starts right away, showing the new suggestion next to the current content instead of overwriting it. Both columns are read-only comparisons; editors can toggle whether the suggestion should optimize the existing content, regenerate, or apply the suggestion with Insert. The optimize checkbox starts ticked, so the first suggestion is a rewrite of the current content rather than a fresh one; untick it and regenerate for a suggestion that ignores the existing text.
Permission¶
Gated by the sulu.ai.excerpt_generator security context (category Sulu AI). Grant VIEW to roles that should see the generate action in the excerpt tab.
MCP¶
Available to AI clients as the sulu_ai_excerpt_generate tool — see MCP Tools.