17 Drupal Modules to Power AI-Driven Search and Discovery
As Drupal sites expand in size and complexity, delivering accurate, fast, and relevant content becomes essential. This collection features 17 modules that bring AI-driven enhancements to search and discovery within Drupal. They support capabilities such as semantic understanding, vector-based indexing, similarity search, and intelligent content recommendations. By extending Drupal's core search architecture, these modules help developers and site builders implement more context-aware and user-friendly experiences.
The list includes integrations with vector databases like Milvus, Pinecone, Postgres, and Azure AI Search, along with tools for block-based search, inline recommendations, and backend content analysis. Whether working with managed cloud services or self-hosted setups, each module is designed to fit into Drupal's ecosystem with minimal friction. This listicle highlights the growing toolkit available for building smarter, AI-powered content discovery in Drupal.
Milvus VDB Provider
The Milvus VDB Provider module integrates with the AI module to enable vector searches within AI Search or compatible modules. It utilizes the open-source, self-hostable Milvus server and offers connectivity to Zilliz Cloud for users preferring not to self-host. This module facilitates advanced search capabilities by leveraging vector databases, enhancing the functionality of AI-driven applications in Drupal.
Postgres VDB Provider
The Postgres VDB Provider module integrates with the AI module to facilitate vector searches using Postgres and the pgvector extension. It enables the creation and management of tables for storing vectors and indexed fields, supports data indexing and deletion, and allows for vector searches with or without filters. This module is particularly suited for small to medium-sized vector databases and leverages Postgres' reliability and performance. Installation requires Composer, and configuration involves setting up the database connection and Search API server. Additional dependencies include the AI module, AI Search module, and Search API module.
Pinecone VDB Provider
The Pinecone VDB Provider module integrates Pinecone's managed vector database with Drupal, facilitating advanced vector searches through the AI module. It supports operations such as inserting, deleting, and managing vector data, enabling AI Search features to deliver highly relevant results from keyword or sentence queries. The module integrates with Views via Search API, enhancing Search API Database and Solr setups, and can be used as a source for Retrieval Augmented Generation (RAG). It requires a Pinecone serverless account and API key and is compatible with Pinecone's namespace architecture.
Analyze
The Analyze module for Drupal offers a unified API framework that consolidates various content analysis tools into a single interface, enhancing content optimization for editors. It introduces a consistent "Analyze" tab across all entities with canonical URLs, providing centralized access to content insights. The module supports an extensible API framework, allowing integration of diverse analysis data, and includes visual components like gauges and tables for intuitive data representation. Compatible with modules such as Google Analytics and AI-based analyses, it addresses UI inconsistencies in existing tools, ensuring a streamlined user experience with both concise and detailed reporting options.
Vertex AI Search
The Vertex AI Search module for Drupal facilitates the transition from Google's Site Restricted JSON API to Vertex AI Search, ensuring continued search functionality as the former service is phased out. It integrates with Drupal Core Search and utilizes the Google Cloud Discovery Engine Client Library, supporting basic indexing with a Website data store. Initially, it focuses on replicating the capabilities of the Google JSON API module, with plans to expand feature support. This module requires additional dependencies, including the Core Search and Token modules, and offers a configurable search results page presentation.
Vragen.ai - Search API
Vragen.ai - Search API module integrates the Search API with Vragen.ai, enabling the indexing of documents within Drupal. It requires a specific endpoint and a Bearer-token for API communication, configured through the Drupal admin interface. Users can create a new server named "Vragen.ai" and set up an index with customizable settings such as datasources, bundles, and languages. The module allows for immediate or scheduled indexing, with a recommendation to render content to HTML for semantic recognition by the backend.
Search API Azure AI Search
This module integrates Azure AI Search with Drupal's Search API, enabling secure and scalable information retrieval. It allows users to index content to Azure AI Search and create search views to query these indexes. The module also supports displaying semantic answers alongside search results. Additional features include an autocomplete suggester and a scoring widget for semantic answers, with capabilities to log searches in the Drupal database. This integration facilitates enhanced search functionalities for Drupal developers leveraging Azure's AI capabilities.
AI powered Search Block
AI powered Search Block Drupal module enables users to interact with their content through a block interface, bypassing traditional AI assistants. It provides a form for users to input questions, with responses streamed back directly within the block. The module requires an AI embedding and LLM model, a configured vector database, and indexed content. It is designed to facilitate direct data interaction, generating responses only when relevant data is available.
Unomi
Unomi integrates Drupal 8 with Apache Unomi, an open-source customer data platform designed to manage customer data and personalize user experiences while adhering to privacy regulations like GDPR. It connects to Unomi's API, supporting both local and hosted services, and allows for segment-based content personalization using paragraphs, custom blocks, and Layout Builder. The module requires the Unomi library and server, and supports Drupal 10 with specific version updates. Developers can interact with Unomi data objects via the `unomi\\\_api` service, facilitating advanced segmentation and personalization capabilities.
AI Related Content
AI Related Content module integrates with the AI Search sub-module to provide content recommendations by identifying related content through vector database searches. It offers a configurable Views Block, enabling site builders to customize the number of related items displayed, the view mode, and caching strategies to optimize performance and cost. Post-installation, users can set up the AI Related Content View with their chosen Search API Vector Database and adjust settings for view modes and caching. This module stands out by utilizing Views for flexible content display and caching, unlike similar projects that may lack this adaptability.
SQLite VDB Provider
The SQLite VDB Provider module integrates with the AI module to facilitate vector searches using an SQLite database enhanced by the sqlite-vec extension. It enables the creation and management of vector embeddings, supporting operations such as indexing, searching, and filtering. This module is particularly advantageous for applications requiring local data storage, as it operates without a separate database server, simplifying deployment. It is inspired by the Postgres VDB Provider and requires the AI, AI Search, Key, and Search API modules for full functionality.
GraphQL Vertex AI
GraphQL Vertex AI module integrates GraphQL definitions for querying a Google Vertex AI cloud index within Drupal. It supports autocomplete and search queries, including Gemini summary generation, with future updates planned to include facet support. Post-installation, users must extend their site's GraphQL schema or utilize included data providers. A Google Cloud Platform account, configured data store, and service account authentication are required.
Vertex AI Search Promoted Results
The Vertex AI Search Promoted Results module enables Drupal developers to create and manage promoted search results based on specific keywords. It allows a content node to be designated as a promoted result, ensuring it appears at the top of search results on a custom Vertex AI Search page. The module includes a custom entity for promoted results, an administrative interface for management, and a plugin for result manipulation. It requires the Vertex AI Search module and supports configuration to restrict promotable content types.
Search API Solr Dense Vector Field
Search API Solr Dense Vector Field module enhances Search API Solr by integrating dense vector support, leveraging the core Drupal AI framework to enable provider selection for embedding models. It allows configuration of vector dimensions and similarity functions, requiring Solr 9.6 or higher and the Drupal AI module. The module facilitates vector-based searches in Drupal, though it currently supports storing only one field as a dense vector due to Solr limitations. It has been tested with the OpenAI Provider but is compatible with any provider offering embeddings generation.
Azure AI Search VDB Provider
The Azure AI Search VDB Provider module integrates with the AI module to enable vector searches using Azure AI Search services. It acts as a Vector Database provider, facilitating the connection between Drupal and Azure AI Search. Users must pre-configure an index in Azure AI Search and populate specific fields via the search API. Post-installation steps include configuring the API key and setting up a new Search Server with the "Azure AI Search DB" option. This module requires the AI module to function.
Poper: Smart AI Popup, Exit Intent Popups, Gamification Popups, Surveys, Widgets, Videos
The Poper module for Drupal enhances user engagement by leveraging AI-driven personalization and versatile design capabilities. It allows developers to create customized pop-ups using a drag-and-drop editor, ensuring alignment with brand aesthetics. The module supports robust integrations with various tools, enabling seamless functionality across platforms. It features advanced targeting options, such as exit-intent and time-based triggers, to deliver personalized messages effectively. Comprehensive analytics provide insights into pop-up performance and user behavior, while mobile optimization ensures responsiveness across devices. Additionally, AtPoper maintains compliance with privacy regulations like GDPR and CCPA and supports multi-lingual campaigns for global reach.
AI Similar Content
The AI Similar Content module enhances Drupal content editing by providing real-time, AI-driven suggestions for similar content. It utilizes semantic similarity search to improve content discoverability across text fields and WYSIWYG editors. The module integrates with the Milvus vector database for efficient nearest-neighbor search, offering configurable settings such as debounce delay and similarity thresholds. Ideal for content teams, it aids in content reuse and consistency by suggesting related items directly within the editing interface. This functionality is particularly useful for recommending related blog posts or products, streamlining editorial workflows.
