| 开发者 | webdigit |
|---|---|
| 更新时间 | 2026年7月26日 18:13 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/smartsearchwp directory, or install the plugin through the WordPress Plugins screen.No. Processing is handled through the OpenAI API. The plugin remains lightweight and modular.
Yes. You can customize prompts, restrict usage, define content sources, and manage behavior precisely.
You use your own OpenAI API key and can restrict usage by role, page, or quota limits to control costs.
Yes. With the WooCommerce integration addon, product data can be included in contextual AI responses.
Yes. The plugin can be deactivated at any time without affecting your website content.
Some hosts (Wordfence, ModSecurity, OVH CDN Basic, etc.) block POST requests to /wp-json/wdgpt/v1/retrieve-prompt. Since version 2.7.4, SmartSearchWP retries automatically, falls back to admin-ajax.php, and shows a friendly message instead of raw error HTML. If issues persist, whitelist that REST route or exclude it from your CDN/WAF rules.
With the WooCommerce Integration addon (1.4.0+) and SmartSearchWP 2.8.0+, the chatbot can match exact product references (SKU, ref_xxx) before semantic search and uses grounded numeric prices in the AI context to reduce wrong amounts (e.g. 83,46€ vs 8346€). Regenerate product embeddings after upgrading so SKU and price are indexed.
The bot will not appear on your website until you have activated it. To activate the bot, you need to generate and activate the embeddings for the pages and posts you want to use, as well as the general settings. General settings:
Generate and activate pages:
Browse our FAQ at https://www.smartsearchwp.com/faq/ for answers about setup, addons, licensing, and technical topics. If you cannot find what you need there, contact us at hello@smartsearchwp.com.
wdgpt_error_logged after chatbot errors are persistedwdgpt_rag_debug_retrieval_result after retrieval selection (including empty contexts); Chat Logs row link to RAG Debugger addon when activeWDGPT_Logs_Repository for aggregated chat log metrics (conversations, messages, daily series, top pages, top first questions, no-answer patterns)wdgpt_conversation_logged fired after each persisted conversation turn (for Analytics addon cache invalidation)wdgpt_chatbot_front_config (extends wdChatbotData) and action wdgpt_chatbot_ui_before_input with UI slot #wdgpt-addon-ui-slot for in-chat addon UI (e.g. Lead Capture)wdgpt_retrieval_product_identifiers, wdgpt_retrieval_force_contexts, wdgpt_answer_after_stream for WooCommerce and extensionswdgpt_generate_embeddings_for_post() helper and wdgpt_before_generate_embeddings filter for addon integration/wp-json/wdgpt/v1/retrieve-promptdata: events mid-line, which previously dropped delta chunks while the live chat still looked correctwp_kses_post() (safe HTML such as <br> and links); user messages use sanitize_textarea_field() for longer questions and UTF-8 text