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 transforms your site's search results into a question-and-answer system. Users can ask questions in plain language and receive an AI-generated summary answer, along with links to the source documents. The module integrates with Drupal's Search API and allows for customization of how source documents are displayed and styled.

Introduction

AI RAG Search Summary turns your Search API vector search into an intelligent Q&A system. Users ask questions in plain language and get an AI-generated summary answer along with the actual source documents used to verify information and explore deeper. No more scrolling through search results.

Choose how sources appear: use any Drupal view mode (teaser, full, custom) to render source nodes with your existing templates, or use the default JSON format. Style with CSS variables to match your theme.

Post-Installation

Prerequisites

2. Create Configuration

  1. Go to /admin/config/ai/rag-search-summary
  2. Click "Add configuration"
  3. Select your Search API index
  4. Choose AI provider: openai__gpt-4o
  5. Customize prompt, temperature, caching, and rate limits
  6. Save

3. Add Block

  1. Place the "RAG Search Summary" block via /admin/structure/block
  2. Select your configuration
  3. Customize UI text and display options

That's it! The block is now ready to use.

Customization

Styling with CSS Variables

The React component uses CSS variables for easy theming without touching component code per block config:

--rag-color-primary: #0a3f5a;
--rag-color-primary-hover: #0076a9;
--rag-color-primary-dark:  #0a3f5a;
--rag-color-text-primary: #212529;
--rag-sources-columns-mobile: 1;
--rag-sources-columns-tablet: 2;
--rag-sources-columns-desktop: 2;
--rag-font-heading: "Forma DJR UI", Arial, sans-serif;
--rag-text-base: 18px;

Activity

Total releases
1
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jan 30, 2026