Skip to main content

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โ€‹

RequirementMinimumRecommended
WordPress5.8+6.0+
PHP7.4+8.0+
MySQL5.7+8.0+
WooCommerce6.0+ (optional)8.0+

Server Requirementsโ€‹

  • cURL PHP extension enabled
  • JSON PHP extension enabled
  • Outbound HTTPS connections allowed (for API calls)

Installationโ€‹

Method 1: Upload via WordPress Adminโ€‹

  1. Download the plugin ZIP file
  2. Go to WordPress Admin โ†’ Plugins โ†’ Add New
  3. Click Upload Plugin
  4. Select the ZIP file and click Install Now
  5. Click Activate Plugin

Method 2: Manual Installation (FTP)โ€‹

  1. Extract the plugin ZIP file
  2. Upload the helvira folder to /wp-content/plugins/
  3. Go to WordPress Admin โ†’ Plugins
  4. 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:

  1. Go to chat.helvira.ai
  2. Create an account or log in
  3. Navigate to Settings โ†’ Account โ†’ API Keys โ†’ Show
  4. 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:

OptionDirection
โ†˜๏ธ DiagonalTop-left to bottom-right (135deg)
โ†’ HorizontalLeft to right
โ†“ VerticalTop to bottom
โ†—๏ธ Diagonal UpBottom-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

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:

  1. Click Upload
  2. Select or upload an image
  3. 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).

SettingTrade-off
1-3Faster, less context
4-6Balanced (recommended)
7-10More context, slower
11-20Maximum 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:

  1. User sends a message in their language
  2. AI detects the language
  3. 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โ€‹

  1. Extraction: Content is extracted from posts, pages, and products
  2. Chunking: Content is split into manageable chunks
  3. Storage: Chunks are stored in the database with metadata
  4. Retrieval: Relevant chunks are retrieved based on user queries

Troubleshootingโ€‹

Chatbot Not Appearingโ€‹

Possible causes and solutions:

CauseSolution
Plugin disabledEnable in Helvira Chat โ†’ General Settings
JavaScript errorCheck browser console for errors
Theme conflictTest with default theme
CachingClear site cache and browser cache

"API Key Invalid" Errorโ€‹

  1. Verify the API key is correct (no extra spaces)
  2. Check if the key has expired
  3. Ensure your API account is active
  4. Test connection in settings

Chatbot Gives Wrong Answersโ€‹

  1. Reindex content - Click "Reindex All Content"
  2. Check indexed post types - Ensure relevant content is indexed
  3. Increase max chunks - Allow more context for better answers
  4. Review content quality - AI can only use what's indexed

Slow Responsesโ€‹

CauseSolution
Large chunk sizeReduce chunk size to 300-500
Too many chunksReduce max chunks to 3-5
Slow APICheck API status, try different model
Server issuesCheck server resources

WooCommerce Cart Actions Not Workingโ€‹

  1. Ensure Enable Shopping Assistant is ON
  2. Check WooCommerce is active and updated
  3. Verify product exists and is in stock
  4. 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