Drupal is a registered trademark of Dries Buytaert
File Entity (fieldable files) 8.x-2.7 Minor update available for module file_entity (8.x-2.7). OpenAI Provider 1.2.4 Minor update available for module ai_provider_openai (1.2.4). Field Group 4.1.0-alpha4 New alpha version released for module field_group (4.1.0-alpha4). Content First 2.3.0 Minor update available for module content_first (2.3.0). OpenCulturas 3.0.5 Minor update available for distribution openculturas (3.0.5). Menu UI Extras 1.0.0 Initial release available for module menu_ui_extras (1.0.0)! Permissions Analyzer 1.0.1 Minor update available for module permissions_analyzer (1.0.1). UaePass 1.0.0 Initial release available for module uaepass (1.0.0)! Session Limit Module session_limit crossed 1,000 active installs. Kint 2.3.4 Module kint updated after 6 months of inactivity (2.3.4).

This module integrates turbovec-docker, a self-hosted vector database, with Drupal's AI module. It allows for semantic search of Drupal content using embeddings without relying on external cloud services. This lightweight, Dockerized solution supports full CRUD operations and filtering for secure and efficient content discovery.

Turbovec VDB Provider integrates turbovec-docker - a lightweight, self-hosted vector database - as a Vector Database (VDB) provider for the Drupal AI module. It enables similarity-based semantic search across your Drupal content using embeddings, with no external cloud dependency.

turbovec-docker is a Dockerised HTTP API built on top of RyanCodrai/turbovec. It wraps turbovec's fast binary quantisation index in a FastAPI service and exposes a REST interface that this module communicates with to store, search, and delete vectors.

Key Features

  • Semantic vector search - Plug turbovec into the AI Search backend to power similarity-based content discovery using embeddings from any AI provider supported by the Drupal AI module.
  • Lightweight and self-hosted - turbovec-docker runs as a single Docker container with no external cloud account required. Data is persisted to local files on the host, making it ideal for development, staging, and small-to-medium production deployments.
  • Full CRUD operations -Supports creating and dropping collections, inserting entities with arbitrary metadata fields, filtered vector search, metadata-only queries, and entity deletion.
  • Entity ID filtering — Pass an allowlist of Drupal entity IDs to restrict vector search to a specific set of nodes (e.g. after access-check retries), ensuring results are scoped to content the current user is permitted to see.
  • Offset and pagination support - Both vector search and metadata query endpoints support limit and offset, allowing the AI Search backend to page through results and apply access-check retries.
  • Optional bearer token authentication - Set API_BEARER_TOKEN on the turbovec-docker container to require authentication. Store the token securely using the Key module and select it in the provider configuration form.
  • DDEV friendly - From inside a DDEV container, point the server URL at http://host.docker.internal:8000 to reach turbovec running on the host machine without any extra network configuration.
  • Orphan-safe - The provider guards against corrupted index state (vectors present in the index but missing metadata) that would otherwise crash Drupal's entity access checks.

Requirements

Getting started

Start turbovec-docker on the host machine:

docker compose up --build

Enable the module and clear caches:

drush en ai_vdb_provider_turbovec
drush cr

Visit /admin/config/ai/vdb_providers/turbovec and set the server URL (e.g. http://localhost:8000 or http://host.docker.internal:8000 from inside DDEV). The form tests connectivity on save.

Then create a Search API server using the AI Search backend, select Turbovec as the VDB provider, enable the AI Embeddings processor on your index, and index your content.

Activity

Total releases
1
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.x-dev Dev Jun 15, 2026