Plugin Name: Website AI Assistant
Plugin URI: https://github.com/bcardi0427/website-ai-assistant/
Description: An AI-powered chat assistant for WordPress websites using Google's Gemini API
Version: 3.2.0
Author: Gerald Haygood
Author URI: https://github.com/bcardi0427/website-ai-assistant/
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: website-ai-assistant
Domain Path: /languages
- Multi-provider AI integration:
- Google Gemini AI (with models like Gemini 2.0, 1.5 Flash, 1.5 Pro)
- OpenAI (with dynamic model selection)
- Deepseek (with configurable models and endpoint)
- Website-specific knowledge base
- Advanced lead generation and management:
- Configurable form timing (immediate, after first message, after two messages, or at end)
- Customizable form heading and description
- Skip option for users
- FluentCRM integration for automated lead management
- Customizable system prompts
- Search integration (Google Custom Search & Algolia)
- Privacy-focused design
There are two ways to install the plugin:
If you download or clone the source code from GitHub:
- You'll need to run
composer install
in the plugin directory to install required dependencies - Upload the plugin directory to WordPress
- Activate the plugin through the 'Plugins' menu
- Configure your API keys in the plugin settings
A pre-packaged version is available that includes all required vendor files:
- Download the packaged plugin zip file from the releases page
- Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Activate the plugin through the 'Plugins' menu
- Configure your API keys in the plugin settings
Note: The packaged version includes all necessary vendor files, so you don't need to run composer manually.
The plugin supports multiple AI providers. You'll need at least one of these API keys:
- Gemini API Key - Get from Google AI Studio (default provider)
- OpenAI API Key - Get from OpenAI dashboard
- Deepseek API Key - Get from Deepseek platform
For search functionality (optional):
- Google Search API Key - For Google Custom Search integration
- Algolia API Keys - For Algolia search integration (requires app ID, search key, and admin key)
- System message customization
- Lead Generation Configuration:
- Enable/disable lead collection
- Form timing options (immediate, after first message, after two messages, or end)
- Customizable form heading and description
- FluentCRM integration settings:
- List selection
- Tag assignment
- Contact status configuration
- Display settings
- Privacy policy configuration
- Debug mode
- Configure your API keys in the plugin settings
- Customize the chat interface appearance
- Set up your system message and prompts
- Configure lead collection settings
- Add the chat widget to your website
- All API keys are stored securely in WordPress options
- Nonce verification for all AJAX requests
- Input/output sanitization
- HTTPS enforced for all API communication
- Debug mode controlled through settings
We welcome contributions! Please follow these guidelines:
- Fork the repository
- Create a feature branch
- Submit a pull request
- Follow WordPress coding standards
This project is licensed under the GPL v2 License - see the LICENSE file for details.
For support, please open an issue on GitHub or contact the maintainers.
- Added multiple AI provider support:
- Google Gemini AI integration:
- Support for Gemini 2.0 Flash Experimental
- Support for Gemini 1.5 Flash and Flash 8B
- Support for Gemini 1.5 Pro and 1.0 Pro
- OpenAI integration:
- Dynamic model selection
- Model caching with refresh option
- Improved API key management
- Deepseek integration:
- Configurable API endpoint
- Dynamic model loading
- Enhanced error handling
- Google Gemini AI integration:
- Enhanced lead generation functionality:
- Added configurable form timing options (immediate, after first message, after two messages, or end)
- Implemented dynamic FluentCRM integration with list and tag selection
- Added customizable form heading and description
- Added skip option for users who don't want to provide contact info
- Improved form display controls and validation
- Improved FluentCRM integration:
- Dynamic loading of lists and tags
- Better error handling and validation
- Enhanced admin UI for FluentCRM settings
- Improved search capabilities:
- Added Algolia integration
- Enhanced Google Custom Search support
- Added comprehensive settings sanitization
- Updated documentation with detailed provider and lead generation configuration
- Added enhanced security measures
- Improved error handling
- Updated documentation
- Initial public release