ai_recipe_content_classification
What it does
Adds AI-powered content analysis and classification capabilities to Drupal content entities.
With this recipe, your Drupal site gains automatic content understanding: when you create or edit content and save, the system generates descriptive, multi-word taxonomy tags.
Why it matters
Drupal currently lacks built-in AI-based content classification, which makes organizing content at scale difficult and forces content editors to manually tag everything. This recipe helps close that gap by:
- Enabling richer taxonomy metadata on content without manual editing
- Improving content discoverability and search through consistent tagging
- Supporting related content functionality via Views with contextual filters
- Reducing the burden of content maintenance and organization
It's a foundational building block for more advanced content organization and discovery workflows.
How it works (internals)
When applied, the recipe configures:
- A new taxonomy vocabulary dedicated to content classification
- A taxonomy reference field added to all content types
- Automators so that classification tags are populated automatically on save
When you create or edit content and save, the AI analyzes your content to generate relevant, descriptive taxonomy tags automatically.
Requirements & compatibility
-
Drupal core: ^10.4 or ^11
-
AI module ^1.2
-
Token module ^1.16
- Token Entity Render ^2.0
How to get started
- Install this recipe into your
recipes/directory - Configure an AI provider that supports Chat (text generation)
- Run
drush recipe ../recipes/ai_content_classification - Create or edit content, click "Classify Content," and save
After saving, the classification tags are filled out automatically with descriptive, relevant terms.
Supporting organization
1xINTERNET is a full-service digital agency focusing on robust and innovative digital solutions based on Drupal. As a Gold Certified Drupal Partner, a founding member of the Drupal AI Initiative, and active community contributor, 1xINTERNET supports clients throughout their digital transformation journey.