=== Lemah AI ===
Contributors: lemah
Donate link: https://lemah.app
Tags: live chat, chatbot, ai assistant, customer support, woocommerce
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed an autonomous 24/7 AI sales specialist on your WordPress or WooCommerce site in 30 seconds.

== Description ==

Lemah AI empowers businesses to automate customer support, qualify leads, and answer product inquiries 24/7 without manual effort.

Connect your website or WooCommerce store to Lemah AI in under 60 seconds with zero coding required.

### Features
* **Zero-Setup Embedding**: Enter your Bot Key and the floating chat widget is live immediately.
* **Trained on your business**: Connects directly with your Lemah Knowledge Lab (PDF catalogs, URL crawlers, product feeds).
* **Live Human Takeover**: Seamlessly step into conversations from your Lemah dashboard whenever a VIP or complex question arrives.
* **WooCommerce Compatible**: Great for answering inventory, sizes, pricing, and shipping questions.
* **Position Customization**: Easily position the widget at the bottom-right or bottom-left of your store.
* **Admin Visibility Toggle**: Option to hide the widget when logged in as an administrator.

== Installation ==

1. Upload the `lemah-ai` folder to the `/wp-content/plugins/` directory, or install the ZIP file via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **Settings > Lemah AI** in your WordPress admin menu.
4. Enter your **Lemah Bot Key** (found in your Lemah Dashboard under Integrations > Website Widget) and click **Save & Activate Widget**.

== Frequently Asked Questions ==

= Where do I find my Lemah Bot Key? =
Sign up or log in to your Lemah Dashboard at https://lemah.app, navigate to **Integrations > Website Widget**, and copy your unique Bot Key.

= Will the chat widget slow down my website? =
No. The widget script is loaded asynchronously (`async`) and weighs less than 30KB. It does not block page rendering or affect your Google PageSpeed scores.

= Does this plugin work with WooCommerce? =
Yes! Lemah AI works seamlessly with WooCommerce storefronts. The AI can answer questions about product availability, sizing, pricing, shipping, and store policies.

= Can I customize the colors and appearance of the chat widget? =
Yes. In your Lemah Dashboard under **Integrations > Widget Styling**, you can customize your brand primary color, greeting message, bot name, and quick-reply chips.

= What happens when a human agent needs to take over? =
All visitor chats stream in real time to the Lemah **Live Arena** dashboard. An agent can pause the AI and chat with the customer live at any moment.

== Screenshots ==

1. Lemah AI Floating Chat Widget active on a storefront.
2. Lemah AI Settings page in the WordPress Admin dashboard.
3. Lemah Live Arena Omnichannel Dashboard with real-time AI and human takeover.

== Changelog ==

= 1.0.1 =
* Added widget positioning selector (Bottom Right / Bottom Left).
* Added toggle to hide the widget for logged-in administrators.
* Added data-position support in the embed script.
* Updated compatibility for WordPress 6.7.
* Added uninstall script for clean option removal.

= 1.0.0 =
* Initial public release of the Lemah AI live chat plugin.

== Privacy Policy & Third-Party Service Disclosure ==

This plugin relies on the Lemah AI cloud service (https://lemah.app) to generate AI responses, manage chat sessions, and provide omnichannel agent handoff.

* **Service Provider**: Lemah AI (https://lemah.app)
* **Data Transmitted**: When a site visitor sends a chat message, the message text, an anonymous session ID, and your store's Bot Key are transmitted over HTTPS to Lemah AI servers (`https://lemah.app` or your configured API URL).
* **Terms of Service**: https://lemah.app/terms
* **Privacy Policy**: https://lemah.app/privacy
