Drupal RAG Toolkit 1.0.0-alpha10¶
Summary¶
Alpha10 makes the RAG pipeline deployable. The corpus, its embedding model and the profile now travel with exported configuration from development to test and live, and every lifecycle step runs from Drush, so a deploy script can initialize an environment, build, validate and activate without a browser. Each environment still builds its own index from its own content, with its own vector database and keys.
It remains an alpha for evaluation and early pilots.
Upgrading from alpha9¶
No reinstall: update the package and clear caches.
composer require 'drupal/drupal_rag_toolkit:^1.0@alpha'
drush updb -y
drush cr
The patches are unchanged. Existing active indexes keep serving. A local
corpus mapping in drupal_rag_toolkit_search_api.local_resource_settings
still takes precedence, so sites set up with alpha9 plan exactly as before;
to deploy the model with configuration instead, choose it under Embedding
model on RAG setup preflight, export configuration, and remove the mapping.
The switch plans to the same index, so drush drupal-rag-toolkit:build
--if-changed reports it current and nothing is rebuilt.
On alpha9, a build after uninstalling and reinstalling the module can fail with "Candidate collection or payload-index provisioning did not complete" because it reuses the name of a Qdrant collection the uninstall kept. Upgrade to alpha10, which names new resources from the install time, and build again.
Highlights¶
- The corpus names its embedding model. Choose it on RAG setup
preflight; it is saved in the corpus's exported configuration and deploys
with it. The template, engine, dimensions and source policy follow. The
drush php:evalmapping step is gone from the setup guide. - Builds from Drush.
drush drupal-rag-toolkit:buildbuilds from a Corpus Builder draft, running its workers in the same process.--if-changedbuilds only when the draft or model differs from the active index, so routine deploys do not pay for embeddings they already have. - Scriptable setup and validation.
drupal-rag-toolkit:initializeinitializes an environment.reindex-validatetakes--term=key=valuefor every metadata field, and taxonomy terms may be given by UUID, which is the same in every environment. - Enabling search deploys. The profile's enabled status is exported.
- Evaluation sets move with Drush:
evaluation-exportandevaluation-import. drupal-rag-toolkit:tokenizer-installdownloads the pinned tokenizer files and checks their hashes.- Fixes:
- Setup could not enable search until the profile was already enabled.
- Failed builds now log their cause.
- Validation no longer suggests a question about expense reimbursement.
- Reinstalling no longer reuses the names of Qdrant collections an uninstall kept.
- Drush options left off the command line now take their defaults; an
omitted
--failure-limitno longer means zero. - Documentation: a new Deploying across environments page, and Getting started now sets up the profile before the first build.
Limitations¶
Unchanged from alpha9: no documents or external sources, multilingual retrieval policy, HTTP API, or keyword retrieval for these indexes. See the support matrix.