| 开发者 | maidulcu |
|---|---|
| 更新时间 | 2026年11月30日 17:49 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[sentient_ai_chat] on any page.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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
sentient_ai_content_translations database table stores pre-translated KB chunks and FAQ answers per language, created automatically on upgradelanguage column addition to existing conversations and logs tables (idempotent, cached); Logger migration cache key bumped to force column creation on upgradesave_message() and log_query() accept optional language parameter; all existing callers work unchangedsentientai_get_chat_translations) fetches translations on demand when a visitor switches language; admin-saved translations apply immediately, untranslated strings fall back to Englishget_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 providersget_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/placeholdersregister_setting for the translations option so saving the main settings form no longer erases per-language translations saved via AJAX$wpdb->prepare() with call_user_func_array for dynamic queries, added phpcs:ignore for legitimate direct dashboard queries (WordPress.DB.DirectDatabaseQuery)wp_redirect() with wp_safe_redirect() for admin redirects (WordPress.Security.SafeRedirect)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**bold**, ## headings, - bullet lists, `code`, fenced code blocks, and horizontal rules\u0600 → \x{0600}) that caused the scraper to silently fail on all URLs<header> tags which commonly contain main page content (site titles, descriptions, hero sections)& appeared as literal text in bot responsesauto 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 keycosine_similarity() now returns 0 for vectors with mismatched dimensions instead of silently truncating, preventing garbage scores when providers are switchedsentient_ai_kb_chunks table; chatbot queries now match against document chunks and return them with source attributionprocessed state show an index button on the Training page; one click generates embeddings for all chunks and moves the file to indexed statusgenerate_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 providersKB_Handler is now loaded on both frontend and admin so the chatbot can search knowledge base chunks from visitor-facing pagesTested up to bumped from 6.9 to 7.1KB_EMBEDDINGS_PLAN.md documenting the chosen future approach (Option B: dedicated Embedding Provider setting) for OpenRouter/Gemini/Hugging Face embedding supportKB_Handler::init() in class_exists() guard to prevent "Class not found" fatal error on frontend pages where the KB file was not loadedsentient_ai_kb_chunks tablewp-content/uploads/sentientai-kb/) with metadata in sentient_ai_kb_files table; status flow: pending → processed → indexedFile_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 conversionensure_tables_exist() to Memory_Handler so learning, topics, and answer quality tables are created automatically on upgradelast_working_provider transient. Claude and other providers now correctly show "Active" badge when selected.last_working_provider transient.['error' => true, 'message' => '...', 'status' => int]) matching Gemini/OpenRouter pattern, ensuring Failover_Handler catches and logs errors correctly.esc_html__() in Failover_Handler causing I'm to display as I'm in chatbot responses. Changed to __() with escaping at render time..sentientai-show-more → .sai-show-more) and added analytics page to JS enqueue condition so the expand/collapse functionality works.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.typingIndicator reference in privacy mode block that caused ReferenceError and prevented chatbot from respondinggenerate_suggested_questions() method in API_Handler uses sentiment-based, topic-based, WooCommerce-aware, and keyword-based patterns to produce relevant follow-upsappendMessage() now renders clickable suggestion chips below bot messages. Clicking a chip populates the input and sends immediatelysuggested_questions key in JSON payload_schema_type/_schema_data meta keys, making them visible to GEO scoring_schema_data for proper scoring; uses hidden <details> element instead of visible placeholder text<script type="application/ld+json"> output in wp_head for posts with schema datamanage_options capability.nopriv AJAX handler for learning statistics removed.clear_cache no longer deletes transients from other plugins.