This module uses the OpenAI API to automatically generate summaries for your content with a single click. You can configure global settings and also customize summarization for specific fields, including summary length and prompts.
Generative Summary is a Drupal module designed to simplify content summarization. With just a click of the "Generate Summary" button, content creators can leverage the OpenAI Chat Completions API to obtain concise and meaningful summaries for their content. This module offers a unique blend of global configurations coupled with field-specific settings, providing granular control over the summary generation process.
Features
- Automatic Summarization: Integrate with the OpenAI Chat Completions API for automatic content summarization.
- Layered Configuration Approach: Set global defaults for all text fields and further customize settings for individual fields with "Generative Summary" enabled.
- Configurable Summary Length: Define both global and field-specific minimum and maximum lengths for the generated summary.
- Sentence Limit Configuration: Set both global and field-specific maximum number of sentences for the generated summary.
- Custom Prompting: Configure global and field-specific custom prompts for system and user roles, tailoring the context for the OpenAI API.
Post-Installation
- Users will find a new "Generate Summary" button in the summary field of their content.
- Navigate to the module's configuration page at
/admin/config/content/generative_summaryto set up the OpenAI API key and customize global summary generation settings. - For field-specific configurations, navigate to the respective field's settings page.
Ask your assistant about Generative Summary
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.3 | Stable | 10–11 | Mar 13, 2025 | ||
| 1.0.2 | Stable | 10–11 | Aug 22, 2024 | ||
| 1.0.1 | Stable | 10–11 | Aug 22, 2024 | ||
| 1.0.0 | Stable | 10 | Aug 22, 2024 | ||
| 1.0.0-rc4 | Pre-release | 10 | Dec 8, 2023 | ||
| 1.0.0-rc3 | Pre-release | 10 | Dec 4, 2023 | ||
| 1.0.0-rc2 | Pre-release | 9–10 | Nov 29, 2023 | ||
| 1.0.0-rc1 | Pre-release | 9–10 | Sep 3, 2023 | ||
| 1.0.x-dev | Dev | 10–11 | Aug 30, 2023 |