{"id":229718,"date":"2025-04-24T18:43:57","date_gmt":"2025-04-24T18:43:57","guid":{"rendered":"https:\/\/en-ca.wordpress.org\/plugins\/simple-ai-chat-embed\/"},"modified":"2025-04-24T18:50:17","modified_gmt":"2025-04-24T18:50:17","slug":"simple-ai-chat-embed","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/simple-ai-chat-embed\/","author":10145348,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.8.5","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Simple AI Chat Embed","header_author":"Moe Loubani","header_description":"Embeds a chat interface powered by various AI models (ChatGPT, Claude, Gemini) via shortcode, block, or Elementor widget.","assets_banners_color":"","last_updated":"2025-04-24 18:50:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/moe.ca","rating":0,"author_block_rating":0,"active_installs":10,"downloads":435,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.2":{"tag":"1.0.2","author":"moeloubani1","date":"2025-04-24 18:50:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"simple-ai-chat-embed\/chat-embed":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"title":"AI Chat Embed","name":"simple-ai-chat-embed\/chat-embed","version":"0.1.0","category":"widgets","icon":"format-chat","description":"Embeds an AI-powered chat interface (ChatGPT, Claude, Gemini).","keywords":["chat","ai","chatbot","gpt","claude","gemini"],"supports":{"html":false},"attributes":{"selectedModel":{"type":"string","default":""},"initialPrompt":{"type":"string","default":""},"instanceId":{"type":"string"},"chatbotName":{"type":"string","default":""}},"textdomain":"simple-ai-chat-embed","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/index.css","render":"file:.\/render.php"}},"tagged_versions":["1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[236834,2364,216196,224606],"plugin_category":[],"plugin_contributors":[92149],"plugin_business_model":[],"class_list":["post-229718","plugin","type-plugin","status-publish","hentry","plugin_tags-anthropic","plugin_tags-chatbot","plugin_tags-chatgpt","plugin_tags-gemini","plugin_contributors-moeloubani1","plugin_committers-moeloubani1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/simple-ai-chat-embed.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Simple AI Chat Embed provides a flexible way to add interactive AI chat functionality to your posts, pages, or widget areas. Configure API keys once, select your desired model, and embed the chat using your preferred method.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li>Supports multiple AI providers: OpenAI (GPT models), Anthropic (Claude models), Google (Gemini models).<\/li>\n<li>Embed via Gutenberg Block, Shortcode, or Elementor Widget.<\/li>\n<li>Global settings page for API Keys and default model\/prompt.<\/li>\n<li>Override default model and initial system prompt per instance (Block\/Elementor).<\/li>\n<li>Secure AJAX handling for chat interactions.<\/li>\n<\/ul>\n\n<h3>Configuration<\/h3>\n\n<p>Go to <strong>Settings &gt; AI Chat Embed<\/strong> in your WordPress admin area.<\/p>\n\n<ol>\n<li><strong>API Key Settings:<\/strong> Enter the API keys for the services you wish to use (OpenAI, Anthropic, Google). Leave blank any services you don't plan to use.<\/li>\n<li><strong>Default Chat Settings:<\/strong>\n\n<ul>\n<li><strong>Default AI Model:<\/strong> Select the AI model to be used by default for new chat instances.<\/li>\n<li><strong>Default Initial Prompt:<\/strong> Enter an optional system prompt that will be prepended to user messages by default.<\/li>\n<\/ul><\/li>\n<li>Click <strong>Save Settings<\/strong>.<\/li>\n<\/ol>\n\n<h3>Usage<\/h3>\n\n<h3>Gutenberg Block<\/h3>\n\n<ol>\n<li>Edit a post or page using the Gutenberg editor.<\/li>\n<li>Add a new block and search for \"AI Chat Embed\".<\/li>\n<li>Select the block to insert it.<\/li>\n<li>In the block sidebar (Inspector Controls), you can:\n\n<ul>\n<li>Select a specific <strong>AI Model<\/strong> to override the default.<\/li>\n<li>Enter an <strong>Initial System Prompt<\/strong> to override the default.<\/li>\n<\/ul><\/li>\n<li>Save the post\/page.<\/li>\n<\/ol>\n\n<h3>Shortcode<\/h3>\n\n<p>Insert the following shortcode into any post, page, or text widget:<\/p>\n\n<pre><code>[simple_ai_chat_embed]\n<\/code><\/pre>\n\n<p>This will use the default model, prompt, and chatbot name configured in the plugin settings.<\/p>\n\n<p>You can override the defaults using the following attributes:<\/p>\n\n<ul>\n<li><code>model<\/code>: Specify the AI model ID to use (e.g., <code>gpt-4<\/code>, <code>claude-3-opus-20240229<\/code>).<\/li>\n<li><code>prompt<\/code>: Provide a custom initial system prompt.<\/li>\n<li><code>name<\/code>: Set a custom name for the chatbot.<\/li>\n<\/ul>\n\n<p>Example:\n    [simple_ai_chat_embed model=\"gpt-4-turbo\" prompt=\"You are a helpful assistant.\" name=\"Support Bot\"]<\/p>\n\n<h3>Elementor Widget<\/h3>\n\n<ol>\n<li>Edit a page or template using Elementor.<\/li>\n<li>In the widgets panel, search for \"AI Chat Embed\".<\/li>\n<li>Drag the widget into your desired section\/column.<\/li>\n<li>In the widget settings (Content tab):\n\n<ul>\n<li>Select a specific <strong>AI Model<\/strong> to override the default.<\/li>\n<li>Enter an <strong>Initial System Prompt<\/strong> to override the default.<\/li>\n<\/ul><\/li>\n<li>Save the page\/template.<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>simple-ai-chat-embed<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Navigate to <strong>Settings &gt; AI Chat Embed<\/strong> to configure the API keys and default settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>Where do I get an API key for this plugin?\n   * You can find the API keys on the different AI language model websites.<\/p>\n\n<!--section=changelog-->\n<h3>1.0.1<\/h3>\n\n<ul>\n<li>Updated bot avatar<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>Initial release.<\/li>\n<li>Features: Gutenberg block, shortcode, Elementor widget, settings page, OpenAI\/Anthropic\/Google API integration.<\/li>\n<\/ul>\n\n<h3>External Services Notice<\/h3>\n\n<p>This plugin uses external services (OpenAI, Anthropic, Google) to provide AI chat functionality. Data that may be sent\nto these services includes user messages, chat history, and any other information necessary for the AI to generate responses.<\/p>\n\n<p>You can find more information about these services and their privacy and usage policies on their respective websites:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/openai.com\/policies\/row-privacy-policy\/\">OpenAI<\/a><\/li>\n<li><a href=\"https:\/\/privacy.anthropic.com\/en\/articles\/9190861-terms-of-service-updates\">Anthropic<\/a><\/li>\n<li><a href=\"https:\/\/support.google.com\/gemini\/answer\/13594961?hl=en#privacy_notice\">Google<\/a><\/li>\n<\/ul>","raw_excerpt":"Embeds an AI-powered chat interface into your WordPress site via Gutenberg block, shortcode, or Elementor widget.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/229718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=229718"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/moeloubani1"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=229718"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=229718"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=229718"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=229718"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=229718"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=229718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}