Title: Ratmil AI Shop Assistant
Author: ratmil
Published: <strong>October 20, 2026</strong>
Last modified: October 20, 2026

---

Search plugins

![](https://ps.w.org/ratmil-ai-shop-assistant/assets/banner-772x250.png?rev=3756794)

![](https://ps.w.org/ratmil-ai-shop-assistant/assets/icon-256x256.png?rev=3756747)

# Ratmil AI Shop Assistant

 By [ratmil](https://profiles.wordpress.org/ratmil/)

[Download](https://downloads.wordpress.org/plugin/ratmil-ai-shop-assistant.0.1.2.zip)

 * [Details](https://wordpress.org/plugins/ratmil-ai-shop-assistant/#description)
 * [Reviews](https://wordpress.org/plugins/ratmil-ai-shop-assistant/#reviews)
 *  [Installation](https://wordpress.org/plugins/ratmil-ai-shop-assistant/#installation)
 * [Development](https://wordpress.org/plugins/ratmil-ai-shop-assistant/#developers)

 [Support](https://wordpress.org/support/plugin/ratmil-ai-shop-assistant/)

## Description

Ratmil AI Shop Assistant adds a chat window to your site. Visitors can ask things
like “Do you have a waterproof blue backpack under $50?” and the bot looks up your
posts, pages and WooCommerce products and answers from them.

 * Choose OpenAI or Google Gemini, enter your own API key and pick one of the supported
   models.
 * Searches your site content and WooCommerce products (including attributes, prices
   and stock) through function calling.
 * Optional semantic search using embeddings, stored in your own database, so questions
   match by meaning and across languages.
 * Open the chat from anywhere: the floating button, a `[ratmil_chat_button]` shortcode,
   any element with the `wpbot-open` class, or a link to `#wpbot-open`.
 * Optional but recommended CAPTCHA (Cloudflare Turnstile) for anonymous visitors,
   so scripts cannot use your chat and your API credits.
 * Per-IP rate limiting, a daily request cap, opening hours and a logged-in-only
   mode, customizable bot name, welcome message, instructions, color and position.
 * Optional hand-off to a person on WhatsApp: a link in the chat, offered by the
   assistant when a visitor asks for a person, and shown automatically when the 
   assistant cannot answer (closed, limit reached, AI error).
 * Review the questions visitors ask and the answers they get (Ratmil AI Assistant
   > Conversations), with automatic deletion after a retention period you choose.
 * Translation-ready; the default texts follow the site language.

You need your own API key from OpenAI or Google AI Studio. Keys can also be defined
in `wp-config.php` with `WPBOT_OPENAI_KEY` / `WPBOT_GEMINI_KEY`.

#### External services

This plugin sends data to a third-party AI service chosen by the site administrator.
Nothing is sent until an API key is configured.

**OpenAI** (when selected as provider)
 * Sent: the visitor’s chat messages, the
conversation so far, the results of site searches (titles, excerpts, prices, URLs
of your content) and, if semantic search is enabled, the text of your published 
posts/products to create embeddings. * Terms: https://openai.com/policies/terms-
of-use * Privacy: https://openai.com/policies/privacy-policy

**Google Gemini API** (when selected as provider)
 * Sent: the same data as above.*
Terms: https://ai.google.dev/gemini-api/terms * Privacy: https://policies.google.
com/privacy

**Cloudflare Turnstile** (optional; used only when the CAPTCHA is enabled and keys
are entered)
 * When an anonymous visitor asks their first question, the Turnstile
script is loaded from challenges.cloudflare.com and the visitor’s browser exchanges
challenge data with Cloudflare. Your server then sends the challenge response, your
secret key and the visitor’s IP address to Cloudflare to verify it. * Terms: https://
www.cloudflare.com/website-terms/ * Privacy: https://www.cloudflare.com/privacypolicy/

**WhatsApp** (optional; only when you enter a number under Human hand-off)
 * The
chat shows a link to https://wa.me/ with your number and the visitor’s last question
pre-filled. Nothing is sent to WhatsApp unless the visitor clicks the link and sends
the message there. * Terms: https://www.whatsapp.com/legal/terms-of-service * Privacy:
https://www.whatsapp.com/legal/privacy-policy

Please inform your visitors, in your privacy policy, that their chat messages are
processed by the selected provider.

## Installation

 1. Upload the `ratmil-ai-shop-assistant` folder to `/wp-content/plugins/`, or install
    it from the Plugins screen.
 2. Activate the plugin.
 3. Go to Ratmil AI Assistant > Settings, choose a provider, enter the API key and 
    select a model.
 4. Recommended: create free Cloudflare Turnstile keys and enter them under CAPTCHA
    in the settings, so only people (not scripts) can use the chat.
 5. Optionally click “Build / update index now” to enable semantic search.

## FAQ

### Does it require WooCommerce?

No. Product search is only available when WooCommerce is active.

### Why should I enable the CAPTCHA?

The chat endpoint is public and every message costs you API credits. Without a CAPTCHA,
anyone can call it from a script. With it, an anonymous visitor solves one challenge
before their first question and receives a short-lived pass (one hour, limited number
of messages, tied to their IP). Logged-in users are not asked.

### What happens if I switch provider?

Embeddings from different providers are not compatible. Re-run the index after switching.

### Where is my data stored?

Settings are in the `wpbot_settings` option, embeddings in the `wpbot_vectors` table
and, unless you turn it off, the questions and answers in the `wpbot_logs` table(
with the user account when the visitor is logged in; no IP address is stored). Conversations
are deleted automatically after the retention period you set (30 days by default)
and can be read only by users who can manage options. Visitors see a short notice
in the chat. Everything is removed when the plugin is deleted.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Ratmil AI Shop Assistant” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ ratmil ](https://profiles.wordpress.org/ratmil/)

[Translate “Ratmil AI Shop Assistant” into your language.](https://translate.wordpress.org/projects/wp-plugins/ratmil-ai-shop-assistant)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ratmil-ai-shop-assistant/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ratmil-ai-shop-assistant/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ratmil-ai-shop-assistant/)
by [RSS](https://plugins.trac.wordpress.org/log/ratmil-ai-shop-assistant/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1.2

 * Fix: the setup checklist is now shown at the top of the settings page.
 * Fix: the automatic indexing now also runs on sites where WP-Cron cannot run; 
   the open settings page drives it.

#### 0.1.1

 * New setup checklist at the top of the settings page (API key, search index, CAPTCHA).
 * New “Test connection” buttons for the AI key and the Turnstile keys.
 * The content is now indexed automatically in the background after the API key 
   is saved.

#### 0.1.0

 * Initial release.

## Meta

 *  Version **0.1.2**
 *  Last updated **21 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[chatbot](https://wordpress.org/plugins/tags/chatbot/)
   [Gemini](https://wordpress.org/plugins/tags/gemini/)[openai](https://wordpress.org/plugins/tags/openai/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/ratmil-ai-shop-assistant/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/ratmil-ai-shop-assistant/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ratmil-ai-shop-assistant/reviews/)

## Contributors

 *   [ ratmil ](https://profiles.wordpress.org/ratmil/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ratmil-ai-shop-assistant/)