定制 kanopi/saplings-ai-agents 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kanopi/saplings-ai-agents

最新稳定版本:1.0.3

Composer 安装命令:

composer require kanopi/saplings-ai-agents

包简介

Adds an AI powered chatbot for Drupal site building.

README 文档

README

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.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-11-26