drupal/ai_provider_amazeeio_recipe
最新稳定版本:1.2.0
Composer 安装命令:
composer require drupal/ai_provider_amazeeio_recipe
包简介
Automates the setup of the amazee.ai AI provider.
README 文档
README
This recipe will install and configure the amazee.ai AI Provider. This recipe is intended to be used for automated installs in amazee.io's infrastructure.
# One of the following to install Drupal CMS or Drupal Core:
composer create-project drupal/cms
composer create-project drupal/recommended-project && composer require drush/drush
# Install Drupal
drush site:install -y
# Add the recipe to the project and install.
composer require drupal/ai_provider_amazeeio_recipe -W
drush recipe ../recipes/ai_provider_amazeeio_recipe \
--input=ai_provider_amazeeio_recipe.llm_host={llm_host_name} \
--input=ai_provider_amazeeio_recipe.llm_api_key={llm_api_key} \
--input=ai_provider_amazeeio_recipe.postgres_db_host={postgres_host} \
--input=ai_provider_amazeeio_recipe.postgres_db_port={postgres_port} \
--input=ai_provider_amazeeio_recipe.postgres_db_username={postgres_username} \
--input=ai_provider_amazeeio_recipe.postgres_db_password={postgres_password} \
--input=ai_provider_amazeeio_recipe.postgres_db_default_database={postgres_database}
Once the amazee.ai recipe is installed, you can then install other recipes as desired. For example, to install Drupal CMS's AI tools, you can run the following:
drush recipe ../recipes/drupal_cms_ai \
--input=drupal_cms_ai.openai_api_key='' \
--input=drupal_cms_ai.anthropic_api_key=''
Note: Setting the keys to empty will skip setting up OpenAI/Anthropic.
统计信息
- 总下载量: 729
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-03-12