Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates your Drupal site with QuantSearch.ai, an AI search service. It allows users to search your content using natural language and receive AI-generated answers. The module provides embeddable widgets and supports real-time or batch indexing of your content.

QuantSearch AI

The QuantSearch AI module provides integration with QuantSearch.ai, an AI-powered search service by QuantCDN. It allows site visitors to search your content using natural language queries and receive synthesized answers rather than traditional keyword-matched results.

What does it do?

This module:

  • Indexes your Drupal content to the QuantSearch.ai service
  • Provides embeddable search widgets (chat, modal, and full page)
  • Supports real-time indexing on content save or queue-based batch indexing
  • Includes Drush commands for content indexing and management

Widgets

Three widget types are provided as blocks:

  • Chat Widget - A floating chat button for conversational search
  • Modal Widget - A Cmd+K / Ctrl+K style search overlay
  • Search Page - A full search results page with optional AI answers

Widgets can be placed via the block system or the chat widget can be enabled globally site-wide.

Content Indexing

The module supports two indexing modes:

  • Real-time - Content is sent to QuantSearch.ai immediately on node insert/update
  • Queue-based - Content is queued and processed in batches via cron or Drush

Content is automatically removed from the index when deleted or unpublished.

You can configure which content types to index. Taxonomy terms are automatically included as tags.

Drush Commands

For direct indexing (sends content from Drupal):

  • drush qs-index - Queue all published content for indexing
  • drush qs-process - Process the indexing queue
  • drush qs-queue - Display queue status

For crawl-based indexing (QuantSearch.ai crawls your site):

  • drush qs-crawl - Trigger a site crawl
  • drush qs-status <job_id> - Check crawl job status

Index management:

  • drush qs-purge - Purge the entire search index

Requirements

  • Drupal 10.3+, 11.x, 12.x
  • PHP 8.2+
  • Key module (for secure API key storage)
  • A QuantSearch.ai account (free tier available)

Configuration

After installation, navigate to Administration > Configuration > Search and metadata > QuantSearch AI to connect your QuantSearch.ai account via OAuth and configure indexing options.

Information for Developers

The module provides an alter hook to modify content before indexing:

hook_quantsearch_ai_page_alter(array &$page, NodeInterface $node)

This allows you to add custom tags, modify content, or conditionally exclude nodes from the index. See quantsearch_ai.api.php for documentation.

Related Modules

  • Search API - If you need a framework for building custom search solutions with local or Solr backends
  • Key - Required for secure credential storage

Documentation

Activity

Total releases
2
First release
Feb 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Feb 27, 2026
1.x-dev Dev Feb 27, 2026