=== AI Vector Search (Semantic) === Contributors: calingrim Tags: woocommerce, search, recommendations, supabase, embeddings Requires at least: 6.0 Tested up to: 6.8 Requires PHP: 7.4 Stable Tag: 0.13.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Supabase‑powered WooCommerce search with optional semantic (vector) search via OpenAI, plus related/upsell recommendations. == Description == AI Vector Search replaces default WooCommerce search with a fast, relevance‑driven Supabase backend, and (optionally) semantic vector search using OpenAI embeddings. It also adds: * PDP “Similar products” (vectors) * Cart‑below recommendations * Batch/full sync UI for exporting products to Supabase * One‑click SQL installer snippet you can paste in Supabase **You control keys.** Use a Supabase anon or service key. Semantic search is optional and only used if you provide an OpenAI key. = Features = * Keyword search via Postgres full‑text search (FTS) * Optional semantic search with OpenAI embeddings * Related products on PDP via similarity RPC * Cart recommendations * Admin pages: Settings • Status • Sync * Auto‑sync on product save (optional) = Security & Privacy = * Uses your Supabase project URL + key. * Keys are stored as WordPress options. == Installation == 1. Install and activate the plugin. 2. Go to **Settings → AI Supabase** and enter: * Supabase URL * Supabase key (anon or service) * Store ID (UUID) * (Optional) OpenAI key, then enable “semantic” 3. In the same page, copy the provided SQL and paste it in **Supabase → SQL Editor**, then run it. 4. Optionally trigger **Sync Products** from **Settings → Supabase Status → Sync**. == Frequently Asked Questions == = Do I need OpenAI? = No. The plugin works with FTS only. OpenAI is needed only for semantic vectors. = Is this compatible with my theme? = It hooks at the query layer, so it works with most themes. There is optional support for Woodmart live search. == Screenshots == 1. Settings screen 2. Status & health 3. Sync UI == Privacy == This plugin syncs your WooCommerce product data (including names, descriptions, prices, SKUs, categories, tags, attributes, and image URLs) to your Supabase account for search and recommendation features. No personal customer data is synced. If semantic search is enabled, product text is sent to OpenAI to generate embeddings. OpenAI's privacy policy applies: https://openai.com/policies/privacy-policy. All data transmission uses HTTPS. You control your Supabase/OpenAI keys and can delete data from those services at any time. == Changelog == = 0.12.2 = * Initial public release = 0.12.3 = Renamed key to AIVESESE_MASTER_KEY_B64 Added auto-generation of UUID (store id) = 0.12.3.1 = Updated Changelog = 0.13 = Fixed saving of Supabase key to DB Fixed saving of OpenAI key to DB Fixed checks for recommendations & below cart Updated encryption = 0.13.1 = Updated readme = 0.13.2 = Removed log block == Upgrade Notice == = 0.12.2 = Initial public release. = 0.12.3 = Renamed key to AIVESESE_MASTER_KEY_B64 Added auto-generation of UUID (store id) = 0.12.3.1 = Updated Changelog = 0.13 = Fixed saving of Supabase key to DB Fixed saving of OpenAI key to DB Fixed checks for recommendations & below cart Updated encryption = 0.13.1 = Updated readme = 0.13.2 = Removed log block