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:
- The plugin is installed and activated on your WordPress site.
- You configure chatbot placement on the frontend (left or right bottom).
- You select an AI provider (Gemini or OpenAI) and provide your API key and model.
- You choose which WordPress content should be used for learning.
- Selected content is securely sent to the AI processing service.
- The service generates embeddings and prepares the chatbot.
- You receive an email notification when the chatbot is ready.
- 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:
- FAQs (required)
- Pages
- Posts
- WooCommerce products
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
- Store selected WordPress content securely
- Generate embeddings for contextual search
- Process chat queries using Gemini or OpenAI models
- Enforce fair-usage limits
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)
- Visit:
https://aistudio.google.com/ - Sign in with your Google account.
- Create a new API key from the API Keys section.
- Copy the generated API key.
- Choose a Gemini model (for example:
gemini-pro).
You will enter:
- Gemini API Key
- Gemini Model Name
OpenAI API
- Visit:
https://platform.openai.com/ - Sign in or create an account.
- Navigate to View API Keys.
- Create a new secret key and copy it.
- Choose a supported OpenAI model (for example:
gpt-4o-miniorgpt-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:
- Embeddings are ready
- The chatbot can be safely enabled on the frontend