
Sentient AI is an AI-powered chatbot plugin for WordPress that provides intelligent responses and FAQ management.
Sentient AI checks your posts and pages for the things AI answer engines tend to use (clear structure, FAQ sections, schema markup, statistics and citations), and adds schema markup to your pages. The scanner and rule-based schema need no API key and no account.
It also includes an optional FAQ chatbot. The chatbot answers from your own FAQs without any key. For AI-written answers it uses your own account with OpenAI, Anthropic Claude, Google Gemini, OpenRouter or Hugging Face. The plugin does not run an AI service of its own: AI features need your own API key from one of those providers, and the provider charges you directly.
What works without an API key
- GEO scanner. Scores each post and page from 0 to 100 against ten checks the plugin defines (for example structured data, FAQ sections, content structure, statistics and citations, author information) and lists what to fix. The score is the plugin’s own checklist. It is not how Google, ChatGPT, Perplexity or any other engine ranks pages, and it does not predict rankings.
- Schema markup. JSON-LD for 16+ types (Article, FAQ, HowTo, Product, LocalBusiness, Event, Organization, Person, VideoObject, BreadcrumbList and more). “Auto” mode builds it from your content by rules. “Manual” mode lets you edit the JSON-LD by hand.
- FAQ post type and FAQ block. Write questions and answers once; they feed the chatbot and can carry FAQ schema.
- FAQ chatbot. The browser-based “Local Brain” matches visitor questions to your FAQs.
What needs your own API key
- AI-written schema, instead of the rule-based Auto mode.
- AI answers in the chatbot, with provider failover, token tracking and a confidence score shown to admins.
- Semantic (vector) search of your content. This needs a provider that offers embeddings; without one, the search falls back to a simple method that gives poor results.
- Optional extras: WooCommerce product questions and image-based product matching, translation of content, a knowledge base built from uploaded files, and “Autopilot”, a small set of admin-only chat commands (create a post, list content, check for updates, find broken images, clear cache, site statistics).
WooCommerce order status in the chat. The chatbot shows an order’s status only to the logged-in customer who placed the order (or a shop manager), or to a visitor who gives the order number together with the billing email address of that order.
Before you install
- If Yoast SEO, Rank Math, All in One SEO or SEOPress already outputs schema on your site, turn off Sentient AI’s automatic schema output, or you may get duplicate JSON-LD. The plugin does not detect those plugins.
- The chatbot stores conversation logs and, if you turn on the pre-chat form, names, email addresses and IP addresses. Set a log retention period and update your privacy policy.
- AI features send your content or your visitors’ questions to the provider you choose, using your own API keys. Read the External services section.
External Services
Sentient AI contacts the services below only if you configure them. It has no service of its own and sends nothing to Dynamic Web Lab. You enter your own API key for each provider you use, and your own account with that provider is billed and bound by its terms. Each request includes your key.
OpenAI
Used for: chatbot answers (chat completions and the Assistants API), embeddings, AI schema generation, translation, image description for product matching, and knowledge-base or training file uploads.
Sent: visitor questions and conversation history, the text of posts, pages, FAQs and products (for embeddings, schema and translation), product image links, and files you upload in Train Assistant. Sent when a visitor asks a question that is not answered from your FAQs, when content is saved or re-indexed, and when you run a schema, translation or training action.
Endpoints: https://api.openai.com/v1/chat/completions, /v1/embeddings, /v1/threads, /v1/assistants, /v1/files
Terms: https://openai.com/terms – Privacy: https://openai.com/privacy
Anthropic Claude
Used for: chatbot answers, AI schema generation and translation. Not used for embeddings or file uploads.
Sent: visitor questions and conversation history; post content for schema and translation.
Endpoint: https://api.anthropic.com/v1/messages
Terms: https://www.anthropic.com/legal/commercial-terms – Privacy: https://www.anthropic.com/legal/privacy
Google Gemini
Used for: chatbot answers, embeddings, AI schema generation and translation.
Sent: visitor questions and conversation history; the text of posts, pages, FAQs and products for embeddings; post content for schema and translation.
Endpoints: https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent and :embedContent
Terms: https://policies.google.com/terms – Privacy: https://policies.google.com/privacy
OpenRouter
Used for: chatbot answers, embeddings, assistants, knowledge-base file uploads, AI schema generation and translation.
Sent: visitor questions, conversation history and FAQ context; the text of content for embeddings; files you upload in Train Assistant.
Endpoints: https://openrouter.ai/api/v1/chat/completions, /embeddings, /files, /assistants
Terms: https://openrouter.ai/terms – Privacy: https://openrouter.ai/privacy
Hugging Face
Used for: chatbot answers and embeddings.
Sent: visitor questions and conversation history; the text of content for embeddings.
Endpoints: https://router.huggingface.co/v1/chat/completions and https://router.huggingface.co/pipeline/feature-extraction/{model}
Terms: https://huggingface.co/terms-of-service – Privacy: https://huggingface.co/privacy
Pinecone (optional vector store)
Used for: storing and querying content embeddings when you choose Pinecone as the vector engine. Host: your own index host, https://{index}.svc.{region}.pinecone.io
Sent: the embedding vectors and text snippets of your content, and the embedding of each search query.
Terms: https://www.pinecone.io/terms/ – Privacy: https://www.pinecone.io/privacy/
Supabase (optional vector store)
Used for: storing and querying content embeddings when you choose Supabase as the vector engine. Host: the project URL you enter.
Sent: the same data as for Pinecone.
Terms: https://supabase.com/terms – Privacy: https://supabase.com/privacy
A web address you enter (optional web scraper)
When you ask the knowledge-base scraper to read a page, your server fetches that address. Nothing is sent to it except a normal request.
The “Privacy Mode” setting only stops the chat widget in the browser from sending questions; it does not block requests made directly to the site’s AJAX endpoint, and it does not stop embeddings of your content from being sent to your provider when content is saved. Without any API key, no request leaves your server for AI features.
Screenshots

Setup — build answers from your own pages, try a question in the preview and turn the widget on, with no API key

The chat widget answering a visitor from the site's own content, with the source shown

Settings page — Provider configuration, API keys, widget settings, and feature toggles

Query Logs — Searchable conversation history with response types and FAQ linking

Conversations — Session-based conversation viewer with message threading

Low Confidence Queries — AI answers below threshold with create-FAQ actions

Sentiment Analytics — Emotion distribution (happy, frustrated, confused) with time range filters

Learning Dashboard — Topic clustering, trending topics, auto-FAQ suggestions, and low quality tracking

WordPress Autopilot — Available commands, activity log, and site management stats

Sentient Insights — Priority-ranked recommendations with action suggestions

Train Assistant — Content type selection, field configuration, and training data preview

Import FAQs — CSV upload with format instructions and tips

Usage Statistics — queries per day with tokens, estimated cost and response time

Contacts — visitor details collected by the optional pre-chat form

Vector Database — choose the engine for semantic search: local MySQL, Pinecone or Supabase

GEO Scanner — published content scored for AI-search readiness, with pages that need work

Settings: Help — a reference for every setting

Schema Generator — JSON-LD structured data per post, with auto-generation settings

Dashboard — queries, sessions, token use and estimated cost by AI provider

Settings: AI Providers — API keys and models for OpenAI, Claude, Gemini, OpenRouter and Hugging Face

Settings: Widget — colour themes, custom colours and quick replies, with a live preview

Settings: Features — continuous learning, FAQ suggestions, Autopilot and Local Brain

Settings: Privacy — privacy notice text, logging and scheduled log cleanup
FAQ
Do I need an OpenAI account, or an API key?
No. Out of the box the chatbot answers from your own pages, posts, products and FAQs. An AI provider is optional and only adds answers written in the provider’s own words.
Will I be charged?
Not by this plugin, and not for the key-free chatbot. If you connect an AI provider yourself, that provider bills you directly for what your visitors ask.
Does it work straight away?
Yes. After activation, click Build my chatbot from my site, try a question in the preview, and turn the widget on. It takes about a minute.
Will it slow down my website?
The chat script loads only when the widget is on. Matching a question against your answers is a small database read. Nothing waits on an outside service when no AI key is saved.
Will my website content be sent to an external service?
Not while no AI provider key is saved. The key-free chatbot reads and answers from your own site and sends nothing out. If you add a key, your visitors’ questions, and with some features your content, are sent to that provider. See External services below.
What happens when the chatbot cannot find an answer?
Without an AI key it says it has no answer yet and offers to pass the visitor to you. It does not guess. Add more FAQs under Sentient AI → FAQs to cover more questions.
Does anything else work without an API key?
Yes: the GEO scanner, rule-based (Auto) and manual schema, and the FAQ post type and block. AI-written answers and schema, translation, knowledge-base training and real semantic search need your own API key from a supported provider.
Which AI providers are supported?
OpenAI, Anthropic Claude, Google Gemini, OpenRouter and Hugging Face for text. Vector search can also use Pinecone or Supabase. You can switch provider at any time. Not every feature is available with every provider (for example Claude does not support training file uploads in this plugin).
Does it replace Yoast SEO, Rank Math or All in One SEO?
No. It does not manage titles, sitemaps, redirects or meta descriptions. It adds a GEO scan and schema markup. If your SEO plugin already outputs schema, switch off Sentient AI’s automatic schema output to avoid duplicates.
Does it improve my Google ranking or get me cited by ChatGPT?
We cannot promise either. The GEO score is a checklist the plugin defines. It shows what is missing from a page; it does not measure how any search engine treats your site.
How does the semantic vector search work?
The vector database converts your content into embeddings and stores them for similarity search. The default engine stores vectors in your own WordPress database tables; Pinecone and Supabase are optional. To create embeddings the plugin sends the text of your posts, pages, FAQs and products to the embedding provider you configured (OpenAI, OpenRouter, Google Gemini or Hugging Face), and to Pinecone or Supabase if you use them. See External services.
How does the GEO Scanner help my content?
It analyzes each post across ten checks (structured data, FAQ sections, citations, statistics, author information, content structure and more) and gives a score from 0 to 100 with suggestions and one-click fixes for schema markup and FAQ sections. The scanner runs on your server and does not call an AI provider.
Does this work with WooCommerce?
The chatbot supports product lookup, recommendations, cart information and order status checking. Order status is shown only to the logged-in customer who placed the order, or to a visitor who gives the order number and the billing email of that order.
Is my data sent to external services?
Only if you configure a provider, and then only for the features you use. This includes chatbot questions and conversation history, the text of your posts, pages, FAQs and products for embeddings, post content for AI schema and translation, product image links for image-based matching, and files you upload to the knowledge base. All requests use the API keys you enter. See External services for the full list.
Does the chatbot store personal data?
Yes. It keeps conversation logs, and contact details (name, email, IP address) if the pre-chat form is on. Logs stay until you set a retention period.
Can I customize the chatbot appearance?
Yes. Six preset themes (Indigo, Ocean, Emerald, Rose, Amber, Slate) plus custom color pickers, border radius adjustment, and a live preview in settings. You can also configure quick replies, canned responses, and a pre-chat form.
What is WordPress Autopilot?
An administrator-only agent that runs a fixed set of WordPress tasks from the chat interface, matched by keyword. Supported commands include creating posts and pages, listing content, checking for plugin/theme/core updates, finding broken images, clearing cache, and retrieving site statistics. All actions are logged for review.
ChangeLog
2.50.0
- New: key-free first run. After activation a setup screen builds answers from your pages, posts and products, lets you try a question in a preview, and turns the chat widget on. No API key is needed.
- New: with no AI key saved the chatbot answers from your own content on the server and says so honestly when it has no answer. It makes no call to an AI provider.
- Change: the notice at the top of the chat says answers come from the site’s own content when no AI key is saved.
- Change: setup checklist and dashboard widget no longer ask for an API key first.
2.49.1
- Security: order status in the chat is now shown only to the customer who placed the order (logged-in owner, or the order number together with the billing email).
2.49.0
- New: Auto-Translation of New Content (Multilingual Part 6) — Uploaded KB files and published FAQs are automatically translated into all available languages in the background via WP-Cron, completing the multilingual roadmap (Parts 1–6)
- New: Content translations table — New
sentient_ai_content_translations database table stores pre-translated KB chunks and FAQ answers per language, created automatically on upgrade
- New: Background translation queue — Translation jobs are queued and processed in batches of 10 per WP-Cron run with retry logic (up to 3 attempts), preventing blocking on AI provider calls
- New: Pre-translated query responses — FAQ answers and KB context chunks are served instantly from pre-translated content when available, falling back to on-the-fly AI translation when not
- New: Translate Existing Content button — Admin button on the Training page queues translation of all existing KB files and published FAQs
- New: Auto-Translate setting — New “Auto-Translate New Content” toggle in the Multilingual card on the Features tab
- Fix: Settings preserve on Features tab — Language settings are no longer emitted as hidden inputs on the Features tab where their checkboxes already render, preventing toggle state conflicts
- Fix: KB file deletion cleanup — Deleting a KB file now removes its stored chunk translations
2.48.0
- New: Per-Language History & Analytics (Multilingual Part 5) — Chatbot conversations and query logs now store the visitor’s language, enabling language-based analytics and filtering
- New: Language Distribution chart — New donut chart on the Analytics → Query Logs page showing query counts per language over 7/30/90 days, with native language names and percentage breakdown
- New: Language filter for conversations — New language dropdown in Analytics → Conversations to filter conversation sessions by visitor language
- New: Language badge on conversations — Each conversation row now shows a colored badge with the language name
- Fix: Schema migration — Automatic
language column addition to existing conversations and logs tables (idempotent, cached); Logger migration cache key bumped to force column creation on upgrade
- Fix: Backward compatibility —
save_message() and log_query() accept optional language parameter; all existing callers work unchanged
2.47.0
- New: Translated UI Strings (Multilingual Part 4) — Chatbot interface strings (welcome message, input placeholder, quick replies, privacy notice, header title, Export/Clear buttons) are now translated into the visitor’s language, so the whole widget matches the visitor’s language — not just the AI responses
- New: Per-language admin editor — New “Translated UI Strings” card on the Features tab with a language selector, editable fields, Save, Auto-Translate All, and Clear buttons; saved translations override AI translations and work even without API credits
- New: Live language switching — When a visitor switches language from the dropdown, UI strings update instantly via a frontend AJAX endpoint with client-side caching; switching back to English restores originals with no AJAX call
- New: Language switch notice — A subtle system notice appears in the chat when the visitor switches language
- Fix: Frontend translation loading — New AJAX endpoint (
sentientai_get_chat_translations) fetches translations on demand when a visitor switches language; admin-saved translations apply immediately, untranslated strings fall back to English
- Fix: Translation performance —
get_all_ui_translations() no longer makes AI API calls; it reads admin-saved translations directly with English fallback, making it instant (0ms) instead of hanging on unavailable AI providers
- Fix: Auto-Translate All — Now calls a server-side AI translation action that saves results and reports a clean error (“Translation provider unavailable”) when the provider is down, instead of silently saving English defaults
- Fix: Translation failure fallback —
get_translated_text() rejects AI provider error messages when no provider succeeds; falls back to original English text, so UI never shows error text in buttons/placeholders
- Fix: Settings API wipe — Removed
register_setting for the translations option so saving the main settings form no longer erases per-language translations saved via AJAX
- Fix: Save race condition — All translation fields saved in a single AJAX request instead of five parallel ones, with real success/failure feedback in the admin UI
2.46.0
- Fix: EscapeOutput security — Escaped all unescaped output in Admin_UI, Vector_DB, Usage_Stats, Schema_Generator, GEO_Scanner, Setup_Wizard (WordPress.Security.EscapeOutput.OutputNotEscaped)
- Fix: DirectDB security — Used
$wpdb->prepare() with call_user_func_array for dynamic queries, added phpcs:ignore for legitimate direct dashboard queries (WordPress.DB.DirectDatabaseQuery)
- Fix: Safe redirect — Replaced
wp_redirect() with wp_safe_redirect() for admin redirects (WordPress.Security.SafeRedirect)
- Fix: Unescaped DB parameter — Added curly brace interpolation for table names in KB_Handler (PluginCheck.Security.DirectDB.UnescapedDBParameter)
2.45.0
- New: System Info page — New admin page showing PHP version, WordPress version, memory limits, server details, and plugin status for debugging. Copy to Clipboard button for easy sharing in support tickets
- Fix: EscapeOutput escaping — All badge outputs now use wp_kses_post() for PHPCS compliance (WordPress.Security.EscapeOutput.OutputNotEscaped)
- Fix: Copy to Clipboard — Replaced navigator.clipboard API with execCommand fallback for HTTP compatibility and broader browser support
2.44.0
- New: RTL support (Multilingual Part 2) — Full right-to-left layout for Arabic, Hebrew, Persian, and Urdu: mirrored chat bubbles, right-aligned input, flipped list indentation; a language badge now appears on bot messages
- New: FAQ/KB response localization (Multilingual Part 3) — Matched FAQ and semantic-vector answers are auto-translated into the visitor’s language; translation results cached for 30 minutes
- Fix: Language instruction on Hugging Face — Language instruction now also embedded in the user query (not only the system prompt) so open-source models like DeepSeek respond in the selected language
- Fix: FAQ/KB priority — When knowledge base context is found, the redundant FAQ translation API call is skipped, reducing credit usage and returning richer answers
- Fix: Available Languages reset — Language settings are now preserved when saving from any settings tab, so the configured languages no longer reset to just “en”
- Revert: max_tokens — Restored hardcoded token limits (OpenRouter 300, OpenAI 500) to avoid OpenRouter credit limit errors
2.43.0
- New: Multilingual Chatbot — Automatically detect each visitor’s browser language and instruct the AI to respond in the same language
- New: Language Handler — New
Language_Handler class with support for 30+ ISO 639-1 languages (English, Arabic, Spanish, French, German, Hindi, Chinese, etc.), browser Accept-Language detection, and Unicode-script text detection
- New: Language switcher — A language dropdown appears in the chat header when multilingual mode is enabled, letting visitors switch languages manually
- New: Admin settings — New “Multilingual Chatbot” card on the Features tab with enable toggle, default language dropdown, and configurable available languages list
- New: Language-aware system prompt — The AI system prompt is augmented with a language instruction (e.g. “Respond in العربية (ar)”) when multilingual mode is on and a non-English language is detected
- Note: Privacy Mode — Chatbot answers only from local FAQs when Privacy Mode is enabled; multilingual AI responses require Privacy Mode to be off
2.42.0
- New: Website Scraping — Scrape public webpages by URL and add them to the knowledge base; extracts readable text from HTML pages (strips scripts, styles, SVGs), reuses the same KB chunking and embedding pipeline
- New: KB search answers via AI (RAG) — When the chatbot finds relevant knowledge base content, it now passes the full chunk text to the AI as context for a detailed, structured answer, instead of returning a raw 200-character preview
- New: Markdown rendering in chatbot — Bot responses now properly render markdown formatting:
**bold**, ## headings, - bullet lists, `code`, fenced code blocks, and horizontal rules
- Fix: Web Scraper regex — Fixed invalid PCRE2 Unicode range syntax (
\u0600 → \x{0600}) that caused the scraper to silently fail on all URLs
- Fix: Web Scraper HTML extraction — No longer strips
<header> tags which commonly contain main page content (site titles, descriptions, hero sections)
- Fix: Chatbot HTML entity display — Fixed double-escaping bug where
& appeared as literal text in bot responses
2.41.0
- New: Multi-provider embeddings — KB and post vector search now supports OpenAI, OpenRouter, Google Gemini, and Hugging Face embedding providers, with an “Embedding Provider” selector in Tools → Vector DB
- New: Auto-detect embedding provider —
auto mode automatically uses the first provider with a configured API key (OpenAI → OpenRouter → Gemini → Hugging Face → local fallback), so semantic search works without an OpenAI key
- New: Per-provider embedding models — Configurable embedding model per provider (OpenRouter, Gemini, Hugging Face) with sensible defaults
- Fix: Embedding dimension mismatch —
cosine_similarity() now returns 0 for vectors with mismatched dimensions instead of silently truncating, preventing garbage scores when providers are switched
- Fix: Knowledge Base source icon — Source attribution SVG icons now render correctly in the chatbot (was displayed as raw HTML); added a dedicated “Knowledge Base” source type with a book icon and label
2.40.0
- New: Knowledge Base Vector Search — Uploaded documents can now be indexed for semantic search: each chunk gets an AI embedding (1536-dim) stored in the
sentient_ai_kb_chunks table; chatbot queries now match against document chunks and return them with source attribution
- New: “Index for Search” button — Files in
processed state show an index button on the Training page; one click generates embeddings for all chunks and moves the file to indexed status
- Fix: Embedding provider logic —
generate_embedding() now uses OpenAI embeddings whenever an OpenAI API key is configured, independent of the chat provider, fixing a dimension-mismatch bug (128-dim fallback vs 1536-dim real) that silently disabled vector search for non-OpenAI chat providers
- Fix: KB search on frontend —
KB_Handler is now loaded on both frontend and admin so the chatbot can search knowledge base chunks from visitor-facing pages
- Update: WordPress 7.1 tested —
Tested up to bumped from 6.9 to 7.1
- Docs: KB embeddings plan — Added
KB_EMBEDDINGS_PLAN.md documenting the chosen future approach (Option B: dedicated Embedding Provider setting) for OpenRouter/Gemini/Hugging Face embedding support
2.39.0
- Fix: Frontend fatal error — Wrapped
KB_Handler::init() in class_exists() guard to prevent “Class not found” fatal error on frontend pages where the KB file was not loaded
2.38.0
- New: Document Chunking — Uploaded documents are automatically split into ~1000-char chunks with 150-char overlap for vector-based retrieval, stored in new
sentient_ai_kb_chunks table
- New: KB File Processing & Storage — Files are persisted to disk (
wp-content/uploads/sentientai-kb/) with metadata in sentient_ai_kb_files table; status flow: pending → processed → indexed
- Fix: Full text preservation — Complete document text is now saved instead of only the first 4000 characters; uses server-side transient token bridge to pass full text from parse to save step
- Fix: Chunking logic for single-paragraph documents — Large documents without paragraph breaks are now properly split into multiple chunks instead of being stored as one giant chunk
- Fix: Duplicate chunk count badge — File list now correctly shows chunk count after AJAX save, not just on page reload
2.37.0
- New: Knowledge Base File Upload — Upload TXT, MD, DOCX, and PDF documents on the Training page with drag & drop or click-to-browse, plus instant extracted-text preview with word count
- New: File Parser Engine — New
File_Parser class extracts plain text from PDFs (pdftotext binary or internal FlateDecode stream extraction), DOCX (ZIP/XML parsing), and plain-text files (TXT/MD/CSV) with automatic encoding conversion
- Security: Strict file type verification — Magic-byte checks and control-character content sniffing reject renamed binaries (e.g. images disguised as .pdf); extension whitelist and 5 MB size limit enforced on both client and server side
2.36.0
- New: Topic Frequency Bar Chart — Horizontal bar chart on Learning page showing most frequent topics with 7/30/90 day period selector, replacing the plain Top Topics table
- New: Most Matched FAQs Chart — Horizontal bar chart on Query Logs page showing which FAQs are matched most frequently with 7/30/90 day period selector
- Fix: Learning tables auto-creation — Added
ensure_tables_exist() to Memory_Handler so learning, topics, and answer quality tables are created automatically on upgrade
2.35.0
- New: Sentiment Over Time Chart — Multi-line SVG chart on Sentiment page showing daily trends for happy, neutral, frustrated, confused, and urgent emotions with 7/30/90 day period selector
- New: Sentiment Timeline AJAX Handler — New endpoint returns daily emotion counts grouped by date and sentiment
- Fix: Sentiment chart tooltips — Tooltips now appear on hover by fixing innerHTML re-render that was destroying event listeners
- Fix: Chart period button sync — Emotion Distribution and Sentiment Over Time chart buttons now reflect the global Time Range selection on page load
2.34.0
- New: Emotion Distribution Chart — SVG donut pie chart on Sentiment page showing breakdown of happy, neutral, frustrated, confused, and urgent emotions with 7/30/90 day period selector
- Fix: WordPress 7.1 iframed editor compatibility — Schema meta box SERP preview now uses wp.data store for block editor, with classic editor fallback
- Fix: FAQ block script dependency — Removed unnecessary wp-editor dependency from FAQ Gutenberg block
- Update: Prepared for WordPress 7.1 — Verified code compatibility with enforced iframed editor, jQuery UI 1.14.2, block CSS loading changes, and accessibility improvements. Full audit: no deprecated functions, no wp_editor() usage, no jQuery UI widget conflicts, proper block.json registration.
2.33.0
- New: Top 10 Queries Bar Chart — Horizontal bar chart on Query Logs page showing most frequent queries with 7/30/90 day period selector
- Update: Query Logs Layout — FAQ vs AI pie chart and Top Queries bar chart now display side by side in a 2-column grid
- Fix: FAQ vs AI Chart initialization — Pie chart now loads automatically on page reload
2.32.0
- New: FAQ vs AI Response Ratio Chart — SVG donut pie chart on Query Logs page showing FAQ vs AI response percentage with 7/30/90 day period selector
- New: FAQ vs AI Chart AJAX Handler — New endpoint returns FAQ and AI response counts with percentages
- Update: Pie Chart Design — Enhanced visual design with gradient progress bars, drop shadows, and improved legend layout
2.31.0
- New: Queries Over Time Chart — SVG line chart on Query Logs page showing daily query count with 7/30/90 day period selector
- New: Query Chart AJAX Handler — New endpoint returns daily query counts with total and average statistics
- Fix: Tooltip positioning — Chart tooltips now follow mouse cursor and display above pointer for better readability
- Fix: SVG viewBox height — Increased chart height to prevent Y-axis labels from being cut off
2.30.0
- New: Schema Settings UI — Added 4 admin controls for schema settings that were previously registered but had no UI: Auto-Output Schema, Validate on Save, Default Schema Type, AI Schema Provider
- New: Default Schema Type select — Choose which schema type to use by default when auto-generating (Article, FAQPage, HowTo, etc.)
- New: AI Schema Provider select — Choose which AI provider to use for AI-mode schema generation (OpenAI, Claude, Gemini)
- New: Post Type Mapping “Default” option — Post Type Mapping now includes a “Default (Global Setting)” option that falls through to the global Default Schema Type
- Fix: FAQPage fallback — When FAQPage schema is generated but no FAQ content is found in the post, it now falls back to Article instead of generating an empty invalid schema
- Fix: Schema meta box default type — Post editor schema dropdown now shows the configured Default Schema Type instead of hardcoded “Article”
- Fix: Bulk generate schema type — Bulk generation now uses configured defaults instead of hardcoded types
2.29.2
- Fix: Auto-clear provider errors on success — Provider errors are now automatically cleared from the Debug log, General tab alert, and AI Providers tab alert when a provider successfully responds. Prevents stale error notifications from persisting after the issue has been resolved.
2.29.1
- Fix: Provider card badge — Provider card header badge now uses the current selected provider instead of stale
last_working_provider transient. Claude and other providers now correctly show “Active” badge when selected.
2.29.0
- New: Provider Debug Log — Dedicated Debug tab in Settings shows all AI provider errors with timestamps, provider names, and error details. Stores last 50 errors in wp_options with auto-pruning. Clear All button to reset the log.
- New: Provider Error Alerts — Red error alert appears below the selected AI provider on General and AI Providers tabs when errors are detected. Shows the latest error message with a direct link to the Debug tab.
- New: Provider Status Redesign — Provider Status badges now show 4 clear states: Active (green), Error (red with inline error text), Configured (gray), Inactive/No key (muted gray). Removed dependency on stale
last_working_provider transient.
- Fix: OpenAI & Claude error handling — Both providers now return structured error arrays (
['error' => true, 'message' => '...', 'status' => int]) matching Gemini/OpenRouter pattern, ensuring Failover_Handler catches and logs errors correctly.
- Fix: Debug details in analytics only — Provider error details (e.g., HTTP 429, invalid API key) are appended only to the analytics log database, not sent to the frontend chatbot. Chatbot shows a clean user-facing message.
- Fix: Double-encoded HTML entities — Fixed
esc_html__() in Failover_Handler causing I'm to display as I&#039;m in chatbot responses. Changed to __() with escaping at render time.
- Fix: Analytics Show More button — Fixed mismatched CSS class selectors (
.sentientai-show-more → .sai-show-more) and added analytics page to JS enqueue condition so the expand/collapse functionality works.
- Fix: Provider errors persisted across saves — Removed
sentient_ai_provider_errors from Settings API registration to prevent WordPress from resetting the error log to empty on every form save from other tabs.
2.28.0
- New: Conversation Export (CSV) — Export all conversations or a single conversation as CSV from the Analytics > Conversations page
- New: Conversation Export (PDF) — Export a single conversation as printable HTML (Ctrl+P to save as PDF) with styled chat bubbles and timestamps
2.27.1
- New: Schema JSON-LD Copy Action — Added Copy JSON-LD buttons to the post editor schema meta box and dedicated Schema editor for faster schema testing workflows
- New: Google Rich Results Test Link — Added one-click Rich Results Test links for posts with schema markup
- Fix: Schema Editor Action Layout — Schema editor action buttons now wrap cleanly inside the editor card on narrower admin screens
2.27.0
- New: Custom AI System Prompt — Admin-configurable system prompt textarea in Features tab to override the default AI behavior, tone, and response rules. Empathy Engine modifiers still apply on top
- Fix: Privacy Mode chatbot error — Removed invalid
typingIndicator reference in privacy mode block that caused ReferenceError and prevented chatbot from responding
- Fix: Corrupted fuse.min.js — Replaced truncated Fuse.js v7.0.0 (3.9KB) with complete minified build (23.8KB) to fix Local Brain fuzzy search
2.26.0
- New: Smart Auto-Reply Suggestions — AI generates 2-3 context-aware follow-up question chips after every bot response. Suggestions use sentiment, topic, query keywords, and reply content for relevance
- New: Context-Aware Suggestion Engine —
generate_suggested_questions() method in API_Handler uses sentiment-based, topic-based, WooCommerce-aware, and keyword-based patterns to produce relevant follow-ups
- Update: Chatbot Frontend —
appendMessage() now renders clickable suggestion chips below bot messages. Clicking a chip populates the input and sends immediately
- Update: API Response Format — All 11 response paths now include
suggested_questions key in JSON payload
- Update: Follow-Up Chip Styling — Chips use filled primary color hover with white text and subtle shadow for clear interactivity. Long text wraps at word boundaries within 220px max-width
2.25.0
- New: Token & Cost Tracking Dashboard — SVG usage chart with 7/30/90 day period selector for daily token consumption and estimated cost
- New: Budget Alerts — Configurable spending limits with visual progress bar on dashboard. Set daily/weekly/monthly thresholds
- New: Model Breakdown Table — Per-provider, per-model token/cost/requests breakdown on dashboard
- New: Cost-per-Query Stat — Average cost per AI request shown on dashboard
- New: CSV Export — One-click export of usage data with provider, model, tokens, cost, latency columns
- New: Enhanced Usage Stats — Daily activity table now shows tokens, cost, and average latency columns
- Update: Logger::get_usage_by_model() — New method for model-level usage analytics
2.20.1
- Fix: Token tracking pipeline — Provider clients (OpenAI, Claude, Gemini, OpenRouter, HuggingFace) now return usage data from API responses; Failover_Handler accepts success arrays; API_Handler uses correct token keys
- Fix: GEO Scanner schema detection — Auto-generated schemas from post publish now use consistent
_schema_type/_schema_data meta keys, making them visible to GEO scoring
- Fix: GEO Scanner FAQ quick fix — Generates JSON-LD schema instead of microdata; stores
_schema_data for proper scoring; uses hidden <details> element instead of visible placeholder text
- Fix: GEO Scanner HowTo detection — HowTo quick fix now only offered when content contains step-by-step patterns (numbered headings, “Step 1”, sequential language)
- Fix: GEO Scanner i18n — Word count now uses Unicode-aware regex for CJK, Arabic, Hindi, and other non-Latin scripts
- Fix: GEO Scanner security — Scan action now requires nonce verification to prevent unauthorized database writes
- Fix: Database migration — Logs table columns added automatically on upgrade (previously required table recreation)
2.22.0
- New: SEO/GEO/AEO Positioning — Plugin rebranded as “WordPress SEO Domination: AI-Powered GEO, AEO, Schema & Semantic Search”. Chatbot is now positioned as a bonus feature, not the main focus
- New: SEO-Optimized Product Responses — HTML-formatted product responses with semantic markup (schema.org attributes) for search engine indexing
- New: JSON-LD Schema for Product Search — Automatic ItemList + Product schema generation for multi-product search results and comparisons
- New: AEO-Optimized Formatting — Featured snippet-ready response format with direct answers, ordered lists, and comparison tables
- New: GEO Scanner Product Analysis — Extended GEO scanner to analyze WooCommerce products with 10 product-specific factors (description, images, attributes, categories, tags, reviews, price, SKU, FAQ)
- New: Schema Injection — Chatbot responses automatically inject JSON-LD schema into page head for search engine indexing
- New: Product Response HTML Rendering — Chatbot frontend renders semantic HTML for product responses instead of plain text
- Update: WooCommerce_Integration — Added format_product_response_html(), format_multi_product_response_html(), format_comparison_response_html(), generate_product_list_schema(), generate_comparison_schema() methods
- Update: API_Handler — Product responses now include reply_html and schema_json fields for SEO optimization
- Update: chatbot.js — Added injectSchemaJsonLd() function and updated appendMessage() to render HTML for product responses
- Update: chatbot.css — Added styles for product cards, comparison tables, and AEO-optimized layouts
2.23.0
- New: FAQ Gutenberg Block — Native Gutenberg block for creating FAQ sections with questions and answers. Supports accordion, tabs, and simple list layouts with search functionality
- New: FAQ Schema Auto-Generation — FAQ block automatically outputs FAQPage JSON-LD schema in wp_head for rich results
- New: Graph Relation Output — Connected @graph schema linking Organization, WebSite, and content schemas with @id references
- New: Organization Schema Settings — Admin settings for Organization name, logo, URL, type, and social profiles
- New: WebSite Schema with SearchAction — Automatic WebSite schema with sitelinks search box for Google
- New: Enhanced Rich Results Validator — Added recommended properties array with required/recommended badges and completeness scoring
- New: Three-tier Site-wide Audit — Schema dashboard now shows Valid/Warning/None classification with completeness percentages
- New: FAQ Block Editor Styles — Editor-specific styles for the FAQ block with visual feedback
- New: FAQ Block Frontend Styles — Responsive frontend styles with accordion, tabs, and list layouts
- Update: Schema_Generator — Added build_schema_graph(), get_organization_schema(), get_website_schema(), output_site_graph() methods
- Update: FAQ_Manager — Added register_faq_block(), enqueue_block_assets(), render_faq_block(), render_faq_item_block(), output_faq_schema() methods
- Update: validate_schema() — Now returns property-level detail with status, message, and level (required/recommended)
- Update: get_schema_status() — Now includes valid, warning, and none counts for three-tier classification
2.24.1
- Fix: GEO Scanner form submission — Fixed malformed input, missing nonce, and score display issues
- Fix: Autopilot intent classification — classify_intent now correctly matches direct action names (list_posts, check_updates, etc.)
- Fix: check_updates command — Fixed missing includes and function name compatibility for WP 7.0.2
- Fix: list_posts command — Now shows up to 100 posts with total count
- Fix: Schema deletion — Replaced AJAX with proper form POST + nonce + admin_post handler
- Fix: Schema SQL queries — INNER JOIN now excludes posts without schema; empty types filtered out
- Fix: API key preservation — API keys no longer vanish when saving from non-provider tabs
- Fix: Provider status badges — Dynamic green/gray/red badges now reflect actual working provider state
- Fix: Provider card active state — Active badge now matches the last working provider (via failover)
- Fix: Failover settings layout — Content no longer renders outside the card-body container
- Fix: Failover provider display — General tab now shows a dynamic “Failover active” notice when a different provider is handling requests, matching the AI Providers tab status
- Fix: Autopilot execution safety — Added try/catch safety net to prevent fatal errors
- Fix: Provider tab field styling — Fixed Delay and Welcome Message field styling on the providers page
2.24.0
- New: SERP Preview in Post Editor — Google search result card preview directly in the post editor meta box. Shows title, URL, description, and rich result previews for FAQ, Product, HowTo, and Article schemas
- New: Live SERP Preview — SERP preview updates in real-time as you edit post title and excerpt
- New: Rich Result Previews — Visual previews for FAQ dropdowns, Product cards, HowTo steps, and Article cards
- New: Validation Details Panel — Post editor meta box now shows completeness percentage, errors, and warnings inline
- New: FAQ Block JavaScript — Rewrote FAQ block JavaScript to use plain WordPress API instead of JSX for better compatibility
- Update: Schema_Generator — Enhanced render_schema_meta_box() with SERP preview and validation details
- Update: FAQ_Manager — Fixed block registration to use block.json files and proper script enqueuing
2.21.0
- New: Enhanced Product Search — Multi-result product search with natural language filter parsing. Find products by color, size, brand, price range, category, and sort order
- New: Product Comparison — Compare products side by side with “compare X and Y” or “X vs Y” queries. Shows price, rating, stock, and attribute differences with best value indicators
- New: Attribute Filtering — Filter products by any WooCommerce attribute (color, size, brand, material, etc.) using natural language like “red shoes under $50” or “Nike size 10”
- New: Store Filters API — New methods to retrieve available categories, attributes, and price ranges for the store
- New: Product Suggestions — Get product suggestions based on partial input for autocomplete functionality
- New: Comparison Detection — AI detects comparison intent in queries (compare, vs, versus, difference between, which is better)
- New: Filtered Search Detection — AI detects filtered search intent (under/over price, color/size/brand mentions, sort keywords)
- Update: WooCommerce_Integration — Added search_products(), compare_products(), suggest_products(), get_store_filters(), detect_comparison_query(), is_filtered_search(), parse_search_filters() methods
- Update: API_Handler — Product query handling now checks for comparison and filtered search before single product lookup
2.20.0
- New: AI Provider Failover — Automatic fallback chain when primary AI provider fails. Configure failover order, skip providers without API keys, and log failover events
- New: Token & Cost Tracking — Database logging of token usage, provider, model, latency, and estimated cost per AI request. Dashboard displays monthly totals and per-provider breakdowns
- New: Scheduled Log Cleanup — WP-Cron job to automatically purge old log entries. Configurable retention period (7-365 days), optional file log clearing, manual cleanup button
- New: Settings Import/Export — Export all plugin settings as JSON and import from file. Supports full configuration transfer between sites
- New: Dashboard Token Stats — Three new dashboard cards showing monthly tokens used, estimated cost, and average latency
- New: Provider Usage Breakdown — Dashboard card showing per-provider token usage, cost, and request count
- New: Provider Status Indicators — Failover settings section shows API key status for all providers with color-coded badges
- New: Auto-Generate Schema — Automatically generate schema when posts are published for the first time. Configurable per post type
- New: Schema Post Type Mapping — Set default schema type for each WordPress post type (Post→Article, Page→WebPage, Product→Product)
- New: Enhanced WooCommerce Schema — Product schema now includes aggregateRating, brand, SKU, and offer data when available
- Update: API_Handler — Refactored to use Failover_Handler for provider routing with automatic retry
- Update: Logger — Extended database schema with tokens_used, provider, model, latency_ms, and estimated_cost columns
2.19.0
- New: Schema Markup Generator — AI-powered JSON-LD schema generation for posts and pages. Supports 16 schema types (Article, FAQPage, HowTo, Product, LocalBusiness, Event, Organization, Person, VideoObject, BreadcrumbList, and more)
- New: Three generation modes — AI mode (uses OpenAI/Claude/Gemini), Auto mode (rule-based, no API key needed), and Manual mode (edit JSON-LD directly)
- New: Schema validation — Real-time validation of JSON-LD markup against schema.org requirements with required property checks
- New: Post Editor meta box — Schema status, type selector, and one-click AI/Auto generate buttons directly in the post editor sidebar
- New: SERP Preview — Google search result preview in the schema editor showing title, URL, description, and rich result previews …