=== AskAny - AI-Powered Chat Assistant === Contributors: michaelbar Tags: ai chat, chatbot, customer support, woocommerce, pdf search, openai, deepseek Requires at least: 5.9 Tested up to: 6.8 Stable tag: 1.2.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Transform your WordPress site with an AI-powered chat assistant that understands your content, products, and documents to provide intelligent responses. == Description == **AskAny - AI Chatbot for WooCommerce & WordPress** is a powerful **AI chat** assistant built for modern websites. Powered by **OpenAI** and **DeepSeek**, this smart **chatbot** delivers instant, accurate, and conversational answers across your site, helping you level up your **customer support**, reduce workload, and boost sales. Whether you run a **WooCommerce** store or a content-rich **WordPress** site, AskAny combines **AI chat**, **PDF search**, and contextual understanding to provide the most intelligent **customer support chatbot** experience. ## Why AskAny Is the Ultimate AI Chatbot for WooCommerce & WordPress Managing a website or **WooCommerce** store involves constant customer queries. AskAny uses **OpenAI**, **DeepSeek**, and custom **AI chat** logic to automatically handle repetitive questions, product inquiries, and form submissions giving you more time to focus on business. ### 💬 24/7 AI Chat Customer Support AskAny works like a human agent but smarter and faster. This **AI chatbot** provides real-time **customer support**, understands product catalogs, navigates site content, and offers instant answers even while you sleep. Every **AI chat** response is powered by **OpenAI** or **DeepSeek** and tailored to your website’s content. AskAny offers flexible **customer support** through both **AI chat** and real-time agents. - ✅ Assign any registered WordPress user as a **live agent** - ✅ Let agents jump into chats alongside the **AI chatbot** - ✅ Perfect for offering **hybrid support**: human + AI - ✅ On weekends or off-hours, full **AI chat** takes over seamlessly - ✅ Every conversation is powered by **OpenAI** or **DeepSeek** and context-aware This dual system ensures users always receive a response whether from a real support agent or the intelligent **AI chatbot**. ### 🛍️ Designed for WooCommerce Excellence Not just any **chatbot** this is your **AI chat** sales team. It’s fully integrated with **WooCommerce**, allowing users to: - Discover products via **AI chat** - See product cards with price, image, and stock info - Add items to cart right from the **chatbot** - Get custom answers based on product data - Reduce pre-sale questions through automated **customer support** Whether you're upselling or troubleshooting, AskAny’s **WooCommerce** integration handles it with ease. ### 📄 Intelligent PDF Search & Document AI AskAny includes powerful **PDF search** features. Upload manuals, guides, or policy documents, and the **AI chatbot** will intelligently extract answers from them. Using **DeepSeek** and **OpenAI**, this makes the plugin ideal for knowledge bases and documentation-heavy sites. ### 🧾 Forms Inside the Chatbot (No Page Reload!) Connect any form plugin (like Contact Form 7, WPForms, Gravity Forms, Simple Form) directly inside the **AI chat** widget: - Capture leads - Get user feedback - Run surveys or polls - Offer support via embedded forms All within the same **chatbot** window no popups or redirects. This keeps your users engaged and improves your **customer support** experience. ### 🧠 AI Chat That Understands Your Website Built specifically for **WordPress**, not just compatible. This **AI chat** assistant can: - Understand pages, posts, FAQs - Handle **WooCommerce** products natively - Search content and documents via **PDF search** - Use **OpenAI** or **DeepSeek** for context-aware responses - Let you customize Q&A behavior It’s not just a **chatbot**, it’s a full-on **AI chat** system designed for seamless **customer support**. ## 🚀 Key Benefits - ✅ Built-in **agent management** system - ✅ Hybrid **chatbot** with real-time human agents + full **AI chat** fallback - ✅ Reduce **customer support** load - ✅ Boost **WooCommerce** sales with smart upselling - ✅ Enable **AI chat** on every page - ✅ Power your **chatbot** with **OpenAI** or **DeepSeek** - ✅ Let users search your documents via **PDF search** - ✅ Keep your users engaged longer If you're ready to transform your site with real-time **customer support**, smarter **AI chat**, and powerful **WooCommerce** integration, AskAny is your all-in-one **chatbot** plugin. Built with **OpenAI**, **DeepSeek**, and powerful **PDF search**, it’s the ultimate way to automate and scale your support. **Let the chatbot do the work—while you grow your business.** = Key Features = * **Advanced AI Integration** * Dual AI model support (OpenAI and DeepSeek) * Smart fallback system for uninterrupted service * Context-aware responses based on conversation history * Natural language processing for better understanding * **Comprehensive Knowledge Base** * Automatic WordPress content indexing * PDF document processing and integration * WooCommerce product integration * Custom Q&A pair management * **E-commerce Integration** * Smart product recommendations * Interactive product cards in chat * Price and availability information * Direct "Add to Cart" functionality * Product search and filtering * **Chat Interface** * Modern, responsive design * Customizable chat widget * Emoji support * Chat history persistence * Clear chat functionality * **Customization Options** * Customizable widget position * Adjustable Home page Icon, Wigets Icons * Custom welcome messages * Suggested questions * **Backend Chat Management** * Admins can view all user conversations * All chats are stored in the database * **User List & Agent Management** * View all registered users * Easily assign or remove agent roles * **AI-to-Agent Live Chat Handover** * Agents can take over AI conversations in real-time * Smooth transition between AI and human support * **Live Chat Statistics Dashboard** * Visual breakdown of chat performance - Total sessions - Active sessions (last 24h) - Total messages - AI-handled vs. Agent-handled interactions * **Dedicated Home Page Settings** * Show agents with profiles * Custom welcome message * Link documentation section on homepage * **FAQ & Custom Links Management** * Add and display FAQ on the homepage * Add custom links for quick access = Use Cases = 1. **Customer Support** * Answer product queries * Provide shipping information * Handle return policy questions * Assist with technical support 2. **E-commerce Assistant** * Product recommendations * Price inquiries * Stock availability * Order tracking assistance 3. **Knowledge Base** * FAQ automation * Document search * Policy information * Technical documentation 4. **Website Guide** * Navigation assistance * Content discovery * Feature explanation * Service information == Usage == Basic Shortcode: [askany_chat] Advanced Shortcode Options: [askany_chat title="Customer Support" theme="dark" position="bottom-right" width="350px" height="500px"] Available Attributes: * title - Chat window title * placeholder - Input placeholder text * button_text - Send button text * theme - Theme (light/dark) * position - Position (inline/bottom-left/bottom-right) * width - Width (e.g., 350px) * height - Height (e.g., 500px) == Installation == 1. Upload the plugin files to `/wp-content/plugins/askany` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Configure the plugin settings in the AskAny menu 4. Add your AI API keys (OpenAI or DeepSeek) 5. Index your content and upload relevant PDFs 6. Add the chat widget using shortcode or automatic placement = API Key = To obtain an API key, you must [register with Open AI](https://platform.openai.com/login?launch) or [register with DeepSeek](https://platform.deepseek.com/login?launch). Here you can find free [Open AI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key). == Privacy Notes == The AI Assistant accesses the API interface of Open AI to generate responses based on your indexing Content, PDF and Q&A. Data is sent to and retrieved from the following interfaces: - https://api.openai.com/v1/chat/completions - https://api.deepseek.com/v1/chat/completions Here you can find all information about the terms of use and data protection of Open AI: https://openai.com/policies and DeepSeek AI : https://deepseek.com/terms-of-service. == Frequently Asked Questions == = Which AI models are supported? = AskAny currently supports OpenAI and DeepSeek AI models. You can choose either provider or switch between them. = Does it work with WooCommerce? = Yes, AskAny seamlessly integrates with WooCommerce to provide product information, pricing, and shopping assistance. = Can it read PDF documents? = Yes, AskAny can process and index PDF documents, making their content accessible through the chat interface. = How is chat history handled? = Chat history is stored locally in the user's browser and automatically expires after 7 days. Users can also clear their chat history manually. = Is it GDPR compliant? = Yes, AskAny is designed with privacy in mind. All data processing is transparent, and no personal information is stored without consent. == Screenshots == 1. Chat widget in action 2. Agent Chat widget in admin panel 3. Homepage settings panel 4. AskAny AI Configure settings panel 5. User list and agent settings panel == Changelog == ### 1.2.0 – 21 July 2025 ### 🚀 New Features - **Backend Chat Management Improved** - Admin can now view all user conversations stored in the database. - Centralized chat panel to manage and monitor user chats. - Session Memory & Context Awareness - Enhanced Product Information Access - Improved AI Context System - Multi-layered context building - Session continuity maintained across interactions - **User List & Agents Management** - Introduced a dedicated panel to view all registered users. - Easily assign or remove users as agents with one click. - **AI to Agents Handover for Live Conversations** - Agents can now seamlessly take over any ongoing AI conversation in real-time. - Enhances support experience by allowing human intervention during critical moments. - **Live Chat Statistics Dashboard** - Visual overview of live chat activity: - **Total Sessions:** - **Active (24h):** - **Total Messages:** - **AI Handled:** - **Agent Handled:** (real-time stats) ### 🏠 Home Page Settings - **Dedicated Homepage Settings Added** - Display assigned agents with profile info. - Set a customizable welcome message. - Link to documentation section directly from homepage. - **FAQ Management** - Add and manage frequently asked questions. - FAQs displayed prominently on homepage for better user guidance. - **Custom Links Management** - Easily add custom links that will appear on the homepage. - Useful for quick access to important resources or external platforms. - **Frontend Enhancements** - Enhanced full chat widgets UI. - Enhanced product search now looks in both title and content - Comprehensive product data includes price, images, stock status. = 1.1.1 = - **SDK Integration** - **Resolved Toast Issues that preventing save settings** = 1.1.0 = - **Introduced Form Integration Within Chat Widgets** Seamlessly integrated forms directly into chat widgets, allowing users to submit lead information, feedback, or other custom inputs without leaving the chat interface. - **Resolved Default Q&A Pair Duplication Issue** Fixed an issue where default question-and-answer pairs were being duplicated during initialization, ensuring a clean and consistent setup experience. - **Enhanced Response Accuracy and Formatting** Improved the logic and structure of chatbot responses for greater clarity, relevance, and consistency in tone. This enhancement reduces redundant or confusing replies. - **Enhanced Uninstall Hook to Clean Database on Plugin Removal** Updated the uninstall process to ensure all plugin-related data is thoroughly removed from the database when the plugin is uninstalled, leaving no residual entries behind. = 1.0.1 = * Update banner, readme, icons * Update admin page UI = 1.0.0 = * Initial release