Skip to content

mobomo/drupal_ai_content_audit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIRO Preview

AIRO Preview adds a Drupal node edit panel where editors can ask an AI chat provider how a page may appear or respond in AI-assisted discovery experiences. It is powered by the Drupal AI module and uses the configured chat provider/model for responses.

AI assistance was used during development of this module. All generated code and documentation is reviewed and maintained by the project maintainers.

Pre-release notice: this module is under active development. Public APIs, configuration schema, and internal services may change until a stable 1.0.0 release is tagged.

Current Scope

This parent module currently ships the AIRO Preview experience only:

  • AIRO Preview panel on supported node edit screens.
  • Drupal AI provider/model selection for chat.
  • Prompt configuration for preview system and user prompts.
  • Node/revision access checks for panel routes.
  • CSRF-protected AJAX requests.

Scoring, saved assessments, action items, technical audit tabs, score widgets, assessment history, queue processing, and bulk Drush assessment workflows live in the optional ai_content_audit_scoring submodule.

Requirements

Requirement Version
Drupal core ^11.3
Composer ^2.0
drupal/ai ^1.4 with at least one chat provider configured

An AI provider submodule must also be enabled and configured, such as drupal/ai_provider_openai, drupal/ai_provider_ollama, or another Drupal AI-compatible chat provider.

This pre-release branch uses Drupal's OOP hook discovery with #[Hook] attributes, so Drupal 10 is not supported.

Installation

Until the project is published on drupal.org, install from the repository used by your project.

composer require drupal/ai_content_audit:0.0.1
drush en ai_content_audit -y
drush cr

Then configure a Drupal AI chat provider and visit:

/admin/config/ai/content-audit

To enable the optional scoring surface:

drush en ai_content_audit_scoring -y
drush cr

Scoring settings are available at:

/admin/config/ai/content-audit/scoring

Permissions

Permission Intended role Notes
administer ai content audit Site administrators Configure AIRO Preview provider defaults and prompt settings.
access airo preview Editors and reviewers Use AIRO Preview on nodes they can access.
manage content audit prompts Site builders or AI maintainers Manage the AIRO Preview prompt configuration.
use any ai provider in airo Trusted editors Select and compare available provider/model combinations in the panel.
view ai content assessment Optional scoring users Provided by ai_content_audit_scoring.
run ai content assessment Optional scoring users Provided by ai_content_audit_scoring.

Node access still applies. Users must be able to view the node or revision that the panel is loading.

About

Module to enable ai analysis of site content

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 70.4%
  • CSS 11.6%
  • Twig 11.3%
  • JavaScript 6.7%