Search by

drupal / ai_content_review_base

Drupal-Infrastructure

Installs AI Content Review with what its workflow review templates need: FlowDrop workflows exposed as Tool API tools, the AI provider chat node and the AI Context nodes.

Package info

git.drupalcode.org/project/ai_content_review_base.git

Homepage

Issues

Type:drupal-recipe

pkg:composer/drupal/ai_content_review_base

Statistics

Installs: 22

Dependents: 3

Suggesters: 0

1.0.0-alpha1 2026-11-19 10:15 UTC

This package is auto-updated.

Last update: 2026-11-19 17:35:46 UTC


README

Installs AI Content Review and what its workflow review templates need:

  • FlowDrop workflows, run through the workflow executor.
  • The Tool API bridge (flowdrop_workflow_tool_provider), so a review rule's tool-based criterion can run a workflow as a tool.
  • The AI provider chat node and the AI Context nodes the templates use.

It adds no review rule. Apply a review recipe on top of it, for example ai_content_review_accessibility.

What a review reads

A review sends the AI model the content's type, bundle and title, and every plain and formatted text field the person running the review can view, as stored: the text and HTML an editor entered, every item of a field with several, and empty fields marked as empty. Fields that hold numbers, lists, references, media or paragraphs are not sent. Display settings do not change what is sent.

The templates call the site's default chat model. When you apply the recipe it asks for an OpenAI and an Anthropic API key; both are optional:

  • Enter a key to set that provider up. The key is stored encrypted by Easy Encryption, and the provider's models become the default for each operation that has no default yet.
  • Leave both empty on a site that already has an AI provider. The recipe keeps it.
  • Leave both empty on a site with no provider, and configure one with a default for the Chat operation before running a review. Reviews fail until then.

Drush asks for each key you don't pass. To apply it without prompts, add --no-interaction and pass the keys as input, or set the openai_api_key and anthropic_api_key environment variables:

drush recipe path/to/ai_content_review_base --no-interaction \
  --input=ai_content_review_base.openai_api_key=sk-...

Documentation

Full documentation is under docs/ and published at https://project.pages.drupalcode.org/ai_content_review_base.