=== ContentReply AI ===
Author: Radixweb
Author URI: https://radixweb.com/about-us
Contributors: radixweb, laxman-prajapati
Tags: chatbot, ai, support, customer service, live chat
Requires at least: 6.0
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

An AI-powered support chatbot that learns from your website content and answers visitor questions instantly.

== Description ==

ContentReply AI adds an intelligent AI chatbot to your WordPress site that learns from your pages, posts, and products. No manual training required — just activate, add your API key, and the bot starts answering visitor questions using your own website content.

**Key Features:**

* **Content indexing** — Crawls and indexes your published content (manual or scheduled)
* **AI-powered responses** — Uses your chosen AI provider to generate accurate, contextual answers
* **Zero training needed** — Works out of the box with your existing content
* **Customizable widget** — Adjust colors, position, bot name, and welcome message
* **Chat history** — View all conversations in the admin dashboard
* **Source references** — Bot links to relevant pages in responses
* **Rate limiting** — Built-in protection against abuse
* **Mobile friendly** — Responsive design that works on all devices
* **Lightweight** — No jQuery dependency on frontend, vanilla JavaScript

**How It Works:**

1. Install and activate the plugin
2. Add your OpenAI API key in Settings
3. The plugin indexes your site content automatically
4. Visitors can chat with the bot and get instant answers

**Privacy & Data:**

* All conversations are stored locally in your WordPress database
* No data is sent to third parties except your configured AI provider (OpenAI, Google Gemini, or Groq)
* You control what content gets indexed
* Chat history can be cleared at any time

**Third-Party Services:**

This plugin connects to external AI services to generate chatbot responses. By using this plugin, you agree to the terms of service of your chosen provider:

* **Groq** — [groq.com](https://groq.com) | [Terms](https://groq.com/terms-of-use/) | [Privacy](https://groq.com/privacy-policy/)
* **Google Gemini** — [ai.google.dev](https://ai.google.dev) | [Terms](https://ai.google.dev/terms) | [Privacy](https://policies.google.com/privacy)
* **OpenAI** — [openai.com](https://openai.com) | [Terms](https://openai.com/policies/terms-of-use/) | [Privacy](https://openai.com/policies/privacy-policy/)

Data sent to these services includes: the user's chat message and relevant content chunks from your site (used to generate contextual responses). No personal user data is sent unless included in the chat message by the visitor.

== Installation ==

1. Upload the `contentreply-ai` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu
3. Go to ContentReply AI > Settings
4. Enter your API key (Groq, Gemini, or OpenAI)
5. Configure widget appearance
6. The chatbot will appear on your site automatically

== Frequently Asked Questions ==

= Do I need an OpenAI account? =
No. The plugin supports three AI providers: Groq (completely free, no credit card), Google Gemini (free tier available), and OpenAI (paid). You only need an account with one of them.

= Is it really free to use? =
Yes. Choose Groq as your AI provider — it offers a generous free tier with no credit card required. You can also use Google Gemini's free tier or OpenAI's paid service.

= What content does it index? =
By default, it indexes all published pages and posts. You can configure which post types to include in Settings.

= Can I customize the chatbot appearance? =
Yes. You can change the bot name, colors, position, welcome message, and fallback message from the settings page.

= Is it GDPR compliant? =
The plugin stores conversations locally. No data is shared with third parties except the AI provider for generating responses. You should mention AI chatbot usage in your privacy policy.

== Screenshots ==

1. Chat widget with active conversation on the frontend
2. Admin settings page with AI provider configuration
3. Chat history viewer in admin dashboard

== Changelog ==

= 1.0.0 =
* Initial release
* Content indexing of site content (pages, posts, custom post types)
* Three AI providers: Groq (free), Google Gemini, OpenAI
* Chat widget with customizable appearance
* Admin settings and chat history
* Rate limiting and session management
* Demo mode for testing without API key
* Full-text search for content matching
* Mobile responsive widget
