{"id":4702,"date":"2024-10-31T06:02:15","date_gmt":"2024-10-31T06:02:15","guid":{"rendered":"https:\/\/beams-experiments.com\/?page_id=4702"},"modified":"2025-02-03T12:55:38","modified_gmt":"2025-02-03T12:55:38","slug":"chatbot-test","status":"publish","type":"page","link":"https:\/\/beams-experiments.com\/index.php\/chatbot-test\/","title":{"rendered":"chatbot-test"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <title>Task Instructions Frame<\/title>\n    <script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.5.1\/jquery.min.js\"><\/script>\n<\/head>\n<style>\n #taskInstructions {\n            height: 30vh;\n            overflow-y: auto;\n            border: 1px solid #000;\n            padding: 10px;\n            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n        }\n<\/style>\n   <div id=\"taskInstructions\">\n        <div id=\"instructionsText\">Loading instructions&#8230;<\/div>\n    <\/div>\n<body>\n <script>\n\/\/ Clear local storage when the page is loaded\n    window.onload = function() {\n        localStorage.clear();\n    };\n\/\/for the chatbot\n var roleVar = 'GPT-4o, your role is to help the user in his class task about the effects of AI on business models. Provide concise answers.';\n        var apiURL = 'https:\/\/beams-experiments.com\/toyDesign\/getAPIKey2.php';\n\/\/ Retrieve task instructions from local storage\n       var taskInstructions = \"Form into groups of 4-6 and undertake the following activities: 1. How\u2019s AI & Gen-AI affecting\/expected to affect the digital transformation of business models? (10 min) 2. Present these examples or issues (10 min)  3. Engage in a discussion (10 min)\";\n        \n        if (taskInstructions) {\n            \/\/ Display the instructions in the designated element\n            $('#instructionsText').html(taskInstructions);\n        } else {\n            \/\/ Display an error message if the instructions are not found\n            $('#instructionsText').html('Task instructions not found.');\n        }\n\n<\/script>\n <!-- Load the chatbot script -->\n    <script src=\"https:\/\/beams-experiments.com\/chatbot.js\"><\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Task Instructions Frame Loading instructions&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-4702","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/pages\/4702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/comments?post=4702"}],"version-history":[{"count":5,"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/pages\/4702\/revisions"}],"predecessor-version":[{"id":6177,"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/pages\/4702\/revisions\/6177"}],"wp:attachment":[{"href":"https:\/\/beams-experiments.com\/index.php\/wp-json\/wp\/v2\/media?parent=4702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}