=== Kelindan Chat ===
Contributors: ikyprima, kelindan
Donate link: https://kelindan.virtual.ai.id
Tags: ai, chatbot, rag, customer-support, vector-search
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.3.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Smart AI Assistant and Multi-Source RAG Knowledge Base Chatbot Widget for WordPress powered by Kelindan Chat.

== Description ==

Kelindan Chat embeds an interactive floating AI chatbot widget connected directly to your AI Knowledge Base. It includes 1-Click Onboarding directly from WP-Admin, automatic WordPress page and post content synchronization, and customizable AI disclaimer labels in the widget footer.

= Key Features =
* **Instant 1-Click Onboarding:** Connect your WordPress site to kelindan.virtual.ai.id in seconds directly from WP-Admin without manually creating an API key.
* **Automatic Web Content Sync:** Turn your WordPress FAQ pages, blog posts, and company profile into an AI knowledge base with one click.
* **Real-Time Streaming Responses:** Fast and interactive AI replies via Server-Sent Events (SSE).
* **Smart Contextual RAG:** Answers visitor questions accurately based strictly on the documents and articles you select.
* **AI Disclaimer Label Option:** Transparently informs visitors that responses are generated by an AI assistant.
* **Visitor Insights:** Monitor the most frequently asked questions from your site visitors directly from your WordPress dashboard.

= External 3rd-Party SaaS Service Disclosure =
This plugin connects your WordPress site to our external SaaS service at kelindan.virtual.ai.id for text processing, vector indexing (Qdrant), and LLM AI inference.
* Official Service: [kelindan.virtual.ai.id](https://kelindan.virtual.ai.id)
* Terms of Service: [https://kelindan.virtual.ai.id/terms](https://kelindan.virtual.ai.id/terms)
* Privacy Policy: [https://kelindan.virtual.ai.id/privacy](https://kelindan.virtual.ai.id/privacy)

Text content sent during manual synchronization or visitor chat queries is processed solely to generate responses for your site and is never shared with third parties for public model training.

== Installation ==

1. Go to **Plugins > Add New** in your WordPress admin dashboard.
2. Search for **"Kelindan Chat"**, then click **Install Now** and **Activate**.
3. Open the **kelindan AI** menu in your WordPress admin sidebar (or click **Settings** on the Plugins page).
4. Click **"Hubungkan Sekarang & Aktifkan Chatbot"** on the 1-Click Setup tab to provision your Free Tier account automatically.
5. In the **Basis Pengetahuan** tab, select the pages or posts you want to sync and click **Sinkronkan Halaman Terpilih ke AI**.
6. Your AI chatbot widget is now live on your WordPress site!

== Frequently Asked Questions ==

= Do I need to pay to use this plugin? =
No. When activated via 1-Click Onboarding, you automatically receive a **Free Tier** plan with monthly chat quota and knowledge base capacity. If your site requires higher limits, you can upgrade anytime via the kelindan.virtual.ai.id dashboard.

= Is my site content secure? =
Yes. Every tenant on kelindan.virtual.ai.id is strictly isolated using multi-tenant vector isolation. Your data is only used to answer questions on your own website.

= What if I already have an API Key from kelindan.virtual.ai.id? =
You can switch to the **"Input API Key Manual"** tab on the plugin settings page and enter your `sk-...` API key.

== Screenshots ==

1. Interactive floating AI chatbot widget on the website frontend.
2. 1-Click Onboarding dashboard in WP-Admin.
3. WordPress pages and posts synchronization to the RAG knowledge base.
4. Usage quota summary and recent visitor question insights.

== Changelog ==

= 1.3.0 =
* Added 1-Click Onboarding directly from WP-Admin without manual key creation.
* Added WordPress page and post synchronization module for the RAG knowledge base.
* Added quota summary and visitor insights dashboard.
* Improved security: replaced cURL with WordPress HTTP API, added register_setting sanitization callbacks, and enforced output escaping across templates.

= 1.2.2 =
* Added custom AI disclaimer label option in the floating widget footer.
* Improved streaming connection reliability.

= 1.0.0 =
* Initial release of the SaaS RAG chatbot integration plugin.
