=== AutoChat ===
Contributors: apikx, faithcoder
Tags: chatbot, ai chatbot, live chat, knowledge base, support
Requires at least: 4.8
Tested up to: 6.8.1
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

== Description ==

AutoChat adds an AI-powered chat assistant to WordPress with a local knowledge base, optional Pinecone sync, analytics, and a customizable frontend widget.

The plugin is designed to work without Pinecone. Internal content, external sources, uploaded resources, and manual knowledge-base entries are indexed locally first. If Pinecone is enabled and synced, AutoChat can use Pinecone retrieval as an additional source instead of becoming dependent on it.

Use AutoChat to:

* answer common visitor questions automatically
* build a chat knowledge base from multiple data sources
* keep a local retrieval path active even when Pinecone is disabled
* review conversation volume and estimated token usage in the dashboard
* configure assistant language and widget presentation from wp-admin

== Features ==

* Local-first knowledge retrieval from internal content, external sources, resources, and manual knowledge-base entries
* Optional Pinecone sync and retrieval fallback
* React-based admin dashboard
* Frontend floating chat widget
* Saved replies for common prompts
* Conversation analytics and estimated token usage
* Language selection for assistant replies
* REST API powered architecture for admin and frontend flows

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/autochat` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the `Plugins` screen in WordPress.
3. Open `AutoChat` in the WordPress admin area.
4. Configure general settings, assistant behavior, and data sources.
5. Optionally configure Pinecone and run sync if you want vector retrieval in addition to local retrieval.

== Frequently Asked Questions ==

= Does AutoChat require Pinecone? =

No. AutoChat works with its local knowledge index by default. Pinecone is optional.

= What data sources can AutoChat use? =

AutoChat can use internal content, external sources, uploaded resources, and manual knowledge-base entries.

= Can I control the assistant language? =

Yes. The language can be selected from the General Settings screen.

= Does the plugin store conversations locally? =

Yes. AutoChat stores conversation and message records in WordPress database tables created on activation.

== Screenshots ==

1. AutoChat dashboard overview
2. Knowledge-base management screen
3. Pinecone settings and sync controls
4. Frontend chat widget

== Changelog ==

= 2.0.0 =
* Rebuilt the plugin around a React admin dashboard and frontend widget.
* Added local-first retrieval from internal content, external sources, resources, and knowledge-base entries.
* Added optional Pinecone enable, test, and sync flows.
* Added dashboard analytics for conversations and estimated token usage.
* Added assistant language selection.

== Upgrade Notice ==

= 2.0.0 =

This release introduces the rebuilt AutoChat 2.0 architecture with local-first knowledge retrieval and optional Pinecone sync.
