Title: dAIrect Chat
Author: rsnare
Published: <strong>2025 年 7 月 3 日</strong>
Last modified: 2025 年 7 月 6 日

---

搜索插件

![](https://ps.w.org/dairect-chat/assets/banner-772x250.jpg?rev=3322138)

![](https://ps.w.org/dairect-chat/assets/icon-128x128.jpg?rev=3322039)

# dAIrect Chat

 作者：[rsnare](https://profiles.wordpress.org/rsnare/)

[下载](https://downloads.wordpress.org/plugin/dairect-chat.1.1.4.zip)

 * [详情](https://cn.wordpress.org/plugins/dairect-chat/#description)
 * [评价](https://cn.wordpress.org/plugins/dairect-chat/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dairect-chat/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dairect-chat/#developers)

 [支持](https://wordpress.org/support/plugin/dairect-chat/)

## 描述

dAIrect Chat enables you to embed a Gemini-powered chatbot into any page or post
using a shortcode. Designed for simplicity, flexibility, and fast response, it is
perfect for customer support, creative interaction, or building your own branded
assistant.

#### Features include:

 * Multi-turn memory (stored per user)
 * Configurable: temperature, topP, max tokens, timeout
 * Custom system instruction (acts as a personality or role)
 * Voice input (Chrome only)
 * Easy shortcode integration: `[dairect_chat_widget]`
 * Admin test prompt with saved parameter preview

### External Services

This plugin connects to the Google Gemini API to generate conversational responses
using AI.

 * Data sent: Chat message contents and optional system instructions.
 * Sent when: The user sends a message via the widget or admin test prompt.
 * Service provider: Google LLC
    [Terms of Service](https://policies.google.com/terms)
   | [Privacy Policy](https://policies.google.com/privacy)

### License

GPLv2 or later — Fork freely, build professionally.

License URI: https://www.gnu.org/licenses/gpl-2.0.html

MIT — Fork freely, build professionally.

## 安装

 1. Upload the `dairect-chat` folder to your `/wp-content/plugins/` directory or install
    via ZIP
 2. Activate the plugin through the WordPress admin
 3. Add your Gemini API key to your `wp-config.php` file:
     putenv(‘GEMINI_API_KEY=your-
    api-key-here’);
 4. Visit **Tools > dAIrect Chat** to configure settings
 5. Add `[dairect_chat_widget]` to any page or post

## 常见问题

### Does this store user messages?

No. Session memory is stored only in PHP sessions — no logs are stored in WordPress
or external databases.

### Can I use OpenAI or Claude instead?

Not yet, but future versions will support multiple providers.

## 评价

此插件暂无评价。

## 贡献者及开发者

「dAIrect Chat」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ rsnare ](https://profiles.wordpress.org/rsnare/)

[帮助将「dAIrect Chat」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dairect-chat)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dairect-chat/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/dairect-chat/)，或通过[RSS](https://plugins.trac.wordpress.org/log/dairect-chat/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dairect-chat/)。

## 更新日志

#### 1.1.4

 * Fix: Chat API handler now supports multi-turn conversations consistently
 * Improved sanitization compliance for WordPress Plugin Directory review

#### 1.1.3

 * First public GitHub release
 * System instruction injection and admin tester support
 * Stable shortcode and styling foundation

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**12 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/dairect-chat/)
 * 标签
 * [AI](https://cn.wordpress.org/plugins/tags/ai/)[chatbot](https://cn.wordpress.org/plugins/tags/chatbot/)
   [Gemini](https://cn.wordpress.org/plugins/tags/gemini/)[LLM](https://cn.wordpress.org/plugins/tags/llm/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/dairect-chat/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/dairect-chat/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dairect-chat/reviews/)

## 贡献者

 *   [ rsnare ](https://profiles.wordpress.org/rsnare/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dairect-chat/)