=== Treder AI Assistant ===
Contributors: bdtreder
Tags: ai, chatbot, assistant, openai, chat
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a lightweight floating AI assistant bubble to your WordPress website using your own OpenAI API key.

== Description ==

Treder AI Assistant adds a simple floating AI chat bubble to WordPress websites.

The free version is designed to be lightweight and practical. It lets site owners connect their own OpenAI API key, enable a frontend assistant, set a basic assistant title, add a welcome message, and define basic assistant instructions or personality.

The plugin does not include an AI API key. You bring your own provider API key.

Free version features include:

* OpenAI support
* Floating chat bubble
* Basic assistant title
* Basic welcome message
* Basic assistant instructions/personality
* Enable/disable setting
* Sitewide display
* Lightweight frontend
* No chat history stored by default
* API key stays server-side and is not exposed in frontend JavaScript

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/treder-ai-assistant/` directory, or install the ZIP through WordPress Admin → Plugins → Add New → Upload Plugin.
2. Activate Treder AI Assistant through the Plugins screen in WordPress.
3. Go to Settings → Treder AI Assistant.
4. Add your OpenAI API key.
5. Configure the assistant title, welcome message, and assistant instructions.
6. Enable the assistant and test it on the frontend.

== Frequently Asked Questions ==

= Does this include an AI API key? =

No. You bring your own OpenAI API key.

= Is the free version useful by itself? =

Yes. The free version includes a working OpenAI-powered floating assistant.

= Does the plugin store chat history? =

No chat history is stored by default.

= Is the API key exposed in frontend JavaScript? =

No. The API key is stored server-side in WordPress settings and is not exposed in frontend JavaScript.

= Will this slow down my site? =

The plugin is designed to be lightweight. Frontend assets only load when the assistant is enabled.

= Is there a Pro version? =

Yes. A separate Pro add-on may be available from BenTreder.com with additional provider options and customization settings.

== External Services ==

Treder AI Assistant connects to the OpenAI API when the site owner enables the assistant and adds their own OpenAI API key.

When a visitor sends a message through the assistant, that message is sent to OpenAI in order to generate a response. No chat history is stored by this plugin by default.

OpenAI:
Service: https://openai.com/
API: https://api.openai.com/
Terms: https://openai.com/policies/terms-of-use/
Privacy: https://openai.com/policies/privacy-policy/

== Support ==

For support, contact Ben Treder:

* Support email: ben@bentreder.com
* Product page: https://bentreder.com/plugins/treder-ai-assistant/
* Author website: https://bentreder.com/
* WordPress.org username: bdtreder

== Screenshots ==

1. Treder AI Assistant floating chat bubble.
2. Treder AI Assistant settings page.

== Changelog ==

= 1.0.0 =
* Initial release.
* OpenAI-powered floating assistant.
* Basic assistant title.
* Basic welcome message.
* Basic assistant instructions/personality.
* Enable/disable setting.
* Sitewide display.
* Lightweight frontend.
* No chat history stored by default.
* API key stored server-side.
