承接 drupalninja/drupalai 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

drupalninja/drupalai

最新稳定版本:2.0.0-alpha1

Composer 安装命令:

composer require drupalninja/drupalai

包简介

A Drupal module for integrating AI capabilities into your website.

README 文档

README

Description

The Drupal AI module provides drush commands for generating code with AI.

Features

  • Module code generation supporting multiple AI models (Gemini, ChatGPT, Claude 3, Llama 3)
  • Easy-to-use CLI command(s) powered by Drush
  • Simple configuration for managing prompt template(s)

Installation

  1. To install with Composer run the command:

    composer require drupalninja/drupalai
    
  2. Enable the module through the Drupal admin interface or using Drush:

    drush en drupalai
    
  3. Configure the module settings under "Admin -> Configuration -> Drupal AI Settings".

  • API keys required to use Gemini or ChatGPT (OpenAI)
  • Prompt template can and should be configured for best results (i.e. trial and error)
  • The Llama 3 expects the 'ollama' tool to be running the Llama 3 module locally.

Requirements

  • Drupal 10.x
  • PHP 7.4 or higher

Usage

drush ai-create-module

You will be prompted to for the following inputs:

  • Which model you would like to use.
  • The machine name of the module you would like to create.
  • What you would like the module to do.

NOTE: This is experimental, use with caution.

License

This module is licensed under the GNU General Public License.

统计信息

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

GitHub 信息

  • Stars: 20
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

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