saplings_ai_agents
Security covered
Adds an AI powered chatbot for Drupal site building, and imports AI Agents.
Features
Creates the following Drupal site building agents available to the chatbot:
- Content type agent
- Field type agent
- Taxonomy agent
- Drupal CMS Agent
Installation
composer require drupal/saplings_ai_agents
drush recipe ../recipes/saplings_ai_agentsConfigure OpenAI
While the AI module supports many AI services, this recipe is configure to use
OpenAI. If you have set up the Saplings AI CKEditor recipe, this is the same
process/key.
- Create an API key at https://platform.openai.com
- Create a key file at
private://keys/openai_provider.key. That is usually at[webroot]/sites/default/files/private/keys/openai_provider.key. - Once you are ready to deploy, be sure to place that key in your cloud environments on the site's host. If you place it in the canonical environment, it will get cloned on subsequent multidev clones.
Usage
Users with the Administrator will now have a Chatbot in the bottom right of any page that appears in the admin theme.