外掛說明
Comment2AIChat disables WordPress default comments on posts and replaces them with a chatbot-like interface.
It provides integration with two models:
1. DeepSeek (model: deepseek-chat)
2. OpenAI (model: o3-mini)
A settings page under “Settings > AIChat” allows you to select the model, enter your API key, and set a custom prompt.
Use the shortcode [comment2aichat_chat] to display the chat interface anywhere (e.g., on pages or within posts).
By default, the AI chat is automatically appended to single post contents.
External Services
This plugin connects to external APIs to provide AI chat functionality.
– OpenAI API
When the “OpenAI” model is selected, the plugin sends the user’s message and a system prompt to OpenAI’s endpoint at https://api.openai.com/v1/chat/completions.
The API key is used for authentication.
Please review OpenAI’s Terms of Service and Privacy Policy for details.
- DeepSeek API
When the “DeepSeek” model is selected, the plugin sends the same data to DeepSeek’s endpoint athttps://api.deepseek.com/chat/completions.
The API key is used for authentication.
Refer to DeepSeek’s official documentation for its terms of DeepSeek Privacy Policy.
螢幕擷圖
安裝方式
- Upload the entire
comment2aichatfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to
Settings > AIChatto select a model (DeepSeek or OpenAI), enter your API key, and optionally modify the assistant prompt. - Use the shortcode
[comment2aichat_chat]to display the chat interface, or simply view any single post to see the chat appended below the content.
常見問題集
-
Why are default WordPress comments disabled for posts?
-
This plugin is designed to replace the default comment section on posts with an AI-powered chat interface. Other post types remain unaffected.
-
Where do I get an API key?
-
For OpenAI, visit OpenAI Platform.
For DeepSeek, visit DeepSeek API Keys.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.2
- Upgrade the OpenAI model to o3-mini.
1.0.1
- Updated shortcode registration and auto-append functionality.
- Added external services documentation in README.
- Added ‘gaojun’ to Contributors list.
1.0.0
- Initial release.

