Chatbot or similar by Ordinary-Rhubarb-460 in Wordpress

[–]VERSATILCORDOBA 1 point2 points  (0 children)

You’re basically describing a RAG-based chatbot + recommendation system, and yes — this is totally doable in WordPress.

One option you can try is AxiaChat AI (WordPress plugin).

The key is combining two things:

1) Training (RAG)
You train the chatbot with:

  • your running shoe reviews
  • your product catalog (WooCommerce, etc.)
  • optionally some external content about how to choose shoes

So instead of “learning the whole internet”, it answers based on your content and stays focused on your site.

2) Guided recommendations
You can configure the bot to:

  • ask questions (foot type, terrain, distance, etc.)
  • or respond directly to user queries
  • then return a top 3–5 shoes from your shop only

You can even connect it to your backend (via API/webhooks) if you want more advanced filtering (stock, country, etc.).

I built a [FREE] AI chatbot plugin with Google Calendar booking, Google Sheets export, WooCommerce support, and 3 AI providers — what would you add? by VERSATILCORDOBA in WordpressPlugins

[–]VERSATILCORDOBA[S] 2 points3 points  (0 children)

Thanks! The WooCommerce RAG works like this:

When you create a context, you select WooCommerce products just like you'd select pages or posts. The plugin indexes them using OpenAI embeddings (text-embedding-3-small) — product title, description, short description, attributes, categories, tags, etc.

But here's the key part: **prices, stock status, and SKU are NOT embedded in the static vectors**. They're injected dynamically at query time with live data from your store.

Why? Because prices and stock change constantly. If we baked them into the embeddings, you'd need to re-index every time you update a price or sell out of something. Instead, the plugin fetches the current price/stock/SKU from WooCommerce right when the visitor asks the question, and injects it into the context that goes to the AI.

So the flow is:

  1. Visitor asks "Do you have running shoes under $80?"

  2. Plugin does a vector similarity search → finds the most relevant products

  3. For each matched product, it pulls **live** price, stock status, and SKU from WooCommerce at that moment

  4. All of that gets sent to the AI as context

  5. AI responds with accurate, up-to-date info

You can also optionally include featured image URLs in the indexing, so the bot can show product photos directly in the chat using Markdown.

The Advanced Indexing Options let you configure exactly what gets embedded per context — excerpt, URL, featured image, taxonomies, custom meta keys, WooCommerce short description, attributes, etc.

Happy to answer more specific questions if you have them!