=== Kitsune AI Platform ===
Contributors: prasadkirpekar
Tags: ai, chatbot, content generation, automation, openai
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt

Kitsune AI Platform is an AI-powered WordPress plugin with chatbots, content generation, forms, knowledge base, and automation.

== Description ==

Kitsune AI Platform is a comprehensive AI solution for WordPress that brings the power of multiple AI providers (OpenAI, Claude, Gemini, and more) to your website.

= Key Features =

**🤖 AI Chatbots**
* Create unlimited intelligent chatbots
* Customizable appearance and behavior
* Multi-language support
* Conversation analytics
* Lead capture capabilities
* Sentiment analysis

**✍️ Content Studio**
* Generate blog posts, product descriptions, and more
* AI-powered content calendar
* Image generation
* Translation hub
* SEO optimization
* Content library

**📝 AI Forms**
* Drag-and-drop form builder
* AI-powered form processing
* Smart validation and analysis
* Conditional logic
* Multi-step forms
* Submission management

**📚 Knowledge Base**
* Vector database integration (Pinecone, Chroma, Qdrant)
* Semantic search
* Document embeddings
* Auto-sync WordPress content
* PDF import

**⚡ Automation**
* Visual workflow builder
* Trigger-based actions
* Scheduled tasks
* Integration with WordPress hooks
* Workflow templates

**📊 Analytics**
* Real-time usage statistics
* Cost tracking and budgets
* Performance metrics
* Custom reports
* ROI calculator

**🔌 Integrations**
* OpenAI (GPT-4, GPT-3.5)
* Anthropic Claude
* Google Gemini
* Mistral AI
* WooCommerce
* Popular CRMs
* Email marketing tools
* Social media platforms

= Use Cases =

* Customer support automation
* Content marketing at scale
* Lead qualification
* Product recommendations
* Document analysis
* Language translation
* SEO optimization
* Social media management

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/ai-platform/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to Kitsune AI Platform in your admin menu
4. Enter your AI provider API keys in Settings
5. Start creating chatbots, generating content, or building forms

== Frequently Asked Questions ==

= Do I need API keys? =

Yes, you'll need API keys from at least one AI provider (OpenAI, Claude, or Gemini) to use the plugin's features.

= Is there a free version? =

The plugin is free to use, but you'll need to pay for API usage from your chosen AI provider.

= Can I use multiple AI providers? =

Yes! You can connect multiple AI providers and choose which one to use for each feature.


= Does it work with my theme? =

Yes, Kitsune AI Platform works with any WordPress theme. The chatbot widget and forms are fully customizable.

= Is it GDPR compliant? =

Yes, the plugin includes GDPR compliance features including data retention settings, consent collection, and the right to be forgotten.

= Can I limit API costs? =

Yes, you can set monthly budget limits and receive alerts when approaching your limit.

== Screenshots ==

1. Dashboard with usage statistics and quick actions
2. Chatbot builder with visual customization
3. Content generation interface
4. Analytics and reporting
5. Workflow automation builder
6. Settings page

== Changelog ==

= 1.0.0 =
* Initial release
* AI Chatbots with customization
* Content generation studio
* AI Forms builder
* Knowledge base with vector search
* Workflow automation
* Analytics and reporting
* Multi-provider support (OpenAI, Claude, Gemini)
* REST API endpoints
* Shortcodes for embedding
* GDPR compliance features

== Upgrade Notice ==

= 1.0.0 =
Initial release of Kitsune AI Platform.

== External Services ==

This plugin can connect to third-party services to generate AI output and power knowledge-base retrieval.

**OpenAI API**
* Service: https://api.openai.com
* Purpose: Chat, content generation, and embeddings when OpenAI models are enabled.
* Data sent: User prompts, selected model/options, and optional context from configured chatbot/content workflows.
* When sent: When a site user/admin triggers AI generation features that are configured to use OpenAI.
* Terms: https://openai.com/policies/terms-of-use
* Privacy: https://openai.com/policies/privacy-policy

**Anthropic API**
* Service: https://api.anthropic.com
* Purpose: Chat/content generation when Anthropic models are enabled.
* Data sent: User prompts, selected model/options, and optional context from configured chatbot/content workflows.
* When sent: When a site user/admin triggers AI generation features configured to use Anthropic.
* Terms: https://www.anthropic.com/legal/terms
* Privacy: https://www.anthropic.com/legal/privacy

**Google Gemini API**
* Service: https://generativelanguage.googleapis.com
* Purpose: Chat/content generation and embeddings when Google models are enabled.
* Data sent: User prompts, selected model/options, and optional context from configured chatbot/content workflows.
* When sent: When a site user/admin triggers AI generation features configured to use Google models.
* Terms: https://policies.google.com/terms
* Privacy: https://policies.google.com/privacy

**Chroma Cloud API**
* Service: https://api.trychroma.com
* Purpose: Optional vector database backend for knowledge-base embeddings and semantic retrieval.
* Data sent: Knowledge-base chunks/embeddings and semantic search queries when Chroma is selected as vector database.
* When sent: During knowledge-base sync, embedding jobs, and semantic retrieval operations.
* Terms: https://trychroma.com/terms
* Privacy: https://trychroma.com/privacy

== Source Code and Build ==

This plugin includes source files used to generate bundled assets.

* Admin app source: `admin/assets/js/`
* Public scripts/styles source: `public/assets/` and `admin/assets/css/`
* Build config: `package.json`, `vite.config.js`, `vite.editor.config.js`

To regenerate production bundles:

1. Run `npm install`
2. Run `npm run build`

This rebuilds distributable files in `admin/assets/dist/`.

== Developer Documentation ==


= Shortcodes =

* `[kitsune_ai_platform_chatbot id="1"]` - Embed a chatbot
* `[kitsune_ai_platform_form id="1"]` - Embed an AI form
* `[kitsune_ai_platform_search]` - Embed semantic search widget

== Support ==

For support, please contact us at mailto:prasadkirpekar96@gmail.com
