Helvira AI ChatBot - WordPress
AI-powered chatbot with RAG capabilities for WordPress
Introductionโ
Helvira AI ChatBot is a powerful WordPress plugin that adds an intelligent AI chatbot to your website. The chatbot uses RAG (Retrieval-Augmented Generation) technology to answer questions about your website content, products, and services.
Key Featuresโ
- ๐ค AI-Powered Responses - Uses advanced language models for natural conversations
- ๐ RAG Technology - Automatically indexes your content for accurate answers
- ๐ WooCommerce Integration - Shopping assistant with cart management
- ๐ Multi-Language Support - Automatically detects and responds in user's language
- ๐จ Customizable Design - Match your brand with colors, gradients, and custom logos
- ๐ฑ Mobile Responsive - Works perfectly on all devices
- ๐ฌ Conversation History - Maintains context throughout the chat session
Requirementsโ
| Requirement | Minimum | Recommended |
|---|---|---|
| WordPress | 5.8+ | 6.0+ |
| PHP | 7.4+ | 8.0+ |
| MySQL | 5.7+ | 8.0+ |
| WooCommerce | 6.0+ (optional) | 8.0+ |
Server Requirementsโ
cURLPHP extension enabledJSONPHP extension enabled- Outbound HTTPS connections allowed (for API calls)
Installationโ
Method 1: Upload via WordPress Adminโ
- Download the plugin ZIP file
- Go to WordPress Admin โ Plugins โ Add New
- Click Upload Plugin
- Select the ZIP file and click Install Now
- Click Activate Plugin
Method 2: Manual Installation (FTP)โ
- Extract the plugin ZIP file
- Upload the
helvirafolder to/wp-content/plugins/ - Go to WordPress Admin โ Plugins
- Find "Helvira AI Chat" and click Activate
Configurationโ
After activation, go to WordPress Admin โ Helvira Chat to configure the plugin.
General Settingsโ
Enable Chatbotโ
Toggle this option to show or hide the chatbot on your website.
- Enabled: Chatbot is visible to all visitors
- Disabled: Chatbot is hidden (useful for maintenance)
Chat Titleโ
The title displayed in the chat widget header.
Example: "Chat with us", "Need help?", "Ask me anything"
Welcome Messageโ
The first message displayed when a visitor opens the chat.
Best Practices:
- Keep it friendly and concise
- Mention what the chatbot can help with
- Consider your brand voice
Example:
Hello! ๐ I'm here to help you learn about our products and services. What would you like to know?
API Configurationโ
API Keyโ
Your Helvira API key is required for the chatbot to function.
How to get an API key:
- Go to chat.helvira.ai
- Create an account or log in
- Navigate to Settings โ Account โ API Keys โ Show
- Copy the key and paste it in the plugin settings
โ ๏ธ Security Note: Never share your API key publicly. The plugin stores it securely in your WordPress database.
AI Modelโ
Choose your model based on your subscription:
| Model Name |
|---|
| Gemmini Light (Gemma3) Standard |
| Gemmini (Gemma3) Premium |
| OSS (gpt-oss) Premium |
Appearance Settingsโ
Color Styleโ
Choose between two color modes:
Solid Color
- Single color for all elements
- Clean, professional look
- Best for minimalist designs
Gradient
- Two-color gradient effect
- Modern, dynamic appearance
- Customizable direction
Primary Colorโ
The main color used for:
- Chat button
- Header background
- Send button
- User message bubbles
Default: #667eea (Purple-blue)
Secondary Color (Gradient only)โ
The second color for gradient effects.
Default: #764ba2 (Purple)
Gradient Directionโ
Choose how the gradient flows:
| Option | Direction |
|---|---|
| โ๏ธ Diagonal | Top-left to bottom-right (135deg) |
| โ Horizontal | Left to right |
| โ Vertical | Top to bottom |
| โ๏ธ Diagonal Up | Bottom-left to top-right (45deg) |
Widget Positionโ
Where the chat button appears on your website:
- Bottom Right (recommended) - Standard position, doesn't interfere with content
- Bottom Left - Alternative position for RTL sites or preference
- Top Left
- Top Right
Custom Logoโ
Upload a custom image for the chat button.
Specifications:
- Format: PNG (with transparency) or JPG
- Size: 40x40 pixels recommended
- File size: Under 100KB for best performance
To upload:
- Click Upload
- Select or upload an image
- Click Use this image
Content Indexingโ
The RAG system indexes your website content so the AI can answer questions accurately.
Post Types to Indexโ
Select which content types should be searchable:
- โ Posts - Blog posts, articles
- โ Pages - Static pages, about, contact
- โ Products - WooCommerce products (if installed)
Recommendation: Enable all public content types for comprehensive coverage.
Max Context Chunksโ
How many content chunks to include in AI context (1-20).
| Setting | Trade-off |
|---|---|
| 1-3 | Faster, less context |
| 4-6 | Balanced (recommended) |
| 7-10 | More context, slower |
| 11-20 | Maximum context, slowest |
Default: 5 chunks
Chunk Size (Words)โ
Number of words per content chunk (100-2000).
- Smaller chunks (100-300): More precise matching, less context per chunk
- Larger chunks (500-1000): More context, potentially less precise
- Default: 500 words
Chunk Overlap (Words)โ
Overlap between consecutive chunks for continuity (0-500).
- Why overlap? Ensures important information at chunk boundaries isn't lost
- Default: 100 words
Reindexing Contentโ
Click Reindex All Content to rebuild the content index. Do this after:
- Adding or updating significant content
- Changing indexed post types
- Changing chunk size/overlap settings
- Initial plugin setup
โน๏ธ Reindexing may take several minutes for large sites.
WooCommerce Integrationโ
If WooCommerce is installed, additional features become available.
Enable Shopping Assistantโ
When enabled, the chatbot can:
- ๐ View cart contents - See what items are in the customer's cart
- โ Add products - Add items to cart via chat
- โ Remove products - Remove items from cart
- ๐ซ Apply coupons - Apply discount codes
- ๐ฆ Product information - Provide details about products
- ๐ก Recommendations - Suggest relevant products
Example Conversationsโ
Adding to cart:
User: Add this product to my cart
Bot: โ Added "Product Name" to your cart. Your cart now has 2 items.
Applying coupon:
User: I have a discount code SAVE20
Bot: โ Coupon "SAVE20" applied! You're saving 20% on your order.
Product questions:
User: Is this in stock?
Bot: Yes! The "Product Name" is currently in stock with 15 units available.
The price is $49.99. Would you like me to add it to your cart?
Featuresโ
Multi-Language Supportโ
The chatbot automatically detects and responds in the user's language.
Supported Languages for cart:
- ๐ฌ๐ง English
- ๐ซ๐ท Franรงais
- ๐ฉ๐ช Deutsch
- ๐ช๐ธ Espaรฑol
- ๐ฎ๐น Italiano
How it works:
- User sends a message in their language
- AI detects the language
- Response is generated in the same language
Page Context Awarenessโ
The chatbot knows which page the visitor is currently viewing.
Example:
User: Can you summarize this page?
Bot: You're viewing our "About Us" page. This page explains our company
history, founded in 2010, our mission to provide quality products,
and introduces our team of 50+ employees...
Conversation Historyโ
- Chat history is preserved during the session
- AI remembers context from earlier messages
- Users can clear history with the ๐๏ธ button
Source Citationsโ
When answering from indexed content, the chatbot can show sources:
Bot: Our return policy allows returns within 30 days of purchase...
Sources:
โข Return Policy
โข FAQ - Shipping & Returns
How It Worksโ
RAG (Retrieval-Augmented Generation)โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ User Message โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Intent Detection โ
โ Determine if it's a chat question or cart action โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Chat Question โ โ Cart Action โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 2. Search Indexed โ โ 2. Execute Action โ
โ Content (RAG) โ โ (Add/Remove/etc) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 3. Build Context โ โ 3. Confirm Action โ
โ + Page Info โ โ + Update Cart โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 4. AI Response โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Display to User โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Content Indexing Processโ
- Extraction: Content is extracted from posts, pages, and products
- Chunking: Content is split into manageable chunks
- Storage: Chunks are stored in the database with metadata
- Retrieval: Relevant chunks are retrieved based on user queries
Troubleshootingโ
Chatbot Not Appearingโ
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Plugin disabled | Enable in Helvira Chat โ General Settings |
| JavaScript error | Check browser console for errors |
| Theme conflict | Test with default theme |
| Caching | Clear site cache and browser cache |
"API Key Invalid" Errorโ
- Verify the API key is correct (no extra spaces)
- Check if the key has expired
- Ensure your API account is active
- Test connection in settings
Chatbot Gives Wrong Answersโ
- Reindex content - Click "Reindex All Content"
- Check indexed post types - Ensure relevant content is indexed
- Increase max chunks - Allow more context for better answers
- Review content quality - AI can only use what's indexed
Slow Responsesโ
| Cause | Solution |
|---|---|
| Large chunk size | Reduce chunk size to 300-500 |
| Too many chunks | Reduce max chunks to 3-5 |
| Slow API | Check API status, try different model |
| Server issues | Check server resources |
WooCommerce Cart Actions Not Workingโ
- Ensure Enable Shopping Assistant is ON
- Check WooCommerce is active and updated
- Verify product exists and is in stock
- Clear WooCommerce transients
Chat History Not Savingโ
- History is stored in browser sessionStorage
- Clears when browser tab closes (by design)
- Private/Incognito mode may block storage
FAQโ
General Questionsโ
Q: Is the chatbot free? A: The plugin is free, but requires an API key from Helvira AI which may have associated costs based on usage.
Q: Does it work with any theme? A: Yes, Helvira Chat is designed to work with any properly coded WordPress theme.
Q: Can I use it on multiple sites? A: Check your API key license terms. Some plans allow multiple sites.
Q: Is my data secure? A: Yes. Conversations are processed via secure HTTPS connections. We don't store conversation data on our servers.
Technical Questionsโ
Q: Does it affect site speed? A: The chat widget loads asynchronously and has minimal impact on page load time (~50KB).
Q: Can I customize the AI's personality? A: The AI adapts to your site name and description. Custom system prompts may be available in future versions.
Q: Does it work with page builders? A: Yes, compatible with Elementor, Divi, Beaver Builder, and others.
Q: Can I exclude certain pages? A: Not currently. This feature is planned for a future release.
WooCommerce Questionsโ
Q: Can the chatbot process payments? A: No, it can guide users to checkout but doesn't handle payment processing.
Q: Does it support variable products? A: Yes, it can add variable products with selected variations.
Q: Can it access order history? A: Currently limited. Full order history features are planned.
Changelogโ
Version 1.0.0 (Initial Release)โ
- โ AI-powered chatbot with RAG
- โ Content indexing for posts, pages, products
- โ WooCommerce integration (cart actions)
- โ Multi-language support
- โ Customizable appearance (colors, gradients, logo)
- โ Mobile responsive design
- โ Conversation history
- โ Page context awareness
- โ Modern admin settings UI
Supportโ
Documentation: docs.helvira.ai
Support Email: support@helvira.ai
GitHub Issues: github.com/helvira/chat-plugin/issues
Licenseโ
This plugin is licensed under the GPL v2 or later.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Made with โค๏ธ by Helvira AI