Beskrivelse
Woo AI Search tilføjer en søge-widget til WooCommerce, der returnerer produktforslag og kan vise en kort forklaring på, hvorfor et produkt matcher brugerens søgning.
Plugin’et er designet til at være “RAG-ready†(knowledge chunks + embeddings), men i den nuværende version bruger det primært en almindelig keyword-søgning som retrieval-fallback.
Det får du
- Shortcode til at vise søgning på frontend:
[woo_ai_search]. - REST endpoint til søgning:
POST /wp-json/woo-ai/v1/search. - Admin-side i WP-admin (Woo AI Search) til konfiguration:
- Slå moduler til/fra (Search/Chat/Order).
- Vælg provider/model (API key konfigureres via constant i deploy).
- Justér max antal resultater, minimum confidence og “clarifying questionsâ€Â.
- Privatliv: log retention og PII masking.
Database & logning
Ved aktivering opretter plugin’et DB-tabeller til:
wp_woo_ai_chunks(knowledge chunks – klargjort til embeddings/RAG)wp_woo_ai_logs(request/response logs til fejlsøgning og kvalitet)
Der planlægges daglig oprydning via WP-Cron baseret pÃ¥ “Log retention (days)â€Â.
Ændringslog
0.1.20
- Admin: fixed asset path so Index & Logs buttons (reindex/logs) work.
0.1.19
- Filters/Flows: criteria are sent as structured JSON (context.criteria) instead of being encoded into the search query text (improves retrieval and avoids missing products).
0.1.18
- Filters: dimension prompts and matching use millimeters (mm) with admin-configurable tolerance.
- Filters: if the initial query already includes dimensions (e.g. "filter 340 25"), the dialog skips redundant questions.
- Agentic Search: intent clarification returns results alongside the question (does not hide results).
0.1.17
- Dialog: filter criteria memory is scoped to filter searches (prevents criteria leaking into unrelated queries).
0.1.16
- Clarifying flow: show results while also asking a clarifying question (dialog continues; results stay visible).
0.1.15
- Results: deterministic top-score ordering; filter dialog criteria applies a ±5cm tolerance (best-effort).
0.1.14
- Frontend: two-column UI (left dialog, right results) showing top 10 highest-score products.
- Dialog: filter flow includes a fixed ±5cm tolerance for length/diameter criteria.
0.1.13
- Dialog: improved criteria memory UX (filter flow searches without echoing a composed query as a user message; choice chips behave like user replies).
0.1.12
- Dialog: remembers search criteria and uses a multi-step clarification flow for filter searches (length → diameter).
0.1.11
- Search results: hide products that cannot be ordered (not purchasable and not in-stock/backorderable).
0.1.10
- I18n: ensure plugin UI strings are English-only (no hardcoded Danish in dialog/clarifying flows).
0.1.9
- Frontend: more agent-like dialog experience (welcome message + assistant summary message per response).
0.1.8
- Frontend: switch widget to a dialog-style UI (messages area + input), keeping product results as cards.
0.1.7
- Frontend: improved search UI styling and render results as product cards with images.
- Search UX: ask a deeper clarifying question when many products match (default threshold: 5).
0.1.6
- Settings: runtime normalization of legacy/malformed option keys (ensures enabled search toggle is read correctly; shortcode renders as expected).
0.1.5
- Version bump / repackage.
0.1.4
- Admin settings: fixed field names so options save/load correctly (enables search toggle + shortcode rendering).
0.1.3
- Shortcode: admin-only notice when Search module is disabled (avoids rendering “nothing†without explanation).
0.1.2
- Admin pages: added Webalive logo in header linking to webalive.dk.
- Provider API key: removed WP-admin input field and use
WOO_AI_SEARCH_OPENAI_API_KEYconstant as source of truth.
0.1.1
- Agentic Search (OpenAI Responses API) wired into /search: intent rewrite/clarifying + optional per-result explanations (best-effort + cached).
- Added outbound OpenAI throttling + retries, plus safer error handling to avoid fatals.
0.1.0
- Første release (settings-side, shortcode, REST endpoint, DB-tabeller og log retention).