=== AI Product Description Generator ===
Contributors: vashudevvishwas
Tags: ai, openai, gemini, gpt, woocommerce
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate AI-powered SEO-friendly WooCommerce product descriptions using OpenAI or Gemini APIs.

== Description ==

🔥 This plugin lets you automatically generate product descriptions using AI.

🧠 **Features:**
- Use **OpenAI (GPT-3.5, GPT-4, GPT-4o)** or **Gemini (Gemini Pro, Chat Bison)** APIs.
- Supports **organization and personal keys** for OpenAI.
- Smart model fallback if one fails.
- **Modern admin UI** with AJAX, copy, and insert buttons.
- Compatible with **any WordPress editor** (Classic, Block, Elementor, etc.).
- Works out-of-the-box with WooCommerce products.

🎯 Perfect for eCommerce store owners, marketers, or developers who want fast, clean, SEO-optimized product content.

== Installation ==

1. Upload the plugin ZIP file via Plugins → Add New → Upload Plugin.
2. Activate the plugin.
3. Go to **Settings → AI Description** and enter your API keys.
4. Visit any product in WooCommerce → Click **“Generate with AI”**.

== Screenshots ==

1. Settings page to choose API provider and enter keys.
2. Button on WooCommerce product edit screen.
3. AI-generated result with copy and insert options.
4. Intelligent error handling (quota, rate limits, etc.)

== Frequently Asked Questions ==

= What models are supported? =
All OpenAI models like `gpt-3.5-turbo`, `gpt-4`, `gpt-4o`, and Gemini models like `gemini-pro`, `chat-bison-001` are supported.

= Will this work with free API keys? =
Yes, as long as your key has permission for the selected model.

= What happens if I hit a quota or rate limit? =
The plugin will show a friendly countdown timer and fallback messages.

= Can I use this with other post types? =
Currently supports WooCommerce products. Let us know if you want post/page support.

== Changelog ==

= 1.0.0 =
* Initial release
* Supports OpenAI and Gemini APIs
* Clean admin UI with editor integration
* Model fallback logic and full error handling

== Upgrade Notice ==

= 1.0.0 =
Initial stable version with support for multiple AI providers and WooCommerce product editing.


== External Services ==
This plugin uses the OpenAI API to generate product descriptions. Data sent includes the product name and attributes entered by the user. No personally identifiable information is sent.

API service used: https://openai.com
Privacy Policy: https://openai.com/privacy
Terms of Service: https://openai.com/terms


== External services ==

This plugin connects to Google's Generative Language API to generate AI-powered content. It is required to use the plugin's core features (content generation).

The plugin sends the selected model and prompt text to the API, and receives the generated content in response.

Service used:
- Google Generative Language API
- Terms of Service: https://policies.google.com/terms
- Privacy Policy: https://policies.google.com/privacy

