ai_provider_amazeeio_recipe
Security covered
This recipe installs and configures the amazee.ai AI Provider for Drupal AI setups, with a smooth path for automated installs and quick trials.
Install and apply
composer require drupal/ai_provider_amazeeio_recipe -WApply the recipe from its folder path:
drush recipe [RECIPES_PATH_FOLDER]/ai_provider_amazeeio_recipeDrush supports passing recipe inputs using --input=RECIPE_NAME.INPUT_NAME=VALUE.
Quick trial (non-interactive)
If you apply the recipe non-interactively (or run interactively and provide no inputs), the recipe provisions a free anonymous Amazee AI trial account automatically.
drush recipe [RECIPES_PATH_FOLDER]/ai_provider_amazeeio_recipe -n # or drush recipe [RECIPES_PATH_FOLDER]/ai_provider_amazeeio_recipe -y-y auto-accepts defaults and is equivalent to --no-interaction.
Configure explicitly (CI-friendly)
Pass values directly (repeat --input as needed).
drush recipe [RECIPES_PATH_FOLDER]/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}
Next steps
After the amazee.ai provider is installed, additional AI-related recipes can be applied as needed.