Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Vector Store

No security coverage Under active development

The Vector Store module allows you to store embedding vectors directly within Drupal and query for similar items without needing an external vector database. It can integrate with any embedding provider and offers features like data-driven similarity thresholds and cache-safe results for recommendations and semantic search.

Vector Store stores embedding vectors in Drupal and answers "what is most similar to this?" with one small API. It works with any embedding provider, model or entity type, and needs no external vector database.

Why use it

  • Runs where your site runs. The default backend works on any Drupal database, including SQLite. On MariaDB 11.7+ you can switch to native VECTOR columns with an HNSW index for larger datasets.
  • Better similarity out of the box. Optional mean-centering removes the shared direction that makes every embedding look alike. Scores spread out and the closest matches are actually relevant.
  • Sensible cutoffs, not magic numbers. Each set of vectors reports how similar random pairs of its vectors usually are, so callers can set a "similar enough" threshold based on your data.
  • Cache-safe. Every write invalidates a cache tag for its collection, so pages built from similarity results stay correct.
  • Extensible. Backends are tagged services
  • No surprises. You choose the backend explicitly. If the selected backend can't run on your server, the module tells you why instead of silently using another one.

Who it is for

Module developers building related content, recommendations, semantic search or deduplication on top of embeddings. It powers the similarity recommendations in Entity Collection.

Requirements

  • Extensible. Backends are tagged services: another module can add pgvector or an external vector database without touching this one.
  • No surprises. You choose the backend explicitly. If the selected backend can't run on your server, the module tells you why instead of silently using another one.
  • Who it is for

    Module developers building related content, recommendations, semantic search or deduplication on top of embeddings. It powers the similarity recommendations in Entity Collection Embeddings (coming soon).

    Requirements

    • Drupal 11
    • Optional: MariaDB 11.7 or later for the native backend

    Ask your assistant about Vector Store

    Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

    Depends on

    Dependencies of the latest stable release

    No dependencies recorded for this project.

    Required by

    Tracked projects that depend on this one

    No tracked projects depend on this one yet.

    Activity

    Tracked releases
    1
    Tracked since
    Oct 2026
    Latest release
    1 month ago
    Releases (12 mo)
    1 ▲ from 0
    Maintenance
    Active

    Releases

    Version Type Core PHP Release date
    1.x-dev Dev 11 PHP >=8.3 Oct 1, 2026