| 开发者 | arashkhalaj |
|---|---|
| 更新时间 | 2026年10月22日 12:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[mwd_ai_assistant], or use both.wp-config.php.[mwd_ai_assistant] to a Shortcode block or a page builder shortcode widget.No. You only need your own OpenAI API key. The plugin never contacts MWD during normal use.
The plugin is free. OpenAI charges your API account for each reply. The daily token safety limit (500,000 tokens by default) caps how much the assistant can use per day. Provider invoices are the authoritative record of your usage.
Check that the assistant is enabled, that a readable API key is saved, that your OpenAI account has billing and access to the selected model, and that today's safety limit has not been reached. The Diagnostics page shows the last provider status without exposing the key.
It is encrypted with AES-256-GCM using keys derived from your WordPress salts. Leaving the field blank keeps the saved key; Clear saved key removes it. If your salts change, enter the key again. You can also define MWDAI_CORE_OPENAI_API_KEY in wp-config.php to manage the key outside the dashboard.
Seven days by default, adjustable from one to seven days. Expired conversations become inaccessible immediately, and an hourly task deletes them. Deletion can be delayed while WordPress cron is disabled or the plugin is inactive, and your backups may keep older copies.
Yes. The widget loads its settings and a fresh session from the server, so cached pages stay correct. After changing appearance or display mode, clear your page cache.
Yes. The whole-site limits (3,000 new chats and 6,000 messages a minute) are far above what real visitors reach, and visitors behind one shared address (an office or a mobile network) are not refused in normal use. Each message keeps one PHP worker busy while the AI replies, so the host must have enough workers: 5 to 10 are enough for about ten people chatting at once, 20 to 30 for about a hundred active chats, and around 50 if hundreds of visitors may send at the same moment. The bundled documentation explains how to size them.
Core uses the address PHP receives and does not trust forwarding headers, so visitors can share a per-IP limit behind a proxy. If you control the proxy, return the verified visitor address with the mwdai_core_client_ip filter, or raise the per-IP limit.
Core answers questions and can show approved public links. It cannot submit forms or perform actions on its own. Extensions such as the Pro add-on can register confirmed actions, which always require the visitor to confirm first.
By default all data is kept. If you tick Permanently delete Core data on uninstall under Privacy & Usage, uninstalling removes this plugin's tables and settings on a single-site installation. On multisite, data is always kept. Other plugins, including the Pro add-on and its license, are not changed. Deactivating only stops the scheduled cleanup.
registerControl() accepts before_message: true (widget API 1.2).mwdai_core_client_ip filter for sites behind a trusted proxy.