kanopi/saplings-ai 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kanopi/saplings-ai

最新稳定版本:1.0.1

Composer 安装命令:

composer require kanopi/saplings-ai

包简介

Helpful AI functionality for content creators.

README 文档

README

saplings

Saplings - AI

Helpful AI functionality for content creators.

Features

Summary from OpenAI - Post

This ECA workflow uses chatGPT to write a summary of the article and save it to the Description field on save if the field does not have one. The workflow is not run if the Description has any content.

OpenAI APIs have costs associated with them. Pricing

Roadmap

  • Summary from OpenAI - Page Workflow
  • Summary from OpenAI - Event Workflow
  • Featured Image from OpenAI (DALL-E) Workflow
  • Text to Audio Workflow
  • Audio to Text Workflow
  • CKEditor integration(s)

Installation

composer require kanopi/saplings-ai
cd web && php core/scripts/drupal recipe ../recipes/saplings-ai

There are a couple of patches that are needed momentarily.

Add the following to your project's composer.json

"patches": {
    "drupal/openai": {
        "Return type declaration error": "https://www.drupal.org/files/issues/2024-06-28/openai-OpenAIActionBase_return_type-3450196-6.patch",
        "Misspelled property triggers errors in ECA module": "https://git.drupalcode.org/project/openai/-/merge_requests/92.diff"
    }
}

Then run composer update drupal/openai

Configure OpenAI

Create an account and a User API key at https://platform.openai.com

Add the OpenAI User key and organization ID to: /admin/config/openai/settings

Save, and you are ready to start AI-ing!

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固