Title: AI Chat Assistant by CodeCaste
Author: CodeCaste
Published: <strong>October 27, 2026</strong>
Last modified: October 27, 2026

---

Search plugins

![](https://ps.w.org/codecaste-ai-chat-assistant/assets/banner-772x250.png?rev=3768182)

![](https://ps.w.org/codecaste-ai-chat-assistant/assets/icon-256x256.png?rev=3768182)

# AI Chat Assistant by CodeCaste

 By [CodeCaste](https://profiles.wordpress.org/codecaste/)

[Download](https://downloads.wordpress.org/plugin/codecaste-ai-chat-assistant.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/codecaste-ai-chat-assistant/#description)
 * [Reviews](https://wordpress.org/plugins/codecaste-ai-chat-assistant/#reviews)
 *  [Installation](https://wordpress.org/plugins/codecaste-ai-chat-assistant/#installation)
 * [Development](https://wordpress.org/plugins/codecaste-ai-chat-assistant/#developers)

 [Support](https://wordpress.org/support/plugin/codecaste-ai-chat-assistant/)

## Description

**AI Chat Assistant by CodeCaste** is a WordPress plugin that lets you build an 
AI-powered chatbot from your own documents — no coding required.

You upload your files (PDFs, Word documents, text files), the plugin reads and indexes
them, and a floating chat widget appears on your website. When visitors ask questions,
the AI searches your uploaded documents and gives accurate answers — using only 
the content you provided.

#### How It Works

 1. You upload documents (PDF, DOCX, TXT, MD) to the Knowledge Base.
 2. The plugin automatically extracts and indexes the text from those files.
 3. A chat widget appears on your website frontend.
 4. When a visitor asks a question, the AI finds the most relevant passages from your
    documents and answers using only that content.
 5. If the answer is not in your documents, the chatbot says so — it never makes up
    information.

#### Who Is This For?

 * **Clinics and healthcare providers** — Index your service guides, fee charts,
   and patient FAQs.
 * **Businesses and agencies** — Index your service brochures, pricing documents,
   and company FAQs.
 * **Educational institutions** — Index course details, admission guides, and policies.
 * **Any WordPress website** — Any site that wants an AI assistant answering questions
   from its own content.

#### Features

**Knowledge Base**

 * Upload PDF, DOCX, TXT, and Markdown (.md) files.
 * Pure-PHP PDF text reader is bundled — no server utilities or shell access are
   required.
 * View and edit extracted document text directly inside your WordPress dashboard.
 * When you edit and save a document, it is automatically re-indexed and shows a“
   Re-Indexed” status badge.
 * Each document shows a live status: Indexed, Re-Indexed, Processing, or Failed.

**Document Controls**

 * **Priority** — Assign High (100), Medium (50), or Low (20) weight to each document.
 * **Authoritative** — Mark important documents (e.g. official price lists, policies)
   as Authoritative to give them higher ranking priority in search results.
 * **Scope** — Set a document to be available site-wide (Global) or only on a specific
   WordPress page (Page-Specific).
 * **Public Toggle** — Enable or disable individual documents from the active index
   with one click.

**AI Provider Support**

 * **WordPress AI Client** — Uses the AI Client built into WordPress 7.0+. Choose
   and configure your AI provider once, under Settings > Connectors.
 * Works with whichever text-generation provider your site has set up.
 * Requires WordPress 7.0 or later. On older versions the plugin shows an update
   notice.

**Chat Widget**

 * Modern floating chat bubble on your website frontend.
 * Responsive design — works on desktop, tablet, and mobile.
 * Shows a live online indicator so visitors know the assistant is available.
 * Completely customisable position and appearance.

**Security & Accuracy**

 * Strict anti-hallucination enforcement — the AI answers only from your documents.
 * Prompt injection protection — malicious user instructions inside chat are ignored.
 * Rate limiting — protects your API quota and server.
 * No visitor data is stored or sent to third parties beyond the AI provider.

### External Services

This plugin does not connect to any AI service directly. It generates answers through
the WordPress AI Client, which sends requests to whichever AI provider the site 
administrator has configured under Settings > Connectors. Nothing is sent until 
a provider is configured and a visitor uses the chat widget.

When a visitor asks a question, the question, recent chat history, and the most 
relevant excerpts from your uploaded documents are passed to the WordPress AI Client
and, from there, to your configured provider. Please review that provider’s terms
of service and privacy policy.

You are responsible for informing your site visitors that their questions are processed
by the AI provider you select.

### Third-Party Libraries

 * **smalot/pdfparser** 2.12.0 (LGPL-3.0)
    Pure-PHP PDF text extraction library,
   bundled inside `includes/lib/pdfparser`. Lightly patched for WordPress coding
   standards compatibility. Source: https://github.com/smalot/pdfparser

## Screenshots

[⌊Knowledge Base — upload documents and manage Status, Priority, Scope, and Authoritative
controls.⌉⌊Knowledge Base — upload documents and manage Status, Priority, Scope,
and Authoritative controls.⌉[

Knowledge Base — upload documents and manage Status, Priority, Scope, and Authoritative
controls.

[⌊AI Provider — WordPress AI Client connection status and setup steps.⌉⌊AI Provider—
WordPress AI Client connection status and setup steps.⌉[

AI Provider — WordPress AI Client connection status and setup steps.

[⌊Chatbot Experience — live preview, bot name, welcome message, and widget settings.⌉⌊
Chatbot Experience — live preview, bot name, welcome message, and widget settings
.⌉[

Chatbot Experience — live preview, bot name, welcome message, and widget settings.

[⌊Suggested questions and floating assistant position controls.⌉⌊Suggested questions
and floating assistant position controls.⌉[

Suggested questions and floating assistant position controls.

[⌊Frontend chat widget — the floating assistant on a live website.⌉⌊Frontend chat
widget — the floating assistant on a live website.⌉[

Frontend chat widget — the floating assistant on a live website.

## Installation

 1.  Download the plugin zip file.
 2.  In your WordPress dashboard go to **Plugins > Add New > Upload Plugin**.
 3.  Upload the zip file and click **Install Now**.
 4.  Click **Activate Plugin**.
 5.  Go to **AI Chat Assistant > Settings & AI** in the WordPress admin sidebar.
 6.  Go to **Settings > Connectors** and set up an AI provider.
 7.  Return to **AI Chat Assistant > Settings & AI** and click **Test AI connection**,
     then try the chat widget.
 8.  Go to **AI Chat Assistant > Knowledge Base**.
 9.  Upload your PDF, DOCX, TXT, or MD files using the upload form.
 10. Wait for the status to show **Indexed** — your chatbot is now ready.
 11. Visit your website frontend and click the chat bubble to test it.

## FAQ

### What document formats are supported?

PDF, DOCX (Microsoft Word), TXT (plain text), and Markdown (.md) files are all supported.

### Does the chatbot use my documents or does it answer from general AI knowledge?

It uses only your uploaded documents. The AI is instructed not to invent or add 
any information that is not present in your files. If it cannot find an answer in
your documents, it tells the visitor so.

### Do I need to install anything on my server?

No. A PDF reader is bundled with the plugin. You do not need any system tools or
shell access.

### Which AI provider should I use?

Any provider you set up under Settings > Connectors in WordPress 7.0+ (OpenAI, Anthropic,
Google, and others). The plugin uses it automatically.

### How do I connect an AI provider?

In WordPress itself, under Settings > Connectors. The chat assistant uses that connection
automatically.

### My site runs WordPress below 7.0

AI answers need the AI Client that ships with WordPress 7.0 and later. Update WordPress,
then set up a provider under Settings > Connectors.

### The chat says no AI model is available

No AI provider is set up yet. Set one up under Settings > Connectors.

### What is the difference between Standard and Authoritative documents?

Standard documents are searched with normal relevance scoring. Authoritative documents
get a priority boost in the ranking algorithm — useful for marking your official
policy documents, pricing sheets, or core guides so they take precedence over supplementary
files.

### What does “Re-Indexed” status mean?

When you edit the extracted text of a document using the in-dashboard editor and
save it, the plugin automatically rebuilds the search index for that document. The
status badge changes from “Indexed” to “Re-Indexed” to confirm the update was successful.

### Is visitor data stored?

The plugin does not store visitor names, emails or chat transcripts in your database.
It does keep a few small, temporary items: a short-lived rate-limit counter keyed
by a hash of the visitor’s IP address (60 seconds), and temporary chat-session memory(
up to 2 hours, deleted when the chat ends). If a visitor clicks the thumbs up/down
button, the rating and the related message text (first 1,000 characters) are saved
in a feedback table on your site. Visitor questions are also sent to your chosen
AI provider; see “External Services” below.

### Will this slow down my website?

No. The chat widget only loads on the frontend and makes API requests when a visitor
submits a message. The rest of your website is unaffected.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AI Chat Assistant by CodeCaste” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ CodeCaste ](https://profiles.wordpress.org/codecaste/)

[Translate “AI Chat Assistant by CodeCaste” into your language.](https://translate.wordpress.org/projects/wp-plugins/codecaste-ai-chat-assistant)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/codecaste-ai-chat-assistant/),
check out the [SVN repository](https://plugins.svn.wordpress.org/codecaste-ai-chat-assistant/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/codecaste-ai-chat-assistant/)
by [RSS](https://plugins.trac.wordpress.org/log/codecaste-ai-chat-assistant/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.0**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 7.0 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[ai client](https://wordpress.org/plugins/tags/ai-client/)
   [chatbot](https://wordpress.org/plugins/tags/chatbot/)[knowledge base](https://wordpress.org/plugins/tags/knowledge-base/)
   [rag](https://wordpress.org/plugins/tags/rag/)
 *  [Advanced View](https://wordpress.org/plugins/codecaste-ai-chat-assistant/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/codecaste-ai-chat-assistant/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/codecaste-ai-chat-assistant/reviews/)

## Contributors

 *   [ CodeCaste ](https://profiles.wordpress.org/codecaste/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/codecaste-ai-chat-assistant/)