Skip to content

Adds an AI powered chatbot for Drupal site building.

License

Notifications You must be signed in to change notification settings

kanopi/saplings-ai-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saplings

Saplings - AI Agents

Adds an AI powered chatbot for Drupal site building.

This is a fork of drupal/ai_agents_chatbot_evaluation_recipe with additional OpenAI configuration for faster setup.

Features

  • Creates the following Drupal site building agents available to the chatbot:
    • Views
    • Taxonomy
    • Enable module
    • Webform
    • Content type
    • Field type

Installation

composer require kanopi/saplings-ai-agents
drush recipe ../recipes/saplings-ai-agents

To unpack the dependencies of this recipe, you can use the recipe-unpack command that comes in the kanopi/drupal-starter repository

fin recipe-unpack kanopi/saplings-ai-agents

Export configuration and commit to git as normal.

Configure 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.

  1. Create an API key at https://platform.openai.com
  2. Create a key file at private://keys/openai_provider.key. That is usually at [webroot]/sites/default/files/private/keys/openai_provider.key.
  3. 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.

About

Adds an AI powered chatbot for Drupal site building.

Resources

License

Stars

Watchers

Forks

Packages

No packages published