Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

OpenAI Batch

10 sites No security coverage
View on drupal.org

This module provides a way to use OpenAI's Batch API for cost-effective, asynchronous processing of bulk requests. It allows you to create custom plugins to send content entities to ChatGPT for tasks like summarization or tagging, with results processed via cron.

The OpenAI batch module is a wrapper module that allows you to work with OpenAI's Batch API.

The point for the module is to easily send requests to OpenAI's Batch service to process your requests in bulk, asynchronously. The biggest benefit for using OpenAi's Batch service is that the cost is significantly reduced.

The module offers a framework for developing your own plugins. To use it, you must implement a OpenAiBatchProcessor plugin in a custom module of yours. Set your plugin class to: extends OpenAiBatchProcessorPluginBase implements OpenAiBatchVBOActionInterface and implement the required methods. It will give you a VBO that, when executed on the content entities you have selected, it will create a batch and send it to ChatGPT. When the processing is finished, cron will download and parse the response.

Example use cases could be: Ask ChatGPT to create summaries, to tag content with taxonomy terms, or anything you need to!

See the included WriteSummary example class.

Additional Requirements

It depends on the Drupal AI module and the provider module ai_provider_openai.

Similar projects

TODO write list

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
Dec 2024
Latest release
3 days ago
Releases (12 mo)
6 ▲ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha11 Pre-release 10–11 Aug 28, 2026
1.0.0-alpha10 Pre-release 10–11 Jun 19, 2026
1.0.0-alpha9 Pre-release 10–11 Jun 19, 2026
1.0.0-alpha8 Pre-release 10–11 Jun 17, 2026
1.0.0-alpha7 Pre-release 10–11 Nov 4, 2025
1.0.0-alpha6 Pre-release 10–11 Oct 17, 2025
1.0.0-alpha5 Pre-release 10–11 Jun 19, 2025
1.0.0-alpha4 Pre-release 10–11 Mar 12, 2025
1.0.0-alpha3 Pre-release 10–11 Feb 17, 2025
1.0.0-alpha2 Pre-release 10–11 Jan 15, 2025
1.0.0-alpha1 Pre-release 10–11 Dec 11, 2024