saplings_ai_agent_modeler
Security covered
Configures the Modeler to allow for creation or editing of AI agents.
Application
composer require drupal/saplings_ai_agent_modeler cd web && php core/scripts/drupal recipe ../recipes/saplings_ai_agent_modeler
Configure OpenAI
While the AI module supports many AI services, this recipe is configure to use OpenAI.
- 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
After recipe application, you can use the modeler to configure AI Agents by visiting /admin/config/ai/agents. Click on edit next to one of the agents, or create your own agent by clicking the + Add AI Agent button.