=== Cyvora Real Estate Chat Assistant ===
Contributors: cyvoraai, luaina
Tags: ai, chatbot, knowledge-base, machine-learning, customer-support, gpt, openrouter, supabase, vercel, real-estate, cyvora
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

An intelligent Cyvora Real Estate Chat Assistant with Knowledge Base support, customizable appearance, and premium usage management.

== Description ==

Cyvora Real Estate Chat Assistant is a comprehensive WordPress plugin that integrates an advanced AI assistant into your website. It features a customizable chat widget, session history, and a powerful Knowledge Base that allows you to upload PDFs or URLs to train your AI on your specific data.

This plugin acts as a client for the Cyvora AI Cloud service. It allows you to:

* **24/7 AI Support:** Provide instant responses to user queries using state-of-the-art AI models.
* **Knowledge Base:** Train the AI on your own documents (PDFs) and website content (URLs) for context-aware answers.
* **Lead Generation:** Optional email collection before chatting to capture leads and provide persistent history.
* **Premium Management:** Set daily conversation limits for free users and define premium roles for unlimited access.
* **Customizable UI:** Full control over colors, fonts, and widget positioning to match your site's branding.
* **Usage Insights:** Monitor conversation statistics and user interactions directly from your dashboard.

**Third-Party Service Disclosure**

This plugin relies on external cloud infrastructure to process AI queries and manage the Knowledge Base:

* **AI Processing:** Requests are sent to a Vercel-hosted middleware (chabotbackend.vercel.app) which proxies requests to AI models (e.g., GPT-4 via OpenRouter).
* **Data Storage:** Chat history and usage statistics are securely stored in a Supabase database.
* **Knowledge Base:** Uploaded documents are processed and indexed for vector search on the cloud middleware.
* **Content Extraction:** Jina AI (r.jina.ai) is used to crawl and extract clean content from provided URLs.

By using this plugin, your data and user queries will be processed by these third-party services according to our [Terms of Service](https://cyvoraai.com/terms) and [Privacy Policy](https://cyvoraai.com/privacy).

== Installation ==

1. Upload the `cyvora-real-estate-chat-assistant` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to 'Cyvora Chat' in the admin sidebar.
4. Enter your API Key in the settings and configure your chatbot's appearance.

== Frequently Asked Questions ==

= Do I need an API Key? =
Yes, the plugin requires an API key to connect to the Cyvora AI Cloud service. You can obtain one in the plugin settings.

= Where is my data stored? =
Conversations and usage stats are stored securely in the Cyvora AI Cloud (powered by Supabase) to provide persistent history and multi-site support.

= Can I limit AI usage? =
Yes, you can set a daily conversation limit for non-premium users in the plugin settings to manage your costs.

= Does it support mobile devices? =
Yes, the chat widget is fully responsive and works seamlessly on mobile and tablet devices.

== Screenshots ==

1. The main Chatbot Settings panel for API and UI configuration.
2. The frontend chat widget in action.
3. The Knowledge Base interface for uploading PDFs and URLs.
4. Usage statistics and chat history logs.

== Changelog ==

= 2.1 =
* Added dynamic Upgrade URL with [USER_EMAIL] and [ADMIN_URL] support.
* Improved Premium Status detection and UX.
* Added manual refresh for Premium status.
* Added automated success notices after upgrade.

= 1.0 =
* Initial release.
