=== Creative WebMind AI ===
Contributors: creativedesign
Tags: chatbot, ai, chat, live chat, customer support
Requires at least: 5.7
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI chatbot trained on your website content. Add your project ID, no code needed. / AI chatbot z obsahu vašeho webu. Stačí vložit ID projektu.

== Description ==

**Česky**

Plugin vloží na váš web chatbota [Creative WebMind AI](https://creative-webmindai.cz). Chatbot odpovídá návštěvníkům podle obsahu vašeho webu a běží na vašem vlastním klíči k AI.

* Stránka Nastavení › Creative WebMind AI s polem pro ID projektu.
* Skript se načte asynchronně v patičce, rychlost webu neovlivní.
* Chatbot lze jedním zaškrtnutím vypnout bez mazání nastavení.
* Plugin při aktivaci nikam nevolá a v administraci WordPressu nic nenačítá.

Potřebujete účet a projekt v administraci Creative WebMind AI. Chatbot se zobrazí jen na doméně nastavené v projektu a jen s aktivním předplatným.

**English**

This plugin adds the [Creative WebMind AI](https://creative-webmindai.cz) chatbot to your site. The chatbot answers visitors from your own website content, using your own AI provider key.

* Settings › Creative WebMind AI page with a project ID field.
* The script loads asynchronously in the footer.
* One checkbox switches the chatbot off without losing settings.
* No remote calls on activation; nothing is loaded in wp-admin.

You need an account and a project in Creative WebMind AI. The chatbot only appears on the domain configured in the project and with an active subscription.

== Installation ==

**Česky**

1. V administraci WordPressu otevřete Pluginy › Instalace pluginů › Nahrát plugin a nahrajte soubor creative-webmind-ai.zip.
2. Plugin aktivujte.
3. V Nastavení › Creative WebMind AI vložte ID projektu (najdete ho v administraci WebMindu u instalačního kódu, atribut data-project) a uložte.
4. Otevřete web — vpravo dole se objeví tlačítko chatu.

**English**

1. In wp-admin go to Plugins › Add New › Upload Plugin and upload creative-webmind-ai.zip.
2. Activate the plugin.
3. In Settings › Creative WebMind AI paste your project ID (shown next to the install code in the WebMind dashboard, the data-project attribute) and save.
4. Open your site — the chat button appears in the bottom right corner.

== Frequently Asked Questions ==

= Chatbot se nezobrazuje / The chatbot does not show up =

Otevřete konzoli prohlížeče (F12). Hláška „[WebMind]“ řekne důvod: neaktivní předplatné (402) nebo jiná doména, než je nastavená v projektu (403). Používáte-li hlavičku Content-Security-Policy, povolte https://creative-webmindai.cz v script-src a connect-src.

Open the browser console (F12). A "[WebMind]" message tells you why: inactive subscription (402) or a domain other than the one set in the project (403). If your site sends a Content-Security-Policy header, allow https://creative-webmindai.cz in script-src and connect-src.

= Musím měnit adresu serveru? / Do I need to change the server address? =

Ne, pokud vám to neřekla podpora. Povolena je jen adresa https. / No, unless support tells you to. Only https addresses are accepted.

== External services ==

This plugin loads the chatbot script from https://creative-webmindai.cz/widget.js (or the server address you set) on the public pages of your site. The script then sends the visitor's chat messages and a random per-session token to the same server to generate answers, plus contact details only if the visitor fills in the contact form in the chat. The browser also sends the site's address (Origin/Referer), which the server uses to check the domain. Nothing is sent from wp-admin and nothing is sent on plugin activation.

Terms of service: https://creative-webmindai.cz/obchodni-podminky
Privacy policy: https://creative-webmindai.cz/ochrana-osobnich-udaju

== Changelog ==

= 1.0.0 =
* První verze / First release.
