Chai Chatbot
Transform your WordPress website with intelligent AI chatbot technology. Seamlessly integrate OpenAI GPT-4 and Google Gemini AI models for instant, context-aware customer support.
Key Features
Dual AI Provider Support
Choose between OpenAI (GPT-4o, GPT-4o-mini, GPT-3.5-turbo) and Google Gemini (1.5 Pro, 1.5 Flash) based on your needs and budget.
Context-Aware Responses
Automatically learns from your website content to provide accurate, relevant responses about your products, services, and policies.
Comprehensive Analytics
Track conversations, monitor performance, and gain insights with detailed analytics including response times and user engagement.
Enterprise-Grade Security
Built with WordPress security best practices, secure API key storage, and protection against SQL injection and XSS attacks.
Multilingual Support
Communicate with global audiences in 50+ languages. The chatbot automatically detects and responds in the user's language.
Easy Setup & Configuration
Intuitive 3-step setup wizard with visual model comparison, real-time API testing, and cost estimation for different models.
Documentation
Installation
Method 1: WordPress Admin Panel (Recommended)
- Download the chai-chatbot.zip file from GitHub
- Navigate to WordPress Admin → Plugins → Add New
- Click Upload Plugin and select the zip file
- Click Install Now and then Activate
- Go to Chai Chatbot → Setup to configure
Method 2: Manual Installation
- Download and extract the plugin files
- Upload the chai-chatbot folder to /wp-content/plugins/
- Activate through the Plugins menu in WordPress
- Navigate to Chai Chatbot → Setup
Getting API Keys
OpenAI API Key
- Visit platform.openai.com
- Sign up or log in to your OpenAI account
- Navigate to API Keys in your profile
- Click "Create new secret key"
- Copy the key immediately (you won't see it again)
- Set up billing in your account settings
Cost: Pay-as-you-go. GPT-4o-mini starts at $0.15/1M input tokens.
Google Gemini API Key
- Visit aistudio.google.com
- Sign in with your Google account
- Click "Get API Key" button
- Select "Create API key in new project" or use existing
- Copy and save your API key securely
Cost: Free tier available. Gemini 1.5 Flash is free up to 15 requests/minute.
Configuration
Initial Setup
- Navigate to Chai Chatbot → Setup in WordPress admin
- Choose your AI provider (OpenAI or Google Gemini)
- Enter your API key
- Select your preferred model:
- GPT-4o: Most capable, best for complex queries
- GPT-4o-mini: Fast and cost-effective
- Gemini 1.5 Pro: High intelligence, multimodal
- Gemini 1.5 Flash: Ultra-fast, free tier available
- Click "Test Connection" to verify setup
- Save your settings
Context Awareness
Enable context awareness to help your chatbot learn from your website content:
- Navigate to Chai Chatbot → Settings → Context Awareness
- Toggle "Include Website Content" ON
- Select priority pages (About, FAQ, Products, Policies)
- Save settings
Note: More content = higher token usage. Select only essential pages.
Frequently Asked Questions
Costs depend on your chosen AI provider and usage:
- OpenAI GPT-4o-mini: ~$0.15 per 1M input tokens, $0.60 per 1M output tokens
- OpenAI GPT-4o: ~$2.50 per 1M input tokens, $10 per 1M output tokens
- Google Gemini Flash: Free tier available (15 RPM), then $0.075 per 1M tokens
- Google Gemini Pro: $1.25 per 1M input tokens, $5 per 1M output tokens
Average conversation: 500-2000 tokens depending on context.
Currently, the widget uses a modern, responsive design. Custom styling options are planned for future releases. You can modify CSS directly if needed.
Yes! Both OpenAI and Google models support 50+ languages. The chatbot automatically detects and responds in the user's language.
The plugin provides tools for GDPR compliance (data deletion, session management), but you must update your privacy policy and implement proper consent mechanisms as required by your jurisdiction.
Common solutions:
- Ensure the plugin is activated
- Complete the setup wizard (Chai Chatbot → Setup)
- Test your API connection
- Check browser console for JavaScript errors (F12)
- Try disabling other plugins temporarily
- Clear your browser cache
Yes, any WordPress user with manage_options capability (typically Administrators) can access all plugin features.
Ready to Get Started?
Download Chai Chatbot and add intelligent AI-powered customer support to your WordPress site today.