Comment2AIChat

外掛說明

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 at https://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.

螢幕擷圖

  • Screenshot 1 – Frontend AI Chat interface. Users can type their question and click ‘SEND’ to receive AI-generated responses.
  • Screenshot 2 – AIChat plugin settings page, where you can select the model, enter your API Key, and set a custom assistant prompt.

安裝方式

  1. Upload the entire comment2aichat folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > AIChat to select a model (DeepSeek or OpenAI), enter your API key, and optionally modify the assistant prompt.
  4. 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Comment2AIChat〉的開發相關工作。

參與者

將〈Comment2AIChat〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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.