Search by

drupal / varbase_ai_base

Drupal-Infrastructure

A base recipe to install core AI modules and apply default Varbase AI configurations including OpenAI integration, image alt text generation, and CKEditor AI assistant.

Package info

git.drupalcode.org/project/varbase_ai_base.git

Type:drupal-recipe

pkg:composer/drupal/varbase_ai_base

Statistics

Installs: 12 699

Dependents: 2

Suggesters: 0


README

Varbase

Varbase AI Base

pipeline status Varbase AI Base Automated Functional Testing

A base recipe to install core AI modules and apply default Varbase AI configurations.

Documentation

Read the Varbase AI Base documentation on the Varbase docs site.

The optional Varbase AI recipes and the order to apply them in are listed on the Varbase AI Recipes page.

Installation

Add the recipe using composer:

composer require drupal/varbase_ai_base:~1

Change directory to /web or /docroot

Run the Drupal recipe bash script:

bash core/scripts/drupal recipe recipes/contrib/varbase_ai_base

or

Run the Drush recipe command:

drush recipe recipes/contrib/varbase_ai_base

Varbase AI Safety needs a default AI chat model. Without one, applying this recipe stops with "The operation type 'chat' does not have a default model". Set up an AI provider and a default chat model first.

Gemini AI provider

The Gemini provider (chat, vision, and images with Nano Banana) comes with this recipe as a Composer package. It is available but not enabled, and the site's default providers are not changed. To use it, enable gemini_provider, add a Gemini API key in the Key module (/admin/config/system/keys) and pick it at /admin/config/ai/providers/gemini. Images need a key on a paid tier.

ElevenLabs AI provider

The ElevenLabs provider (text to speech) comes with this recipe as a Composer package. It is available but not enabled, and the site's default providers are not changed. To use it, enable elevenlabs, add an ElevenLabs API key in the Key module (/admin/config/system/keys) and pick it at /admin/config/system/eleven-labs-settings.

Automated testing

GitLab CI on git.drupalcode.org (.gitlab-ci.yml) builds a Varbase 11 site, applies this recipe twice and runs the Varbase functional testing suite in tests/ on it. See tests/README.md to run it against a site of your own.