Version: 1.1.3
License: MIT/GPLv2
Author: Rod Snare
Tags: WordPress, Chatbot, Gemini, AI, Widget, Plugin
dAIrect Chat is a lightweight, configurable multi-turn conversational AI plugin for WordPress powered by Google Gemini. It features an embeddable chat widget, admin-configurable behavior, and support for system instructions, voice input, and advanced generation parameters.
- Multi-turn session memory (stored per user)
- Configurable
temperature,topP,maxTokens,timeout - Custom
system_instructioninjection - Voice input (Chrome only)
- Shortcode:
[dairect_chat_widget] - Admin test prompt with full parameter reflection
- Upload the plugin to your WordPress
wp-content/pluginsdirectory - Add this line to your
wp-config.php(replace with your real API key):putenv('GEMINI_API_KEY=your-api-key');
- Activate the plugin in the admin dashboard
- Go to
Tools > dAIrect Chatto configure model settings - Add
[dairect_chat_widget]to any post or page
dairect-chat/
βββ dairect-chat.php
βββ admin/
βββ includes/
βββ public/
MIT License. Fork it, use it, build a pro version on it. You earned it.
Tested with WordPress 6.5. Gemini API via Google AI Studio.