ai_content_chat
3 sites
No security coverage
AI Content Chat adds a chatbot to your Drupal site that answers visitor questions using only your website content. Simply select which content to index, place the block, and your visitors can start asking questions.
Features
- Content-based answers: The AI only responds using your indexed content – no hallucinations or off-topic answers
- Automatic indexing: Content is indexed automatically when created, updated, or deleted – no manual action needed
- Simple setup: Select content types and text fields to include, the module handles the rest
- Database storage: Indexed content is stored in a dedicated database table for scalability
- Floating chat widget: Modern, responsive design that works on all devices
- Customizable appearance: Change colors, welcome message, and placeholder text per block
- No chat history stored: Conversations are not saved – privacy-friendly
- Block-based placement: Use Drupal's block visibility to control who sees the chatbot and where
- Configurable AI settings: Adjust temperature, max tokens, and system prompt
- Manual re-index: Full re-index button available when changing configured content types or fields
Supported File Types (2.0.0+)
Starting from version 2.0.0, the module can extract and index text from files attached via file fields or media references:
- TXT – Plain text files
- SRT – Subtitle files (timestamps stripped automatically)
- CSV – Comma-separated values
- PDF – Text-based PDFs
(optional:composer require smalot/pdfparser:^2.0) - DOCX – Microsoft Word documents
(optional:composer require phpoffice/phpword:^1.0)
Scanned/image-based PDFs are not supported (no OCR). Maximum file size: 10 MB. Unsupported file types are silently skipped.
Post-Installation
- Go to Configuration > AI > AI Content Chat (
/admin/config/ai/content-chat) - Select your AI provider and model
- Choose which content types and fields to index
- Click "Re-index Content"
- Go to Structure > Block layout and place the "AI Content Chat" block
- Configure block visibility settings as needed
- Grant the "Use AI Content Chat" permission to appropriate roles
Additional Requirements
- AI module – Required. Must have at least one chat-capable provider configured (e.g., OpenAI, Anthropic, Google AI)
Recommended Modules
- AI module ecosystem – Explore additional AI providers for more model options
- Key module – Securely store your AI provider API keys
Supporting this Module
If you find this module useful, consider:
- Reporting issues and feature requests in the issue queue
- Contributing patches or documentation
- Leaving a review on the project page