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