AI Chatbot for Support & E-Commerce

AI Chatbot for WordPress & WooCommerce is a Retrieval-Augmented Generation (RAG) based chatbot plugin that allows website owners to provide accurate, contextual, and AI-powered responses to visitors using their own WordPress content.

The plugin integrates WordPress with an external AI processing service that generates embeddings from selected site data and answers visitor questions using Gemini or OpenAI models.

Important Requirement

A publicly accessible HTTPS domain is required.
Localhost and local development environments are not supported because domain verification is required during API registration.

How the Plugin Works

The plugin follows a secure, structured workflow:

  1. The plugin is installed and activated on your WordPress site.
  2. You configure chatbot placement on the frontend (left or right bottom).
  3. You select an AI provider (Gemini or OpenAI) and provide your API key and model.
  4. You choose which WordPress content should be used for learning.
  5. Selected content is securely sent to the AI processing service.
  6. The service generates embeddings and prepares the chatbot.
  7. You receive an email notification when the chatbot is ready.
  8. The chatbot can then be enabled on the frontend for visitors.

All AI responses are generated based on your site’s own content.

Supported Content Types

You can select which content types are used for chatbot learning:

Content is automatically processed and truncated where required to ensure reliable performance and fair usage.

External AI Processing Service

To enable AI functionality, this plugin connects to an external service operated by PHPSOFT SOLUTIONS.

Purpose of the Service

Service Endpoint

https://ragai.phpsoftsolutions.in

Data Sent

Usage Limits (Free Tier)

The plugin currently operates under a free usage tier with enforced limits.
All limits are handled server-side to prevent misuse.
Detailed limits are documented within the plugin interface and documentation.
A paid tier with higher limits may be introduced in the future.

Getting Your AI API Keys and Model Names

To use this plugin, you must obtain an API key from Gemini or OpenAI.

API usage costs are determined by the AI provider and are billed directly by them.

Gemini API (Google AI)

  1. Visit:
    https://aistudio.google.com/
  2. Sign in with your Google account.
  3. Create a new API key from the API Keys section.
  4. Copy the generated API key.
  5. Choose a Gemini model (for example: gemini-pro).

You will enter:

  • Gemini API Key
  • Gemini Model Name

OpenAI API

  1. Visit:
    https://platform.openai.com/
  2. Sign in or create an account.
  3. Navigate to View API Keys.
  4. Create a new secret key and copy it.
  5. Choose a supported OpenAI model (for example: gpt-4o-mini or gpt-3.5-turbo).

You will enter:

  • OpenAI API Key
  • OpenAI Model Name

Email Notification

After content is submitted for learning, embedding generation may take from a few minutes to several hours depending on queue load. You will receive an email notification when:

Frequently Asked Questions

No. The chatbot requires embeddings generated from your content to provide accurate answers.

Yes. You can switch between Gemini and OpenAI and update API keys at any time.

No. WooCommerce support is optional. The plugin works on standard WordPress sites as well.

Yes. A paid version with higher limits and advanced features may be offered in the future.