=== MxChat - AI Chatbot for WordPress === Contributors: mxchat Tags: chatbot, AI, OpenAI, GPT, WooCommerce Requires at least: 5.0 Tested up to: 6.6 Requires PHP: 7.2 Stable tag: 1.1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html MxChat is a customizable AI chatbot plugin for WordPress, leveraging OpenAI's GPT models to enhance user interaction. == Description == **MxChat** is a versatile **AI chatbot plugin** that brings the power of **OpenAI's GPT models** directly into your **WordPress site**. This plugin enables you to create an **intelligent chatbot** that can interact with users, answer questions, and provide assistance in real-time, all while being fully customizable to match your website's design and functionality. ### Personalize the AI Chatbot with Custom Knowledge: One of the standout features of **MxChat** is the ability to fine-tune the AI’s responses by adding **personalized content** directly through the WordPress admin dashboard. This is achieved through **vector embeddings**, a powerful technique that allows the AI to reference specific information you provide. Whether you want the chatbot to answer questions based on your company’s unique services, products, or content, you can easily submit this information manually or via your website's sitemap. By submitting custom knowledge, you guide the AI to understand and prioritize the most relevant data, ensuring that the responses are not only accurate but also highly contextual to your business or website. - **Manual Content Submission**: Within the WordPress admin, you can manually add specific articles, FAQs, or any text that you want the AI to use as a reference. The plugin processes this content using vector embeddings, enhancing the chatbot's ability to deliver precise, context-aware answers. - **Sitemap and URL Submission**: MxChat now supports both sitemap and individual URL submissions. By submitting your website’s sitemap, MxChat automatically extracts content from the URLs listed, adding it to the chatbot’s knowledge base. You can also manually submit specific URLs to ensure targeted content is included. This integration helps keep the AI well-informed about your site’s content, enhancing the overall user experience. ### GDPR Compliance & Multilingual Support: - **Complianz Integration (Pro Feature)**: With the new Complianz integration, MxChat ensures GDPR compliance by only displaying the chatbot to users who have consented to marketing cookies. This helps website owners stay compliant with data privacy regulations, and is available as a **Pro feature** for enhanced privacy controls. - **Customizable Privacy Policy Text**: To support multilingual websites and specific legal requirements, MxChat allows you to customize the privacy policy text displayed with the chatbot, ensuring that users are informed about data usage in a transparent and compliant manner. These features make MxChat an ideal solution for businesses seeking multilingual support and GDPR compliance while delivering a seamless and personalized AI-driven chatbot experience. ### New in Version 1.1.2: - **URL Support for Sitemap and Manual Submissions**: You can now submit both sitemaps and individual URLs, making it easier to integrate content across your site. Additionally, a URL field has been added to manual submissions, allowing you to pair specific content entries with URLs for better context and retrieval. - **Enhanced WooCommerce Integration**: We’ve expanded the WooCommerce features with a new “Add to Cart” and checkout flow. Users can now interact with the chatbot to add products to their cart and proceed to checkout, creating a more seamless shopping experience. - **Improved Content Submission Feedback**: Error messages for content submissions have been refined, providing clearer feedback to help you troubleshoot submission issues more effectively. - **New FAQ Section**: The "General" section has been replaced with a dedicated FAQ section to provide quick answers to common questions. This update includes helpful information on configuring the chatbot, troubleshooting, and understanding integration features. ### New in Version 1.1.0: - **Complianz Integration for GDPR Compliance**: For pro users we've added integration with the Complianz plugin, allowing your chatbot to fully comply with GDPR consent requirements. The chatbot will only activate if the user has given consent for marketing, ensuring that personal data is handled responsibly and in accordance with GDPR regulations. - **Toggle Complianz Logic**: A new setting in the admin panel for pro users allows website owners to enable or disable the Complianz consent logic for the chatbot. When enabled, the chatbot will follow Complianz's consent management system, and when disabled, it will operate normally without consent checks. ### Key Features: - **Integrate OpenAI API**: Use your own OpenAI API key to leverage the power of AI-driven responses on your WordPress site. - **Customizable Chatbot Settings**: Tailor the chatbot's behavior, including the AI model, introductory message, and more, to fit your specific needs. - **Knowledge Base Integration**: Submit custom knowledge content using vector embeddings, allowing the chatbot to provide more accurate and contextually relevant responses. - **Sitemap and URL Submission**: MxChat now supports both sitemap and individual URL submissions. By submitting your website’s sitemap, MxChat automatically extracts content from the URLs listed, adding it to the chatbot’s knowledge base. You can also manually submit specific URLs to ensure targeted content is included. This integration helps keep the AI well-informed about your site’s content, enhancing the overall user experience. - **WooCommerce Integration**: Directly integrate WooCommerce products into your chatbot for a seamless shopping experience. - **Chat Transcripts**: Review and analyze chat transcripts directly from your WordPress dashboard. This feature allows you to monitor conversations, identify frequently asked questions, and further align and tune your AI chatbot based on real user interactions. - **Easy Integration**: Add the chatbot to any page using a shortcode or automatically append it to the body element of your site. - **Pro Version with Advanced Features**: Upgrade to the Pro version to unlock advanced features like Theme Customization, Rate Limit Settings, and WooCommerce Integration, allowing you to fully control the chatbot's appearance and functionality. - **Link Target Toggle for Chatbot Links**: Added a toggle in the admin panel to control whether links in chatbot conversations open in a new tab (`_blank`) or the same tab (`_self`). This gives website owners more flexibility in how links behave. - **Customizable Privacy Policy Text**: Website owners can now fully customize the privacy policy text that appears below the chatbot. This allows greater flexibility for sites with multiple languages or specific wording requirements. - **Complianz Integration for GDPR Compliance**: For pro users we've added integration with the Complianz plugin, allowing your chatbot to fully comply with GDPR consent requirements. The chatbot will only activate if the user has given consent for marketing, ensuring that personal data is handled responsibly and in accordance with GDPR regulations. ### Why Choose MxChat? MxChat is not just another chatbot plugin; it's a comprehensive tool that transforms how your website interacts with users. Whether you're using **WordPress** as a **page builder** or a **website builder**, this plugin seamlessly integrates into your workflow, offering a powerful AI assistant that can improve user engagement and satisfaction. This plugin is designed with both simplicity and flexibility in mind, making it ideal for website owners, developers, and agencies looking to enhance their WordPress sites with cutting-edge AI technology. ### Use of Third-Party Services: This plugin requires an active connection to the **OpenAI API** to generate AI-driven responses. By using this plugin, you consent to sending data to OpenAI's servers, which may include user queries and other relevant information. - **Service Provider**: [OpenAI](https://openai.com/) - **Terms of Use**: [OpenAI API Terms](https://openai.com/policies/terms-of-use/) - **Privacy Policy**: [OpenAI Privacy Policy](https://openai.com/policies/privacy-policy/) Please ensure compliance with OpenAI’s terms and any applicable data privacy laws. == Installation == 1. Upload the `mxchat` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Navigate to the 'MxChat' settings page to configure your OpenAI API key and other settings. == Frequently Asked Questions == ### How do I obtain an API key for OpenAI? You can obtain an API key by signing up on the OpenAI website. Once you have the API key, enter it in the plugin settings to start using the AI chatbot. ### Can I customize the chatbot's appearance? Yes, the **Pro version** offers extensive **theme customization options**, including the ability to change the chatbot's colors, fonts, and background to match your website’s design. ### How do I add the chatbot to my site? You can add the chatbot to your site using the `[mxchat_chatbot floating="yes"]` or `[mxchat_chatbot floating="no"]` shortcode. Additionally, you can automatically append the chatbot to your site’s body element from the settings page. ### How does the knowledge submission feature work? You can submit custom content to the knowledge base from the 'Knowledge' submenu. This content is processed using vector embeddings, allowing the AI chatbot to provide more accurate and contextually relevant responses. ### What is the sitemap submission feature? The sitemap submission feature allows you to submit a sitemap URL. The plugin will fetch, extract, and add content from the URLs listed in the sitemap to the chatbot’s knowledge base, enhancing the AI's ability to provide precise and contextually relevant answers. ### What additional features does the Pro version offer? The **Pro version** unlocks advanced features such as: - **Theme Customization**: Change the colors and styling of the AI Chatbot widget. - **Rate Limit Settings**: Set limits on how many times a user can interact with the chatbot in a 24-hour period. - **WooCommerce Integration**: Integrate your WooCommerce products directly into the chatbot, allowing users to search for and purchase products via chat. - **Order Management**: The chatbot can now interact with users about their WooCommerce orders. It can fetch order history, retrieve details about individual orders (such as item lists, statuses, and total costs), and even provide license key information for digital products. This feature allows users to check their order status or history in a conversational way without leaving the chat. - **Exclusive Pro Features**: Access additional customization options and future enhancements, along with ongoing updates to improve chatbot functionality. == Screenshots == 1. **Plugin Settings Page** - Configure your API key and other settings. 2. **Knowledge & Sitemap Submission** - Submit custom content to enhance the chatbot's responses. 3. **Chat Transcripts** - Review and analyze conversations to refine your AI chatbot. 4. **Activation Page** - Easily upgrade to MxChat Pro by entering your activation key. Unlock advanced features like theme customization directly from the MxChat settings page. 5. **MxChat Floating Widget (Closed)** - The MxChat widget in its minimized state, seamlessly integrated into your website’s interface. 6. **Mxchat Floating Widget (Open)** - See how the chatbot interacts with users on your site. *(Note: Screenshots will be added in future updates)* == Changelog == = 1.1.2 = * Added URL submission to sitemap submission, enabling both types to be handled seamlessly. * Enhanced manual submission with a URL field, allowing easy pairing of manual content with specific URLs. * Improved error display for content submissions, providing clearer feedback on submission issues. * Expanded WooCommerce integration with new "Add to Cart" and checkout features, enhancing user shopping interactions. * Replaced the "General" section with a dedicated FAQ section, adding common questions and answers for user guidance. = 1.1.1 = * Fixed CSS bug preventing the send button from showing. = 1.1.0 = * Complianz Integration (Pro Feature): Added integration with the Complianz plugin to ensure GDPR compliance. The chatbot now only displays based on user consent for marketing cookies, making it easier for site owners to stay compliant with data privacy regulations. = 1.0.11 = * Added a customizable privacy policy text field allowing site owners to define their own message. * Introduced a new admin setting to customize the chatbot input placeholder text, supporting multilingual websites. * Improved localization options for sites using different languages, making customization easier for global users. = 1.0.10 = * Added a toggle in the admin panel to control whether chatbot links open in a new tab (`_blank`) or the same tab (`_self`). * Enhanced CSS for the privacy policy notice to prevent theme overrides and ensure consistent styling across themes. = 1.0.9 = * Added IP address masking for enhanced user privacy in chat transcripts. * Introduced the option to display a privacy policy notice below the chatbot, with a customizable URL. * Website owners can toggle the privacy policy notice on or off via the admin panel. * Various code optimizations for improved security and compliance with privacy standards. = 1.0.8 = * Usernames are now included in chat transcripts when users are logged in, providing better context in conversation history. * The chatbot can now interact with users about their WooCommerce orders, including retrieving order history, order statuses, item details, and more. * Various bug fixes and UI enhancements for a smoother user experience. = 1.0.6 = * Added WooCommerce Integration feature, allowing users to integrate WooCommerce products directly into the chatbot. * Updated developer credit link to https://mxchat.ai/. * Rearranged the layout and styling of the main settings page, which is now broken down into tabs for easier navigation. = 1.0.5 = * Preparing for WordPress Directory standardization and improvements. * Added new pre-message feature. = 1.0.4 = * Released Chat Transcripts feature, allowing users to review and analyze conversations directly from the WordPress dashboard. * Enhanced user experience with the ability to monitor and refine AI responses based on real interactions. = 1.0.3 = * Added Activation Key for unlocking Pro features like Theme Customization and Rate Limit Settings. * Enhanced theme customization options for the AI Chatbot widget. = 1.0.1 = * Added sitemap submission feature to automatically add content from URLs in the sitemap to the knowledge base, enhancing the AI's responses. * Enhanced admin interface and styling. = 1.0 = * Initial release of MxChat. == Upgrade Notice == = 1.1.2 = * Added URL support for sitemap and manual submissions, enhanced WooCommerce with "Add to Cart" feature, and introduced a new FAQ section. == License & Warranty == This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. == Credits == This plugin was developed by [MxChat](https://mxchat.ai/).