Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module allows users to filter content in Drupal Views using natural language queries instead of traditional form elements. It leverages AI to understand conversational requests and translate them into structured search criteria for existing filters.

The Views Natural Language Filter module allows site visitors to search and filter Drupal Views using conversational AI.

Instead of forcing users to interact with multiple complex dropdowns, checkboxes, and date widgets, this module provides a single, intuitive search bar. Users can type natural language queries like "properties in Pune" or "apartments under 50 lacs published by admin".

The module leverages the Drupal AI ecosystem to parse the user's intent and seamlessly translate it into structured inputs for existing Views exposed filters.

Key Features

  • Provider Agnostic: Because it is built on the Drupal AI abstraction layer, you can power your search using OpenAI (ChatGPT), Google Gemini, Anthropic (Claude), or any other supported local/cloud model.
  • Smart Filter Resolution: Automatically parses natural language into precise structured data, including:
  • Dates & Ranges: Understands relative time like "last week" or "before 2023".
  • Numeric Ranges: Converts shorthand like "under 50 lacs" or "over 1M" into min/max constraints.
  • Entity References & Taxonomy: Maps human-readable names to underlying Drupal Term IDs and Entity IDs.
  • Booleans & Dropdowns: Translates "available" or "yes" into proper checkbox states.
  • Graceful Fallbacks: If the AI detects search terms that don't match a specific filter, it automatically routes them to a standard "Combine fields" or keyword search filter.
  • Plug & Play: Requires zero custom coding. Simply add the "Natural Language" filter to any existing View.

Performance & The Cache Analyzer

  • AI API calls introduce latency and cost money. This module is built with enterprise performance in mind.
  • Every unique query and schema combination is cached. If a user searches for "apartments in Mumbai", the AI processes it once. When the next user searches the exact same phrase, the result is served instantly from Drupal's cache with zero API cost.
  • To help site administrators monitor this, the module includes a built-in Cache Analyzer. This visual dashboard allows you to:
  1. Monitor your overall Cache Hit Rate.
  2. See exactly which queries are hitting the cache versus triggering an API call.
  3. Audit the raw JSON responses from the AI provider to debug and fine-tune your View's performance.

Requirements

  1. Drupal 10 or 11
  2. AI (Artificial Intelligence) module
  3. An AI Provider

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 28, 2026
1.0.x-dev Dev Mar 28, 2026