| 开发者 | maidulcu |
|---|---|
| 更新时间 | 2026年9月11日 18:55 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
sentient-ai folder to /wp-content/plugins/[sentient_ai_chat] on any page, or use the floating widgetYes. The browser-based FAQ matcher and Local Brain feature answer common questions using your FAQ database without any API calls. For AI-generated responses beyond existing FAQs, an API key from a supported provider is required.
OpenAI (GPT-4o, GPT-4, GPT-3.5), Claude by Anthropic, Google Gemini, OpenRouter (multi-model access), and Hugging Face. You can switch between providers at any time.
The Vector Database (v2.8.0) converts your content into mathematical embeddings and stores them for similarity search. The Local MySQL engine works on any shared hosting using standard WordPress tables. For higher scale, Pinecone and Supabase cloud engines handle millions of vectors with SOC 2/GDPR compliance.
For shared hosting with under 10,000 posts, the Local MySQL engine works without any additional setup. For larger sites, Pinecone or Supabase offer free tiers and enterprise-grade scalability.
The MCP Server implements the Model Context Protocol, a standard for connecting AI agents to external systems. It allows tools like Claude Desktop, Cursor, or custom AI agents to interact with your WordPress site — querying the chatbot, searching FAQs, managing content, and accessing analytics — all authenticated via API key.
Generative Engine Optimization (GEO) ensures your content is cited by AI-powered search engines. The scanner analyzes each post across 10 factors — structured data, FAQ sections, citations, statistics, author expertise, content structure, and more — providing a score (0-100) with actionable suggestions and one-click fixes.
Yes. The chatbot supports product lookup, order status checking, recommendations, and cart information. WooCommerce data is accessible through chat and is included in the Autopilot's site management capabilities.
Only when you explicitly configure an AI provider API key and a user query requires AI-generated response. FAQ-matched queries, Local Brain responses, and Privacy Mode interactions never leave your server. The plugin holds no data on its own — you control all API keys and provider choices.
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 AI agent that executes WordPress tasks through the chat interface. 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.
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.