=== AskAny - AI-Powered Chat Assistant === Contributors: wpazleen Tags: ai chat, chatbot, customer support, woocommerce, pdf search, openai, deepseek Requires at least: 5.9 Tested up to: 6.9 Stable tag: 1.5.2 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Transform your WordPress site with AI-powered assistant for instant responses and unmatched performance. == Description == **AskAny - AI Chatbot for WooCommerce & WordPress** is the most advanced **AI chat** assistant featuring breakthrough **SSE technology**, powered by **OpenAI**, **DeepSeek**, and **Gemini**. This revolutionary **chatbot** delivers **instant responses**, **reduced server load**, and **seamless communication** that transforms your **customer support** experience. 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 ### ⚑ Revolutionary Real-Time Chat (Industry First!) AskAny is the **only AI chatbot** that uses **Server-Sent Events (SSE)** for true real-time performance. - πŸ”₯ **90% Less Server Load** β€” No more heavy polling, ultra-light performance - 🌐 **True Real-Time Messaging** β€” Replies appear instantly, like WhatsApp or Telegram - πŸ›‘οΈ **Automatic Fallback Mode** β€” Smoothly switches to polling if SSE isn’t supported - πŸ“± **Zero Configuration** β€” Works instantly, no technical setup needed - 🌍 **External Website Indexing** β€” Crawl and index **external websites** to feed your AI assistant with extended knowledge AskAny delivers **30x faster responses** than traditional chatbot plugins β€” combining speed, accuracy, and real-time intelligence. ## πŸ’¬ 24/7 AI Chat Support That Never Sleeps AskAny acts as a **smart support agent** that’s always online β€” answering questions, browsing content, and even handling WooCommerce interactions. - πŸ€– AI chat powered by **OpenAI**, **DeepSeek**, and **Gemini** - πŸ‘₯ Assign real **support agents** for hybrid human + AI chat - πŸ”„ Seamless **AI-to-Agent** conversation handover - πŸŒ™ **AI takeover** during off-hours or weekends - πŸ’Ύ Every conversation saved in your dashboard Your visitors always get the best of both worlds: **instant AI assistance** or **human chat support** when needed. # πŸ›οΈ Designed for WooCommerce Success AskAny isn’t just a chatbot it’s your **AI sales assistant**. It understands your product catalog, pricing, and stock in real-time. - πŸ›’ Show product cards with **images, price, and stock info** - 🧭 Smart **product recommendations** and upselling - πŸ—‚οΈ Fetch product info directly in chat - πŸ’¬ Add to cart directly from the chat window - πŸ“¦ Reduce repetitive pre-sale questions Drive more sales while cutting down manual support automatically. ## πŸ“„ Intelligent Document & PDF Search AskAny’s **Document AI** allows users to search through uploaded manuals, policies, or guides right inside chat. - πŸ“š Upload **PDFs or documents** to serve as your knowledge base - 🧠 AskAny extracts **contextual answers** using AI - πŸ” Combine document-based results with AI chat for precise responses Perfect for **knowledge bases**, **policy documentation**, or **training materials**. ## 🌐 External Website Crawling & Indexing Go beyond your WordPress site. With AskAny’s **External Website Indexing**, you can connect and crawl external websites to expand your AI’s knowledge. - 🌍 Add URLs or entire domains to index their content - πŸ”Ž Allow your AI to reference information from trusted sources - 🧩 Combine internal + external data for richer AI responses - 🧠 Perfect for multi-brand support, documentation hubs, and SaaS integrations Empower your AI to understand your **whole digital ecosystem** β€” not just one site. ## 🧾 Forms Inside the Chatbot (No Reload Needed) Enable any form plugin directly inside the chat widget: (Contact Form 7, WPForms, Gravity Forms, Simple Form, etc.) - πŸ’‘ Capture leads instantly - πŸ—£οΈ Run surveys and polls - πŸ’¬ Handle feedback and support queries - βš™οΈ No page reloads or popups Keep users engaged and capture valuable information effortlessly. ## 🧠 AI That Understands Your Website AskAny is designed **specifically for WordPress** and deeply integrated with your site’s data. - πŸ“„ Reads and understands pages, posts, and FAQs - 🏷️ Handles WooCommerce products natively - πŸ“š Supports **PDF search** for document-based responses - βš™οΈ Integrates **OpenAI**, **DeepSeek**, and **Gemini** for intelligence - 🎯 Customizable **Q&A** logic and behavior Your users get **contextual, relevant, and instant answers** every time. ## πŸš€ 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 == 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 for the AI Assistant, you must register with one of the following providers: * **OpenAI:** Register with [Open AI](https://platform.openai.com/login?launch) or log in to obtain your key. * Find your key here: [Open AI API Key Location](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key) * **DeepSeek:** Register with [DeepSeek](https://platform.deepseek.com/login?launch) or log in to obtain your key. * **Google Gemini:** Log in to [Google AI Studio](https://aistudio.google.com/app/apikey) to generate and manage your Gemini API key. == Privacy Notes == The AI Assistant accesses the API interface of your chosen provider (OpenAI, DeepSeek, or Google Gemini) 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` * `https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent` == Policy Information == Please review the full terms of use and data protection policies for the AI providers you choose to use: * **OpenAI:** [OpenAI Policies](https://openai.com/policies) * **DeepSeek AI:** [DeepSeek AI Terms of Service](https://deepseek.com/terms-of-service) * **Google Gemini:** * [Gemini API Additional Terms of Service](https://ai.google.dev/gemini-api/terms) * [Google API Services User Data Policy](https://policies.google.com/terms/service-specific?hl=en-US) == 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 – See the live chat experience on the frontend. 2. πŸ§‘β€πŸ’» Agent Chat Interface – Manage real-time conversations from the backend. 3. 🏠 Homepage Settings – Configure chat display and entry behavior easily. 4. πŸ€– AI Assistant Setup – Connect and customize your AI assistant effortlessly. 5. πŸ‘₯ AI Agent Management – Add, edit, or organize multiple AI agents. 6. ⚑ AI Replies in Chat Panel – Experience instant AI-generated markdown supported responses. 7. 🧩 Embed Form Support – Seamlessly integrate chat forms anywhere on your site. == Changelog == = 1.5.2 – 03 Dev 2025 = - **Enhancement:** WP 6.9 compatibility = 1.5.1 – 12 Nov 2025 = - ✨ Improved frontend chat typing indicator - βš™οΈ Fixed all frontend bug and logs = 1.5.0 – 11 Nov 2025 = - 🌐 New Gemini AI intagration and new Open AI models Introduced - ✨ Improved frontend chat panel with avatar - βš™οΈ Improved admin chat panel with avatar - πŸ’¬ Improved chat panel with AI response and markdown format - πŸ‘€ Improved chat indexing for templates and docs For a detailed list of updates, refer to our [Changelog](https://headwayapp.co/askany/). For older changelog entries, please see the [additional changelog.txt file](https://plugins.svn.wordpress.org/askany/trunk/changelog.txt) delivered with the plugin.