{"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-06-26T08:01:59","modified_gmt":"2026-06-26T08:01:59","slug":"docubot-ai-secureweb","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/docubot-ai-secureweb\/","author":21077688,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"trunk","tested":"7.0","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-06-26 08:01:59","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":15,"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 (Llama 3, Mixtral, Gemma) 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 Llama 3 or Mixtral. 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.0<\/h4>\n\n<ul>\n<li><strong>Critical Change:<\/strong> AI now answers <strong>ONLY from uploaded content and data<\/strong> \u2014 no more general knowledge or made-up answers. If info not in knowledge base, says sorry.<\/li>\n<li><strong>Critical Change:<\/strong> Language auto-detection \u2014 <strong>English by default<\/strong>, auto-switches to Hindi if user asks in Hindi. No forced Hinglish.<\/li>\n<li><strong>Improved:<\/strong> Higher relevance threshold (0.15) ensures only genuinely matching content is used for answers.<\/li>\n<li><strong>Improved:<\/strong> Empty knowledge base message simplified to a clear English\/Hindi message.<\/li>\n<li><strong>Updated:<\/strong> Version bumped to 1.4.0.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>Major Improvement:<\/strong> Enhanced keyword similarity with prefix\/partial matching for better Hindi-English mixed queries.<\/li>\n<li><strong>Major Improvement:<\/strong> AI always receives at least some context data - no more \"upload nahi kiya\" responses when data exists.<\/li>\n<li><strong>Major Improvement:<\/strong> Completely revamped response formatting engine - supports <strong>bold<\/strong>, <em>italic<\/em>, bullet lists, numbered lists, and proper paragraph spacing.<\/li>\n<li><strong>Improved:<\/strong> New Hinglish-friendly system prompt - AI speaks Hindi+English mix with emojis for a human-like feel.<\/li>\n<li><strong>Improved:<\/strong> Empty knowledge base message now shows friendly Hinglish text with emoji guidance.<\/li>\n<li><strong>Improved:<\/strong> Enhanced CSS with rich text styling  - styled lists, code blocks, inline code, headings inside chat bubbles.<\/li>\n<li><strong>Updated:<\/strong> Version bumped to 1.3.0.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added manual knowledge entry feature.<\/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 Q&amp;A chatbot using Retrieval-Augmented Generation (RAG). Upload documents or write manual knowledge entries and let the AI answer visito &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/323192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=323192"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/secureweb16"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=323192"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=323192"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=323192"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=323192"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=323192"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=323192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}