{"id":226512,"date":"2025-05-06T04:33:55","date_gmt":"2025-05-06T04:33:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/kissai-widget\/"},"modified":"2025-09-01T14:06:05","modified_gmt":"2025-09-01T14:06:05","slug":"kissai","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/kissai\/","author":23229238,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.104","stable_tag":"1.7.104","tested":"6.8.5","requires":"6.4","requires_php":"8.0","requires_plugins":null,"header_name":"KissAi Widget","header_author":"KissAi","header_description":"A WordPress plugin that integrates OpenAI's ChatGPT API to add a conversational AI assistant.","assets_banners_color":"","last_updated":"2025-09-01 14:06:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/kissai.tech\/donate","header_plugin_uri":"https:\/\/kissai.tech\/","header_author_uri":"https:\/\/kissai.tech\/about\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":555,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.7.101":{"tag":"1.7.101","author":"kissai","date":"2025-06-04 20:47:44"},"1.7.102":{"tag":"1.7.102","author":"kissai","date":"2025-07-02 09:01:27"},"1.7.103":{"tag":"1.7.103","author":"kissai","date":"2025-09-01 13:51:54"},"1.7.104":{"tag":"1.7.104","author":"kissai","date":"2025-09-01 14:06:05"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3289487,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3289494,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3289487,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.7.101","1.7.102","1.7.103","1.7.104"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"<strong>AI Chat Widget<\/strong>: An example of an AI-powered chat widget in action.","2":"<strong>Admin Settings<\/strong>: The plugin's settings page, showcasing model configuration and knowledge file uploads.","3":"<strong>Custom Knowledge Upload<\/strong>: A user-friendly interface for managing and uploading AI training files."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2353,1320,25335,216551,194533],"plugin_category":[],"plugin_contributors":[241848],"plugin_business_model":[],"class_list":["post-226512","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-assistant","plugin_tags-custom-training","plugin_tags-gpt","plugin_tags-openai","plugin_contributors-kissai","plugin_committers-kissai"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/kissai\/assets\/icon.svg?rev=3289487","icon":"https:\/\/ps.w.org\/kissai\/assets\/icon.svg?rev=3289487","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>KissAi Widget<\/strong> allows you to easily integrate AI assistants into your WordPress website, enhancing user engagement with intelligent, conversational experiences. Supporting OpenAI models and upcoming integrations with <strong>Claude<\/strong> and <strong>Gemini<\/strong>, this plugin enables AI-driven assistants for customer support, content generation, product guidance, and more.<\/p>\n\n<p>The plugin offers <strong>custom assistant creation<\/strong>, allowing users to upload <strong>knowledge files<\/strong> and train AI assistants to provide accurate responses based on specific business data. The intuitive admin interface simplifies managing assistants, training them, and adjusting their behavior.<\/p>\n\n<h3>Key Features:<\/h3>\n\n<ul>\n<li><strong>Customizable AI Assistants<\/strong>: Configure AI assistants with tailored settings and behaviors, including real-time SSE streaming for GPT-4o.<\/li>\n<li><strong>Advanced Knowledge Base<\/strong>: Upload multiple files, manage them within WordPress, and create vector stores to improve AI context and accuracy.<\/li>\n<li><strong>Threaded Conversations<\/strong>: Built-in system for storing and displaying user conversation history, providing persistent chat threads for better user engagement.<\/li>\n<li><strong>Suggested Questions<\/strong>: Optionally generate relevant follow-up or sample questions to guide user inquiries.<\/li>\n<li><strong>Multiple AI Model Support<\/strong>: Currently supports OpenAI\u2019s GPT-4o and o3, with plans for Claude, Gemini, and more.<\/li>\n<li><strong>Interactive User Engagement<\/strong>: AI responds to real-time user inquiries, providing dynamic content updates and relevant suggestions.<\/li>\n<li><strong>Flexible API Integration<\/strong>: Use your OpenAI API key or the KissAi API key for seamless AI interactions.<\/li>\n<li><strong>Shortcode Integration<\/strong>: Embed AI assistants easily using shortcodes (<code>[kissai_chat assistant_id=\"asst_xxxxxxxxxxxxxxxxxxxxxxxx\"]<\/code>) or visual page editors like Elementor or AVADA.<\/li>\n<li><strong>Custom Logging and Usage Stats<\/strong>: Records conversation usage and logs for easier troubleshooting and usage reporting.<\/li>\n<li><strong>Data Privacy and Security<\/strong>: Securely manages API keys and user data, respecting best practices for privacy and security.<\/li>\n<\/ul>\n\n<p>Below is an updated <strong>External Services<\/strong> section that incorporates details of the <strong>KissAi Service<\/strong> endpoints:<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin relies on <strong>two<\/strong> external services for its AI functionality:<\/p>\n\n<ol>\n<li><p><strong>hub.kissai.io (KissAi Service)<\/strong><\/p>\n\n<ul>\n<li><strong>What<\/strong>: KissAi\u2019s own API endpoint, <code>https:\/\/hub.kissai.io<\/code>, which provides various services including user registration\/login, assistant creation, knowledge file storage, token usage tracking, and model listings.<\/li>\n<li><strong>Data Sent<\/strong>: Depending on your settings and usage, the plugin may send user registration details (e.g., email, name), and usage metrics to <code>hub.kissai.io<\/code>. This data is necessary for AI processing, building and updating AI knowledge bases, and tracking usage stats.<\/li>\n<li><strong>When<\/strong>: Data is transmitted whenever:\n\n<ul>\n<li>You or site visitors interact with an AI assistant (e.g. sending prompts or retrieving conversation logs).<\/li>\n<li>Administrators create or train new assistants, update assistants, upload knowledge files, or check usage.<\/li>\n<li>A user registers or logs in through the plugin.<\/li>\n<\/ul><\/li>\n<li><strong>Why<\/strong>: These operations are required for providing real-time AI responses, custom knowledge-based answers, user account management, model information, and usage metrics.<\/li>\n<li><strong>Terms &amp; Privacy<\/strong>:\n\n<ul>\n<li>Terms of Service: https:\/\/hub.kissai.io\/terms<\/li>\n<li>Privacy Policy: https:\/\/hub.kissai.io\/privacy<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<li><p><strong>OpenAI API<\/strong><\/p>\n\n<ul>\n<li><strong>What<\/strong>: OpenAI\u2019s API endpoints for GPT-4o, o3, and other supported models.<\/li>\n<li><strong>Data Sent<\/strong>: The plugin will send user queries\/prompts, conversation snippets, or knowledge data to OpenAI for generating responses.<\/li>\n<li><strong>When<\/strong>: Data is transmitted to OpenAI each time the assistant processes a prompt, or when you upload knowledge files.<\/li>\n<li><strong>Why<\/strong>: Needed to use OpenAI as the AI model for generating chat responses.<\/li>\n<li><strong>Terms &amp; Privacy<\/strong>:\n\n<ul>\n<li>Terms of Use: https:\/\/openai.com\/policies\/terms-of-use<\/li>\n<li>Privacy Policy: https:\/\/openai.com\/policies\/privacy-policy<\/li>\n<\/ul><\/li>\n<\/ul><\/li>\n<\/ol>\n\n<p>Please review each service\u2019s Terms and Privacy Policy if you have concerns or questions about how your data is processed.<\/p>\n\n<h3>Future Features<\/h3>\n\n<ul>\n<li>AI training through website crawling and scraping.<\/li>\n<li>Integration with <strong>Claude<\/strong>, <strong>Gemini<\/strong>, and additional AI models.<\/li>\n<li>Expanded customization for AI behavior and content interactions.<\/li>\n<li>Enhanced knowledge base management for improving AI capabilities.<\/li>\n<li>More robust function-calling (Tool) interface for external actions.<\/li>\n<\/ul>\n\n<h3>License<\/h3>\n\n<p>KissAi Plugin is open-source software licensed under the GPLv2 or later.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><strong>Download and Install the Plugin:<\/strong>\n\n<ul>\n<li>Upload the <code>kissai<\/code> plugin folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin from the WordPress 'Plugins' menu.<\/li>\n<\/ul><\/li>\n<li><strong>Configure API Settings:<\/strong>\n\n<ul>\n<li>Navigate to <strong>KissAi &gt; Settings<\/strong> and enter your OpenAI or KissAi API key.<\/li>\n<li>Register for a <strong>KissAi API key<\/strong> within the plugin or obtain an OpenAI key from OpenAI.<\/li>\n<\/ul><\/li>\n<li><strong>Create and Train Assistants:<\/strong>\n\n<ul>\n<li>Go to <strong>KissAi &gt; Assistants &gt; Add New<\/strong> to create an assistant.<\/li>\n<li>Upload custom knowledge files in the <strong>Knowledge Base<\/strong> section to train the assistant and build vector stores.<\/li>\n<\/ul><\/li>\n<li><strong>Embed AI Assistants:<\/strong>\n\n<ul>\n<li>Use the shortcode <code>[kissai_chat assistant_id=\"asst_xxxxxxxxxxxxxxxxxxxxxxxx\"]<\/code> to place the AI assistant on any page or post.<\/li>\n<li>Optionally enable threaded conversations and usage logging under <strong>KissAi &gt; Settings<\/strong>.<\/li>\n<\/ul><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20create%20and%20train%20my%20ai%20assistant%3F'><h3>How do I create and train my AI assistant?<\/h3><\/dt>\n<dd><p>Navigate to <strong>KissAi &gt; Assistants &gt; Add New<\/strong> and upload knowledge files to train the assistant with accurate, domain-specific data.<\/p><\/dd>\n<dt id='can%20i%20manage%20multiple%20assistants%3F'><h3>Can I manage multiple assistants?<\/h3><\/dt>\n<dd><p>Yes, you can create and configure multiple AI assistants under <strong>KissAi &gt; Assistants<\/strong> in the WordPress admin panel, each with separate knowledge files.<\/p><\/dd>\n<dt id='what%20ai%20models%20does%20kissai%20widget%20support%3F'><h3>What AI models does KissAi Widget support?<\/h3><\/dt>\n<dd><p>Currently, KissAi supports OpenAI\u2019s <strong>GPT-4o<\/strong> and <strong>o3<\/strong> models, with future updates including <strong>Grok<\/strong>, <strong>Claude<\/strong>, and <strong>Gemini<\/strong>.<\/p><\/dd>\n<dt id='how%20do%20i%20display%20my%20ai%20assistant%20on%20my%20website%3F'><h3>How do I display my AI assistant on my website?<\/h3><\/dt>\n<dd><p>Use the shortcode <code>[kissai_chat assistant_id=\"asst_xxxxxxxxxxxxxxxxxxxxxxxx\"]<\/code> to embed the assistant on any page or post. It also integrates with <strong>Elementor<\/strong> and <strong>AVADA<\/strong>.<\/p><\/dd>\n<dt id='is%20it%20secure%20to%20use%20my%20openai%20or%20kissai%20api%20key%3F'><h3>Is it secure to use my OpenAI or KissAi API key?<\/h3><\/dt>\n<dd><p>Yes, the plugin securely manages API keys to protect your data and interactions. You can use either your OpenAI API key or a KissAi API key.<\/p><\/dd>\n<dt id='can%20i%20update%20the%20assistant%E2%80%99s%20knowledge%20base%20over%20time%3F'><h3>Can I update the assistant\u2019s knowledge base over time?<\/h3><\/dt>\n<dd><p>Absolutely. You can continuously upload and refine knowledge files to improve your AI assistant\u2019s accuracy and effectiveness. Each new or edited file is incorporated into the vector store for richer responses.<\/p><\/dd>\n<dt id='does%20kissai%20widget%20store%20my%20chat%20history%3F'><h3>Does KissAi Widget store my chat history?<\/h3><\/dt>\n<dd><p>Yes. It can store each user\u2019s conversation in WordPress (thread-based), so you can provide persistent AI chat experiences or review session logs.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial plugin release.<\/li>\n<\/ul>\n\n<h4>1.7.81<\/h4>\n\n<ul>\n<li>Added SSE support for GPT endpoints.<\/li>\n<li>Introduced threaded conversation storage in WordPress (optional).<\/li>\n<li>Enhanced knowledge base management with vector store creation.<\/li>\n<li>Added suggested questions feature for richer user interactions.<\/li>\n<li>Logging and usage stats for troubleshooting and advanced analytics.<\/li>\n<\/ul>\n\n<h4>1.7.100<\/h4>\n\n<ul>\n<li><p><strong>Input sanitization &amp; output escaping<\/strong><\/p>\n\n<ul>\n<li>Wrapped all coming values in relevant <code>sanitize_*()<\/code> helpers (<code>sanitize_text_field()<\/code>, <code>sanitize_email()<\/code>, etc.).<\/li>\n<li>Escaped every output to eliminate latent XSS vectors.<\/li>\n<\/ul><\/li>\n<li><p><strong>Safe database access<\/strong><\/p>\n\n<ul>\n<li>Replaced raw SQL strings with <code>$wpdb-&gt;prepare()<\/code> calls (and <code>insert()<\/code>\/<code>update()<\/code> helpers) so every variable is properly parameterised.<\/li>\n<li>Added early-return guards around CRUD helpers to bail if unexpected data types are detected.<\/li>\n<\/ul><\/li>\n<li><p><strong>General hardening<\/strong><\/p>\n\n<ul>\n<li>Tightened nonce checks on all AJAX and form actions.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.7.101<\/h4>\n\n<ul>\n<li>Fix: messages were not being saved<\/li>\n<li>Fix: uploaded training material could not be downloaded<\/li>\n<\/ul>\n\n<h4>1.7.102<\/h4>\n\n<ul>\n<li>Reset Database button in KissAi settings page disabled<\/li>\n<\/ul>","raw_excerpt":"KissAi seamlessly integrates AI-powered assistants into WordPress using OpenAI models. Train custom AI with knowledge files for smarter interactions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/226512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=226512"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kissai"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=226512"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=226512"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=226512"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=226512"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=226512"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=226512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}