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). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). 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). 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 provides real-time, AI-powered suggestions of similar content to editors as they type. It helps improve content reuse and reduce redundancy by leveraging semantic similarity search. The module integrates with a vector database to efficiently find related content.

The AI Similar Content module brings real-time, AI-powered suggestions to Drupal content editors, helping them discover similar content while typing. It simplifies content creation by improving discoverability through semantic similarity search.

Features

What is the basic functionality?

The module performs real-time similarity searches across text fields, textareas, and WYSIWYG editors (CKEditor 4 and 5). As the user types, the system suggests similar content items.

What unique features does enabling this project add?

  • Real-time AI-powered suggestions based on semantic similarity
  • Uses embeddings to understand contextual relevance
  • Seamless integration with the Milvus vector database for efficient nearest-neighbor search
  • Configurable settings including debounce delay, similarity threshold, and content types
  • Clean, responsive UI to display suggestions beneath input fields

When and why would someone use this module?

This module is perfect for content teams aiming to improve content reuse, reduce redundancy, and ensure consistent messaging across large repositories. It allows authors to instantly find relevant existing content without having to leave the editing interface.

What use cases are there?

  • Suggesting related blog posts during article writing
  • Recommending similar products or services in commerce setups
  • Enhancing editorial workflows with content discovery tools

Post-Installation

Once installed, the module can be configured by visiting:

/admin/config/ai/similar-content

Configuration options include:

  • Enable/disable similarity search
  • Set the similarity threshold (e.g., 70%)
  • Select which content types to scan for similarity
  • Adjust the debounce delay for suggestions (e.g., 300ms)

After configuration, the module will automatically inject its functionality into text inputs, textareas, and supported WYSIWYG editors. Users will see suggestions appear below their inputs as they type.

Additional Requirements

To work properly, this module requires:

  • Milvus Vector Database: Handles similarity search using vector embeddings.
  • AI Provider Plugin: Generates embeddings from input text. You can plug in your own embedding provider if needed.
  • CKEditor (4 or 5): For WYSIWYG support
  • Milvus Integration Module: Facilitates connection between Drupal and Milvus

Similar projects

  • Search API: Offers flexible full-text and faceted search capabilities, but is not focused on real-time semantic similarity.
  • Entity Reference Autocomplete: Helps relate entities, but relies on title matches and lacks AI-driven similarity features.

What differentiates this module:

AI Similar Content is the only real-time module leveraging embeddings and vector search to return semantically similar results as the user types.

Supporting this Module

Want to support development? Consider:

  • Contributing on GitHub
  • Sponsoring via OpenCollective, GitHub Sponsors, or other channels

Community Documentation

  • YouTube Walkthrough: Watch the setup and usage demo
  • Demo Site: Explore it live in action
  • External Docs: In-depth documentation on configuration and customization options

Activity

Total releases
1
First release
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Jun 25, 2025