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.