Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

AI prompt engineering

No security coverage Under active development 6 sites

This module provides a tool for engineering AI prompts by combining smaller prompt segments. It allows users to create flexible prompts using various data types, such as text, references, and Views, and manage them as either content or configuration entities.

AI prompt engineering tool.

Features

  1. Prompts are engineered by configuring, combining and arranging smaller prompt segments.
  2. Prompt segments are any kind of Drupal (or other novel) data.
  3. Plugin system allows other modules to provide segment plugins. Module by default already has simple text, prompt reference and Views plugins.
  4. Prompt provides final output by combining segments together. This output can be sent to AI. For example, it allows to engineer AI assistant's character and/or knowledgebase.
  5. Module has content entities sub-module - this is great for allowing end users to engineer their own prompts and display them in views.
  6. Module has configuration entities sub-module - this is great for site administrators or developers to engineer site-wide prompts. It allows to import/export prompts or ship them with other modules.

Post-installation

  1. Enable one of the sub-modules for prompt storage: content storage, configuration storage, or both (check out description above how to decide, or follow hints within user interface).
  2. Go to "Configuration >> AI Prompts" to engineer a prompt, or if chosen content storage, go to "Structure >> AI Prompt types" to create a new prompt type. Then go to "Content >> AI Prompts" to create new prompts.
  3. Use prompts with one of recommended modules (below) or integrate with code (instructions in README.md).

Requirements

  • None.

Pictures

 

Part of Drupal artificial intelligence (AI) community initiative.

Let's make great Drupal AI features

Funding the project

Please consider funding the project.

  • Invoice. You can order a feature to be developed and I will send you an invoice (applicable in Europe).
  • Through Drupal association. Idea participated in Drupal innovation contest and came close to winning, so there is a good option to place donation with a help of Drupal Association.
  • Open Collective project page. With open collective you can choose to give one time or setup a monthly recurring donation. If you haven't joined open Collective yet, this platform allows to support other Drupal projects as well.

Slack Channel 💬

Interested in Drupal AI? Join us in the #ai channel in the Drupal Slack: drupal.org/slack

Ask your assistant about AI prompt engineering

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

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
3
Tracked since
Aug 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha2 Pre-release 9–10 Apr 17, 2024
1.0.0-alpha1 Pre-release 9–10 Aug 31, 2023
1.0.x-dev Dev 9–10 Aug 30, 2023