=== 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.1.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 is an intelligent chat assistant that seamlessly integrates with your WordPress website, providing smart, context-aware responses using advanced AI models. It combines your website's content, products, and documents to deliver accurate and relevant answers to your visitors' questions. ## Why This Plugin is a Must-Have for WooCommerce & WordPress Site Owners Running a WooCommerce or WordPress site means you're constantly juggling tasks from managing products and content to answering customer queries. This is where AskAny smart AI-powered chat plugin steps in to make your life easier. ### 💬 Instant, 24/7 Support – Even While You Sleep Customers expect answers *now*, not hours later. Delayed responses often lead to lost sales or frustrated users. AskAny provides **instant, AI-generated replies** that are context-aware and conversational. Whether it’s a product question or a policy inquiry, the chatbot can handle it- no human required. ### 🛒 Tailored for WooCommerce Stores This plugin isn't just a chatbot, it’s a **sales assistant**. It can recommend products, display interactive product cards with price and availability, and even let users **add items to their cart right from the chat**. It’s like having a knowledgeable salesperson on your site 24/7. ### 🧾 Built-in Form Support – Collect Leads & Feedback with Ease Now you can **seamlessly integrate any form plugin** (like Contact Form 7, WPForms, Gravity Forms etc.) directly inside the chat widget. Use it to: - Collect user feedback - Offer a “Contact Us” form - Capture leads for follow-ups - Run surveys or polls No need to redirect users or open a new page—everything happens right inside the chat. This keeps the user engaged and improves conversion rates. ### 🔍 Fewer Support Tickets, More Free Time By answering common questions automatically like shipping policies, return procedures, or product specs, your support load is drastically reduced. That means fewer emails, fewer tickets, and more time for you to focus on growing your business. ### 🧠 Built for WordPress, Not Just Compatible Our plugin deeply integrates with your WordPress environment. It can **index your content**, understand your pages, posts and answer questions about your site just like a human support agent. Add your own Q&A pairs, import PDFs, or connect to WooCommerce effortlessly. If you're looking for a way to: - Reduce support workload - Improve customer satisfaction - Boost conversions - Offer a smarter, faster support experience **Then this plugin is your all-in-one solution.** Let your chatbot handle the questions—while you handle the 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 * Automatic 7-day cleanup * Clear chat functionality * **Customization Options** * Light/Dark theme support * Customizable widget position * Adjustable widget size * Custom welcome messages * Suggested questions * **Security & Performance** * Secure API key management * Rate limiting protection * Input sanitization * User permission management * Optimized content indexing * Caching system = 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 == 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 == Changelog == = 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