drupal / amazeeio_categorize_page
Uses the Drupal CMS Page content type and uses AI to categorize it.
1.0.x-dev
2025-03-14 16:05 UTC
Requires
- drupal/drupal_cms_page: ~1.0.1
- drupal/token: ^1.15
This package is auto-updated.
Last update: 2025-03-21 23:37:44 UTC
README
This recipe will build two category fields (category and themes) on top of Drupal CMS Page and make it so those and the tags fields are autopopulated via AI Automator.
How to use
- After you login, you create a Page
- Fill out the title and content (and description and image if wanted).
- Click save.
- Go back to the edit page and see that tags, category and themes where picked by AI.
Adding to an existing project
Requirements
- Either a Drupal CMS project, or the Drupal CMS Page recipe. Note that the Drupal CMS Page recipe doesn't blend very well in with the Standard installation profile.
- An AI provider with chat capabilities and a default model configured for Chat with complex JSON. Try the amazee.io AI provider for an easy setup without the privacy trade-offs.
Installation
composer require drupal/amazeeio_categorize_page
drush recipe ../recipes/amazeeio_categorize_page
Quick start project with the amazee.io AI provider
composer create-project drupal/cms
composer config minimum-stability dev
composer require drupal/ai_provider_amazeeio drupal/amazeeio_categorize_page
drush site:install
drush en ai_provider_amazeeio
drush recipe ../recipes/amazeeio_categorize_page
You can login to or register with the amazee.io AI provider at /admin/config/ai/providers/amazeeio.