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 | Privacy Policy

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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「dAIrect Chat」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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