Description
DocuBot AI by secureweb allows you to create an intelligent customer support agent directly on your WordPress site. Unlike standard AI chatbots that give generic answers, this plugin uses Retrieval-Augmented Generation (RAG). This means you can upload your own documents (PDF, DOCX, TXT) or write manual knowledge entries, and the AI will use your specific content to answer user questions.
✨ Key Features:
- Custom Knowledge Base: Upload PDF, DOCX, or TXT files, or type knowledge manually in the admin dashboard.
- Chunk-level Editing: Edit your AI’s knowledge base block-by-block directly from the admin panel.
- Multiple LLM Support: Choose between Groq (Qwen, GPT-OSS, Llama) for blazing fast responses, or OpenAI (GPT-4o).
- Customizable Widget: Easily change the chatbot color, icon position, welcome message, and quick reply suggestions.
- No Coding Required: Simple interface to train your AI and customize its appearance.
⚠️ External API & Privacy Disclosure (Important)
This plugin relies on third-party services to generate embeddings and chat responses. By using this plugin, you agree to send data to these services.
- OpenAI: Used for generating document embeddings (text-embedding-3-small) and optionally for chat completions (GPT-4o, GPT-4o-mini). When a user asks a question, or when you upload a document, the text content is sent to OpenAI’s servers.
- Groq: Optionally used for blazing fast chat completions using models like Qwen 3.8, GPT-OSS, or Llama. When a user asks a question, the query and relevant context from your database are sent to Groq’s servers.
What data is sent?
* During document upload/manual entry: The text content of your documents is sent to OpenAI to generate mathematical embeddings.
* During a chat session: The user’s question, plus small snippets of your documents (the context), are sent to the selected AI provider (Groq or OpenAI) to generate the answer.
Installation
- Upload the plugin files to the
/wp-content/plugins/docubot-ai-secureweb-plugindirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Run
composer installinside the plugin directory to install required dependencies (smalot/pdfparserandphpoffice/phpword). (Note: If you downloaded a pre-built zip, this step might not be needed). - Navigate to AI Chatbot RAG in your WordPress dashboard.
- Go to the AI & API Credentials tab and enter your OpenAI API key (required for embeddings) and optionally your Groq API key.
- Upload documents or write manual content in the Knowledge Base tab to train your AI.
FAQ
-
Do I need an OpenAI API Key?
-
Yes, an OpenAI API key is currently required to generate mathematical embeddings for your documents (using the
text-embedding-3-smallmodel), even if you use Groq for the chat responses. If no OpenAI key is provided, the plugin will fall back to a less accurate „keyword match“ system. -
What file types can I upload?
-
The plugin currently supports
.txt,.pdf, and.docxfiles. You can also write content manually directly in the dashboard. -
Where are my documents stored?
-
The raw files are uploaded to your standard WordPress
wp-content/uploads/ai-docs/folder. The extracted text is chunked and stored in a custom database table (wp_docubot_ai_secureweb_embeddings).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“DocuBot AI by secureweb” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “DocuBot AI by secureweb” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.4.4
- Fixed activation fatal error by safeguarding autoloader against missing Composer platform_check.php.
- Bundled complete production vendor dependencies in SVN releases for seamless one-click WordPress activation.
- Removed deprecated/duplicate trunk folders to keep directory clean and lightweight.
1.4.3
- Upgraded to real-time multi-turn conversational AI: full session conversation history passed to Groq LLM for natural, context-aware answers.
- Added conversational lead capture: smartly requests visitor name, phone number, and email conversationally within chat flow without rigid form popups.
- Enforced strictly English responses across all AI responses and greeting fallbacks.
- Enhanced mobile viewport and fixed position stability: optimized viewport sizing, scroll behavior, and z-index positioning for mobile and non-responsive themes.
- Added asset cache-busting: dynamic filemtime versioning ensures logged-out visitors always load updated styles and scripts immediately.
- Enhanced admin dashboard: popup modal for viewing full lead details and streamlined chat transcript management.
1.4.2
- Added rule-based instant conversational handler for greetings, pleasantries, identity, and farewells (0 API cost, zero delay).
- Added session-wise conversation history tracking with frontend session persistence.
- Added dedicated ‘Chat Logs’ tab in the Admin Control Panel to view and manage complete visitor chat transcripts.
- Enhanced error handling with friendly fallback messages during API rate limits and network delays.
- Updated compatibility for latest WordPress core releases up to 7.1.
1.4.1
- Fixed Groq model compatibility: added support for active Qwen 3.8 and GPT-OSS models.
- Added collision-prevention guards and function_exists checks to prevent fatal errors with duplicate installs.
- Enhanced error handling and logging for OpenAI embedding quota limits and Groq completion responses.
- Updated composer configuration with GPL license and allowed plugin installer permissions.
- Resolved WordPress.org warnings for tags limit, contributor name, and stable tag.
1.4.0
- Added Hindi and multilingual auto-detection support.
- Enhanced RAG accuracy with strict context-only prompting to eliminate hallucinations.
- Improved keyword search with prefix matching and optimized similarity scoring threshold (0.15).
1.3.0
- Knowledge base improvements and tag updates.
1.2.1
- Added manual knowledge entry features.
- Added inline chunk editing via AJAX.
- Refactored code structure to meet WordPress.org directory guidelines.
- Improved security with comprehensive nonce checks and capability checks.
- Extracted inline CSS and JS into separate enqueued files.
1.1.0
- Initial stable release with Groq and OpenAI support.