{"id":323192,"date":"2026-06-26T05:22:16","date_gmt":"2026-06-26T05:22:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-support-assistant-docuchat\/"},"modified":"2026-10-13T06:38:53","modified_gmt":"2026-10-13T06:38:53","slug":"docubot-ai-secureweb","status":"publish","type":"plugin","link":"https:\/\/me.wordpress.org\/plugins\/docubot-ai-secureweb\/","author":21077688,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.4","stable_tag":"trunk","tested":"7.1.3","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"DocuBot AI by secureweb","header_author":"Secure Web Technologies","header_description":"AI-powered Q&A chatbot using Retrieval-Augmented Generation (RAG). Upload documents or write manual knowledge entries and let the AI answer visitor questions accurately.","assets_banners_color":"","last_updated":"2026-10-13 06:38:53","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/securewebtechnologies.com\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/docubot-ai-secureweb\/","header_author_uri":"https:\/\/securewebtechnologies.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1131,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"The Knowledge Base management dashboard.","2":"The AI &amp; API Credentials setup screen.","3":"The Chat Widget in action on the frontend."}},"plugin_section":[],"plugin_tags":[2353,2364,239442,194533,70446],"plugin_category":[],"plugin_contributors":[259606],"plugin_business_model":[],"class_list":["post-323192","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-chatbot","plugin_tags-groq","plugin_tags-openai","plugin_tags-rag","plugin_contributors-secureweb16","plugin_committers-secureweb16"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/docubot-ai-secureweb.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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 <strong>Retrieval-Augmented Generation (RAG)<\/strong>. This means you can upload your own documents (PDF, DOCX, TXT) or write manual knowledge entries, and the AI will use <em>your<\/em> specific content to answer user questions.<\/p>\n\n<h3>\u2728 Key Features:<\/h3>\n\n<ul>\n<li><strong>Custom Knowledge Base:<\/strong> Upload PDF, DOCX, or TXT files, or type knowledge manually in the admin dashboard.<\/li>\n<li><strong>Chunk-level Editing:<\/strong> Edit your AI's knowledge base block-by-block directly from the admin panel.<\/li>\n<li><strong>Multiple LLM Support:<\/strong> Choose between Groq (Qwen, GPT-OSS, Llama) for blazing fast responses, or OpenAI (GPT-4o).<\/li>\n<li><strong>Customizable Widget:<\/strong> Easily change the chatbot color, icon position, welcome message, and quick reply suggestions.<\/li>\n<li><strong>No Coding Required:<\/strong> Simple interface to train your AI and customize its appearance.<\/li>\n<\/ul>\n\n<h3>\u26a0\ufe0f External API &amp; Privacy Disclosure (Important)<\/h3>\n\n<p>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.<\/p>\n\n<ul>\n<li><strong>OpenAI:<\/strong> 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. \n\n<ul>\n<li><a href=\"https:\/\/openai.com\/policies\/privacy-policy\">OpenAI Privacy Policy<\/a><\/li>\n<li><a href=\"https:\/\/openai.com\/policies\/terms-of-use\">OpenAI Terms of Service<\/a><\/li>\n<\/ul><\/li>\n<li><strong>Groq:<\/strong> 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.\n\n<ul>\n<li><a href=\"https:\/\/groq.com\/privacy-policy\/\">Groq Privacy Policy<\/a><\/li>\n<li><a href=\"https:\/\/groq.com\/terms-of-use\/\">Groq Terms of Use<\/a><\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><strong>What data is sent?<\/strong>\n*   During document upload\/manual entry: The text content of your documents is sent to OpenAI to generate mathematical embeddings.\n*   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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/docubot-ai-secureweb-plugin<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Run <code>composer install<\/code> inside the plugin directory to install required dependencies (<code>smalot\/pdfparser<\/code> and <code>phpoffice\/phpword<\/code>). <em>(Note: If you downloaded a pre-built zip, this step might not be needed).<\/em><\/li>\n<li>Navigate to <strong>AI Chatbot RAG<\/strong> in your WordPress dashboard.<\/li>\n<li>Go to the <strong>AI &amp; API Credentials<\/strong> tab and enter your OpenAI API key (required for embeddings) and optionally your Groq API key.<\/li>\n<li>Upload documents or write manual content in the <strong>Knowledge Base<\/strong> tab to train your AI.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20openai%20api%20key%3F\"><h3>Do I need an OpenAI API Key?<\/h3><\/dt>\n<dd><p>Yes, an OpenAI API key is currently required to generate mathematical embeddings for your documents (using the <code>text-embedding-3-small<\/code> model), 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.<\/p><\/dd>\n<dt id=\"what%20file%20types%20can%20i%20upload%3F\"><h3>What file types can I upload?<\/h3><\/dt>\n<dd><p>The plugin currently supports <code>.txt<\/code>, <code>.pdf<\/code>, and <code>.docx<\/code> files. You can also write content manually directly in the dashboard.<\/p><\/dd>\n<dt id=\"where%20are%20my%20documents%20stored%3F\"><h3>Where are my documents stored?<\/h3><\/dt>\n<dd><p>The raw files are uploaded to your standard WordPress <code>wp-content\/uploads\/ai-docs\/<\/code> folder. The extracted text is chunked and stored in a custom database table (<code>wp_docubot_ai_secureweb_embeddings<\/code>).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Fixed activation fatal error by safeguarding autoloader against missing Composer platform_check.php.<\/li>\n<li>Bundled complete production vendor dependencies in SVN releases for seamless one-click WordPress activation.<\/li>\n<li>Removed deprecated\/duplicate trunk folders to keep directory clean and lightweight.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Upgraded to real-time multi-turn conversational AI: full session conversation history passed to Groq LLM for natural, context-aware answers.<\/li>\n<li>Added conversational lead capture: smartly requests visitor name, phone number, and email conversationally within chat flow without rigid form popups.<\/li>\n<li>Enforced strictly English responses across all AI responses and greeting fallbacks.<\/li>\n<li>Enhanced mobile viewport and fixed position stability: optimized viewport sizing, scroll behavior, and z-index positioning for mobile and non-responsive themes.<\/li>\n<li>Added asset cache-busting: dynamic filemtime versioning ensures logged-out visitors always load updated styles and scripts immediately.<\/li>\n<li>Enhanced admin dashboard: popup modal for viewing full lead details and streamlined chat transcript management.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Added rule-based instant conversational handler for greetings, pleasantries, identity, and farewells (0 API cost, zero delay).<\/li>\n<li>Added session-wise conversation history tracking with frontend session persistence.<\/li>\n<li>Added dedicated 'Chat Logs' tab in the Admin Control Panel to view and manage complete visitor chat transcripts.<\/li>\n<li>Enhanced error handling with friendly fallback messages during API rate limits and network delays.<\/li>\n<li>Updated compatibility for latest WordPress core releases up to 7.1.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Fixed Groq model compatibility: added support for active Qwen 3.8 and GPT-OSS models.<\/li>\n<li>Added collision-prevention guards and function_exists checks to prevent fatal errors with duplicate installs.<\/li>\n<li>Enhanced error handling and logging for OpenAI embedding quota limits and Groq completion responses.<\/li>\n<li>Updated composer configuration with GPL license and allowed plugin installer permissions.<\/li>\n<li>Resolved WordPress.org warnings for tags limit, contributor name, and stable tag.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Added Hindi and multilingual auto-detection support.<\/li>\n<li>Enhanced RAG accuracy with strict context-only prompting to eliminate hallucinations.<\/li>\n<li>Improved keyword search with prefix matching and optimized similarity scoring threshold (0.15).<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Knowledge base improvements and tag updates.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added manual knowledge entry features.<\/li>\n<li>Added inline chunk editing via AJAX.<\/li>\n<li>Refactored code structure to meet WordPress.org directory guidelines.<\/li>\n<li>Improved security with comprehensive nonce checks and capability checks.<\/li>\n<li>Extracted inline CSS and JS into separate enqueued files.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Initial stable release with Groq and OpenAI support.<\/li>\n<\/ul>","raw_excerpt":"AI-powered chatbot using RAG. Upload documents or write knowledge entries to let the AI answer visitor questions accurately.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/323192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=323192"}],"author":[{"embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/secureweb16"}],"wp:attachment":[{"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=323192"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=323192"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=323192"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=323192"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=323192"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/me.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=323192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}