{"id":4067,"date":"2024-09-25T10:10:13","date_gmt":"2024-09-25T10:10:13","guid":{"rendered":"https:\/\/www.stefanhammel.com\/blog\/?page_id=4067"},"modified":"2025-03-06T16:14:29","modified_gmt":"2025-03-06T16:14:29","slug":"ai-assistant-for-stories","status":"publish","type":"page","link":"https:\/\/www.stefanhammel.com\/blog\/ai-assistant-for-stories\/","title":{"rendered":"AI Assistant for Stories"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Welcome to the Stefan Hammel Assistant for developing therapeutic stories!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This Chatbot will understand many languages including most European languages as well as Arabic, Chinese, Japanese and some Indian languages. Try out addressing it in your language and find out if it will respond!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep in mind that AI assistants will always be a mix of very clever and a little bit stupid. The stories proposed by this assistant will often not be perfect in the sense of what you need or what your client needs. So feel free to use this chatbot as a source of inspiration to develop and refine your own therapeutic stories. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy experimenting!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<div class='mwai-chatbot-container' data-params='{&quot;aiName&quot;:&quot;AI: &quot;,&quot;userName&quot;:&quot;User: &quot;,&quot;guestName&quot;:&quot;Guest:&quot;,&quot;textSend&quot;:&quot;Send&quot;,&quot;textClear&quot;:&quot;Clear&quot;,&quot;imageUpload&quot;:false,&quot;fileUpload&quot;:false,&quot;multiUpload&quot;:false,&quot;maxUploads&quot;:1,&quot;fileUploads&quot;:0,&quot;mode&quot;:&quot;assistant&quot;,&quot;textInputPlaceholder&quot;:&quot;Type your message...&quot;,&quot;textInputMaxLength&quot;:5120,&quot;textCompliance&quot;:&quot;&quot;,&quot;startSentence&quot;:&quot;Hello, I support you in formulating therapeutic stories.\\n\\nPlease ask clear and specific questions or concerns so that I can provide you with the best information and solutions. The more precise your input, the more helpful my answers will be.\\n\\nAs an AI-supported chatbot, I am based on a lot of knowledge from Stefan Hammel and large language models (LLMs) that process and generate texts by recognizing patterns in large amounts of data.&quot;,&quot;localMemory&quot;:true,&quot;themeId&quot;:&quot;timeless&quot;,&quot;window&quot;:false,&quot;icon&quot;:&quot;&quot;,&quot;iconText&quot;:&quot;&quot;,&quot;iconTextDelay&quot;:1,&quot;iconAlt&quot;:&quot;AI Engine Chatbot&quot;,&quot;iconPosition&quot;:&quot;bottom-right&quot;,&quot;centerOpen&quot;:false,&quot;width&quot;:&quot;&quot;,&quot;openDelay&quot;:&quot;&quot;,&quot;iconBubble&quot;:false,&quot;windowAnimation&quot;:&quot;zoom&quot;,&quot;fullscreen&quot;:false,&quot;copyButton&quot;:true,&quot;pdfButton&quot;:false,&quot;headerSubtitle&quot;:&quot;Discuss with&quot;,&quot;containerType&quot;:&quot;standard&quot;,&quot;headerType&quot;:&quot;standard&quot;,&quot;messagesType&quot;:&quot;standard&quot;,&quot;inputType&quot;:&quot;standard&quot;,&quot;footerType&quot;:&quot;standard&quot;}' data-system='{&quot;botId&quot;:&quot;chatbot-jdft0s&quot;,&quot;customId&quot;:null,&quot;userData&quot;:null,&quot;sessionId&quot;:null,&quot;restNonce&quot;:null,&quot;contextId&quot;:null,&quot;pluginUrl&quot;:&quot;https:\\\/\\\/www.stefanhammel.com\\\/blog\\\/wp-content\\\/plugins\\\/ai-engine-pro&quot;,&quot;restUrl&quot;:&quot;https:\\\/\\\/www.stefanhammel.com\\\/blog\\\/wp-json&quot;,&quot;stream&quot;:true,&quot;debugMode&quot;:false,&quot;eventLogs&quot;:false,&quot;speech_recognition&quot;:false,&quot;speech_synthesis&quot;:false,&quot;typewriter&quot;:false,&quot;crossSite&quot;:false,&quot;actions&quot;:[],&quot;blocks&quot;:[{&quot;id&quot;:&quot;mwai_gdpr_6ab0df14d2745&quot;,&quot;type&quot;:&quot;content&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;mwai_gdpr_6ab0df14d2745&quot;,&quot;html&quot;:&quot;&lt;div&gt;\\n                              &lt;p&gt;By using this chatbot, you agree to the recording and processing of your data by our website and the external services it might use (LLMs, vector databases, etc.).&lt;\\\/p&gt;\\n                              &lt;div class=\\&quot;mwai-gdpr-buttons\\&quot;&gt;\\n                              &lt;button id=\\&quot;mwai_gdpr_6ab0df14d2745-button\\&quot; type=\\&quot;button\\&quot; style=\\&quot;width: 100%;\\&quot;&gt;I understand&lt;\\\/button&gt;\\n                              &lt;\\\/div&gt;\\n                              &lt;\\\/div&gt;&quot;,&quot;script&quot;:&quot;\\n                              (function() {\\n                                    \\\/\\\/ In cross-site mode, the server cannot see the cookie set on the\\n                                    \\\/\\\/ external domain, so check client-side if consent was already given.\\n                                    if (document.cookie.split(\\&quot;;\\&quot;).some(c =&gt; c.trim().startsWith(\\&quot;mwai_gdpr_accepted=1\\&quot;))) {\\n                                      var tryRemove = setInterval(function() {\\n                                        var chatbot = (typeof MwaiAPI !== \\&quot;undefined\\&quot;) ? MwaiAPI.getChatbot(\\&quot;chatbot-jdft0s\\&quot;) : null;\\n                                        if (chatbot) {\\n                                          chatbot.removeBlockById(\\&quot;mwai_gdpr_6ab0df14d2745\\&quot;);\\n                                          clearInterval(tryRemove);\\n                                        }\\n                                      }, 100);\\n                                      setTimeout(function() { clearInterval(tryRemove); }, 5000);\\n                                      return;\\n                                    }\\n\\n                                    \\\/\\\/ Handle GDPR consent button click\\n                                    document.addEventListener(\\&quot;click\\&quot;, function(event) {\\n                                      if (event.target.id === \\&quot;mwai_gdpr_6ab0df14d2745-button\\&quot;) {\\n                                        event.preventDefault();\\n                                        \\n                                        \\\/\\\/ Set GDPR acceptance cookie for 1 year\\n                                        const date = new Date();\\n                                        date.setTime(date.getTime() + (365 * 24 * 60 * 60 * 1000));\\n                                        document.cookie = \\&quot;mwai_gdpr_accepted=1; expires=\\&quot; + date.toUTCString() + \\&quot;; path=\\\/\\&quot;;\\n                                        \\n                                        \\\/\\\/ IMPORTANT: When multiple chatbots share the same botId, we must find\\n                                        \\\/\\\/ the specific chatbot instance that contains this GDPR block.\\n                                        \\\/\\\/ MwaiAPI.getChatbot() returns the first match, which may be wrong.\\n                                        let foundChatbot = null;\\n                                        const chatbotsWithSameBotId = MwaiAPI.chatbots.filter(cb =&gt; cb.botId === \\&quot;chatbot-jdft0s\\&quot;);\\n                                        \\n                                        \\\/\\\/ Find the chatbot that actually has this GDPR block\\n                                        for (const chatbot of chatbotsWithSameBotId) {\\n                                          const blocks = chatbot.getBlocks ? chatbot.getBlocks() : [];\\n                                          if (blocks.some(block =&gt; block.id === \\&quot;mwai_gdpr_6ab0df14d2745\\&quot;)) {\\n                                            foundChatbot = chatbot;\\n                                            break;\\n                                          }\\n                                        }\\n                                        \\n                                        if (foundChatbot) {\\n                                          foundChatbot.unlock();\\n                                          foundChatbot.removeBlockById(\\&quot;mwai_gdpr_6ab0df14d2745\\&quot;);\\n                                        }\\n                                      }\\n                                    }, true); \\\/\\\/ Use capture phase for better popup\\\/modal support\\n                                    \\n                                    \\\/\\\/ Lock the chatbot when it has this GDPR block\\n                                    \\\/\\\/ Note: Using MwaiAPI.getChatbot() here is fine for locking\\n                                    \\\/\\\/ as we want to lock any chatbot with this botId initially\\n                                    const tryLock = setInterval(function() {\\n                                      const chatbot = MwaiAPI.getChatbot(\\&quot;chatbot-jdft0s\\&quot;);\\n                                      if (chatbot &amp;&amp; chatbot.lock) {\\n                                        chatbot.lock();\\n                                        clearInterval(tryLock);\\n                                      }\\n                                    }, 100);\\n                                    \\n                                    \\\/\\\/ Stop trying after 5 seconds\\n                                    setTimeout(function() {\\n                                      clearInterval(tryLock);\\n                                    }, 5000);\\n                                  })();\\n                                &quot;}}],&quot;shortcuts&quot;:[]}' data-theme='{&quot;type&quot;:&quot;internal&quot;,&quot;name&quot;:&quot;Timeless&quot;,&quot;themeId&quot;:&quot;timeless&quot;,&quot;settings&quot;:{&quot;fontSize&quot;:&quot;15px&quot;,&quot;backgroundPrimaryColor&quot;:&quot;#f5ece0&quot;,&quot;maxHeight&quot;:&quot;400vh&quot;,&quot;backgroundAiSecondaryColor&quot;:&quot;#343541&quot;,&quot;backgroundAiColor&quot;:&quot;#e0d1ba&quot;,&quot;backgroundUserColor&quot;:&quot;#000&quot;},&quot;style&quot;:&quot;&quot;,&quot;cssUrl&quot;:&quot;https:\\\/\\\/www.stefanhammel.com\\\/blog\\\/wp-content\\\/plugins\\\/ai-engine-pro\\\/themes\\\/timeless.css&quot;}'><\/div>\n\n\n\n<figure class=\"wp-block-image alignright size-large is-resized\"><a href=\"https:\/\/xpandAI.one\" target=\"_blank\" style=\"border:0px\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/www.stefanhammel.com\/blog\/wp-content\/uploads\/2024\/09\/xpand-ai-final-1.png\" alt=\"www.xpandAI.one\" class=\"wp-image-5278\" style=\"width:125px; border:0px; margin-top:10px\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to the Stefan Hammel Assistant for developing therapeutic stories! This Chatbot will understand many languages including most European languages as well as Arabic, Chinese, Japanese and some Indian languages. Try out addressing it in your language and find out &hellip; <a href=\"https:\/\/www.stefanhammel.com\/blog\/ai-assistant-for-stories\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4067","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/pages\/4067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/comments?post=4067"}],"version-history":[{"count":8,"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/pages\/4067\/revisions"}],"predecessor-version":[{"id":4186,"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/pages\/4067\/revisions\/4186"}],"wp:attachment":[{"href":"https:\/\/www.stefanhammel.com\/blog\/wp-json\/wp\/v2\/media?parent=4067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}