Skip to navigation
Skip to content
Search for:
Search
Menu
Script Cowriter
Apps
My Account
Script Cowriter
Apps
My Account
$
0.00
0 items
Home
/
BubbleChat
You must be logged in to view this content.
Redirecting.
{"nodes":[{"id":0,"z":51.77211194106006,"index":0,"x":8472.161234635056,"y":-9212.00338338506,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"val":0,"colorRef":"#9fbbd1","fx":8472.161234635056,"fy":-9212.00338338506,"fz":51.77211194106006},{"id":1,"z":0,"fz":0,"index":1,"x":-7040.349758419201,"y":-10203.308636870823,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"val":0,"colorRef":"#9fbbd1","fx":-7040.349758419201,"fy":-10203.308636870823},{"id":2,"z":0,"fz":0,"index":2,"x":6326.377316135584,"y":-267.4886930574384,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"val":0,"colorRef":"#9fbbd1","fx":6326.377316135584,"fy":-267.4886930574384},{"id":3,"z":0,"fz":0,"index":3,"x":2028.7604741187743,"y":-14592.939779406397,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"val":0,"colorRef":"#9fbbd1","fx":2028.7604741187743,"fy":-14592.939779406397},{"id":4,"z":0,"fz":0,"index":4,"x":-6036.213006882908,"y":637.2221554251153,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"val":0,"colorRef":"#9fbbd1","fx":-6036.213006882908,"fy":637.2221554251153},{"id":96446918975098,"z":0,"x":-560.4612681854309,"y":-258.1511132534745,"val":0,"ap":1,"index":5,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-560.4612681854309,"fy":-258.1511132534745,"fz":0,"html":"|||LT|||div class=|||SINGLEQUOTE||||||SINGLEQUOTE||||||GT|||This is the exit node|||LT|||/div|||GT|||","apInputId":3721719117767,"colorRef":"#9fbbd1","portInputId1":19968105437023,"js":"console.log(\"what up fam!\")\nscrollOutlineToBottom();","ports":{"searchQuery":"circumference of Earth","searchEngine":"wolfram","searchResults":"CITATION: https://www.wolframalpha.com/input?i=circumference+of+Earth\n|||LT|||h2|||GT|||Input interpretation|||LT|||/h2|||GT|||Earth | equatorial circumference|||LT|||br|||GT||||||LT|||h2|||GT|||Result|||LT|||/h2|||GT|||40075.017 km (kilometers)|||LT|||br|||GT||||||LT|||h2|||GT|||Unit conversions|||LT|||/h2|||GT|||24901.461 miles|||LT|||br|||GT|||4.0075017×10^7 meters|||LT|||br|||GT|||21638.778 nmi (nautical miles)|||LT|||br|||GT|||0.13367587 light seconds|||LT|||br|||GT||||||LT|||h2|||GT|||Comparisons as length|||LT|||/h2|||GT||| ≈ 0.8 × length of American railroad track laid as of 1860 ( ≈ 30000 mi )|||LT|||br|||GT||| ≈ 1.9 × length of the Great Wall of China ( 21196.2 km )|||LT|||br|||GT||||||LT|||h2|||GT|||Corresponding quantities|||LT|||/h2|||GT|||Light travel time t in vacuum from t = x/c:\n | 134 ms (milliseconds)|||LT|||br|||GT|||Light travel time t in an optical fiber t = 1.48x/c:\n | 198 ms (milliseconds)|||LT|||br|||GT||||||LT|||h2|||GT|||Sizes|||LT|||/h2|||GT|||average radius | 6371.009 km (kilometers)\nequatorial radius | 6378.137 km (kilometers)\npolar radius | 6356.752 km (kilometers)\nauthalic radius | 6371 km (kilometers)\nvolumetric radius | 6371.001 km (kilometers)\naverage diameter | 12742.018 km (kilometers)\nequatorial diameter | 12756.274 km (kilometers)\npolar diameter | 12713.505 km (kilometers)\nauthalic diameter | 12742 km (kilometers)\nvolumetric diameter | 12742.002 km (kilometers)\nequatorial circumference | 40075.017 km (kilometers)|||LT|||br|||GT|||","engine":"wolfram","imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","latestInput":"Using Wolfram, What is the circumference of the earth?","latestReply":"","replyID":"reply-2697828"}},{"id":71596805625849,"z":2.2737367544323206e-13,"x":-522.2497487226088,"y":51.95725036883658,"htmlParent":"#outlineWrapperLower","name":"multiinput","val":0,"ap":1,"index":6,"vx":0,"vy":0,"vz":0,"order":"2","portOutputId1":19968105437023,"remainingLinks":-1,"fx":-522.2497487226088,"fy":51.95725036883658,"fz":2.2737367544323206e-13,"colorRef":"#9fbbd1","ports":{"latestInput":"Using Wolfram, What is the circumference of the earth?"},"ui":true,"html":"|||LT|||div class=\"htmlUI\"|||GT||||||LT|||label|||GT|||Chat Input|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\" style=\"height:auto;\"|||GT|||Using Wolfram, What is the circumference of the earth?|||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n|||LT|||div class=\"goButtonWrapper\"|||GT|||\n|||LT|||a href=\"#\" id=\"speaker-[node.id]\" class=\"speaker\" style=\"margin-top: 13px; float:left;\" onclick=\"jQuery(this).toggleClass(|||SINGLEQUOTE|||mute|||SINGLEQUOTE|||); pauseAllSpeech();\"|||GT||||||LT|||span|||GT||||||LT|||/span|||GT||||||LT|||/a|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\" class=\"goButton\"|||GT|||Go|||LT|||/button|||GT|||\n\n|||LT|||/div|||GT|||","js":"outputVal = |||SINGLEQUOTE||||||LT|||div class=\"userDialog\"|||GT||||||LT|||div class=\"userLabel\"|||GT|||user:|||LT|||/div|||GT||||||SINGLEQUOTE||| + jQuery(\"#textarea-\" + node.id).val() + |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\n\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\"#log-\" + logNode.id).append( outputVal);\n\nnode.ports.latestInput = jQuery(\"#textarea-\" + node.id).val()\n\njQuery(\"#textarea-\" + node.id).val(\"\");//clear text box\n\nsetTimeout(function() {\n //your code to be executed after 1 second\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||;\njQuery(\"#log-\" + logNode.id).append( typingVal );\n}, 2000);\n\n"},{"id":81258374893943,"z":0,"x":77.22136383120761,"y":56.71740259291073,"name":"searchQuery","val":0,"ap":0.01,"index":7,"vx":0,"vy":0,"vz":0,"order":0,"remainingLinks":-1,"fx":77.22136383120761,"fy":56.71740259291073,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||Search Query:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"categorisationNode = getNodeByName(\"decisionRouter\");\ncategorisation = jQuery(\"#textarea-\" + categorisationNode.id).val();//.replace(/([a-z]+)(|||SINGLEQUOTE|||[a-z]+)/gi, \"$1|||AMPERSAND|||#39;$2\");\nengine = categorisation.toLowerCase().trim();\n\nnode.ports.engine = engine;\n\n\n//Clear textarea\njQuery(\"#textarea-\" + node.id).val(\"\");\n\ninputValPre = \"\";\n\n//inputValPre += \"Please base the search query upon these thoughts: \" + jQuery(\"#textarea-\" + getNodeByName(\"thoughts\").id).html();\n\n\ninputValPre += \"If the most recent user: prompt isn|||SINGLEQUOTE|||t conversational, Please rewrite the most recent query input text as an appropriate, clear and accurate search query. Remove anything superfluous. Do not mention Wolfram Alpha, Google, Knowledgebase or any other search engine name. Return only the Search Query..\" \n//inputValPre += \"Please refer to the MOST RECENT user: input, and add any context to this you need to.\" \n//inputValPre += \"If the most recent user: doesn|||SINGLEQUOTE|||t look like a search at all, just write null.\" \n\n//Add Chat Log to to query\n//inputVal = \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).text();\n\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id), 50);\n//inputVal += \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).not(\".bubbleInfo\").text();\ninputVal = \"Chat History: \" + logCleanText;\n\n\n//Add latest user Input to query\ninputVal += jQuery(\"#textarea-\" + node.apInputId).val();\n\ninputValPost = \"Search Query:\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.6)","apInputId":22206930342733,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"engine":"wolfram","latestInput":"Using Wolfram, What is the circumference of the earth?"}},{"id":33525753217068,"z":0,"x":-33.948321353173355,"y":143.9004680430553,"ports":{},"name":"default","val":0,"ap":1,"colorRef":"#9fbbd1","index":8,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-33.948321353173355,"fy":143.9004680430553,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Fail case DEFAULT ACTION|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//alert(\"default\")\n//node.val = 0;"},{"id":71061919825433,"z":5.684341886080802e-14,"x":-61.27804429992284,"y":261.8748355030093,"name":"decisionRouter","val":-0.01,"ap":0.01,"index":9,"vx":0,"vy":0,"vz":0,"order":1,"remainingLinks":-1,"fx":-61.27804429992284,"fy":261.8748355030093,"fz":5.684341886080802e-14,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Decision Router|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||/div|||GT|||","js":"scrollOutlineToBottom()\n\ndecision = jQuery(\"#textarea-\" + node.apInputId).val()\n\ndecision = decision.replaceAll(|||SINGLEQUOTE|||\"|||SINGLEQUOTE|||, |||SINGLEQUOTE||||||SINGLEQUOTE|||).replaceAll(\"|||SINGLEQUOTE|||\", |||SINGLEQUOTE||||||SINGLEQUOTE|||).toLowerCase().trim();\n\nconsole.log(decision)\ndecision = decision.split(\" \")[0];\ndecision = decision.split(\"\\n\")[0];\ndecision = decision.split(\"\\r\")[0];\n\ndecision = parseDecision(decision);\n\n\n//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||I think I will use |||SINGLEQUOTE|||+decision +|||SINGLEQUOTE|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\njQuery(\"#textarea-\" + node.id).val(decision)\n\ntry {\n targetNode = getNodeByName(decision);\n targetNode.ports.latestInput = node.ports.latestInput;\n sparkNode(targetNode.id);\n\n} catch(e) {\n targetNode = getNodeByName(\"default\");\n targetNode.ports.latestInput = node.ports.latestInput;\n sparkNode(targetNode.id)\n}\n//Lose all Energy\nnode.val = 0;","apInputId":47972556676407,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"latestInput":"Using Wolfram, What is the circumference of the earth?"}},{"id":81899283949868,"z":0,"x":-7.118116030511331,"y":-293.8460904940053,"val":0,"ap":1,"index":10,"vx":0,"vy":0,"vz":0,"order":1,"remainingLinks":-1,"fx":-7.118116030511331,"fy":-293.8460904940053,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Search GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//jQuery(\".robotTyping\").remove();\n//typingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \n//jQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\nnode.ports.searchQuery = jQuery(\"#input-\" + node.apInputId).val()\nnode.ports.engine = jQuery(\"#engine-\" + node.apInputId).val()\nnode.ports.searchResults = jQuery(\"#textarea-\" + node.apInputId).val()\n\n\ninputValPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \ninputVal = \"\";\n\n \n if (jQuery(\"#textarea-\" + node.apInputId).val() != \"\") {\n inputValPre += \"I|||SINGLEQUOTE|||m going to answer you referring to the found information. If it|||SINGLEQUOTE|||s not EXPLICITLY contained within the found information I will mention that I don|||SINGLEQUOTE|||t know. If it appears to be conversational in nature I will continue to chat. I will not make up anything if it|||SINGLEQUOTE|||s not EXPLICITLY mentioned in the document. I will just reply in a friendly way and continue the conversation. If there is a RELEVANT |||SINGLEQUOTE|||URL:|||SINGLEQUOTE||| to cite in the recently returned data, I will accurately cite it at the end. I will not cite any other URLS.\" \n inputValPre += \"If I have any doubts about this information I will mention that I have doubts (looking at my recent memory for the reason)\" \n //inputVal = jQuery(\"#output-3721719117767\").html();\n\n //Add recent Knowledgebase to Query\n inputVal += \"SEARCH RESULT:\" + jQuery(\"#textarea-\" + node.apInputId).val();\n //Add Knowledgebase source to Query\n //inputVal += \"If appropriate, please mention that I sourced this information from: |||SINGLEQUOTE|||\" + jQuery(\"#engine-\" + getNodeByName(\"multisearch\").id).val() + \"|||SINGLEQUOTE|||. If it is |||SINGLEQUOTE|||internal|||SINGLEQUOTE|||, mention that it came from the knowledgebase. If it|||SINGLEQUOTE|||s google, youtube or wolfram alpha please mention this.\";\n inputVal += \"If there are any indications in the recent knowledge that I DO NOT KNOW, then please mention that I do not know - that this information is out of scope and explain why.\"\n inputVal += \"I will NEVER mention a URL. If I reference any CITATION urls, I won|||SINGLEQUOTE|||t mention them. Instead I will say that I|||SINGLEQUOTE|||ve included the links below but will NOT mention them.\"\n inputVal += \"I will not make up or hallucinate any facts. I will only state things I know explicitly from the SEARCH RESULT (in a fun, funny and friendly manner). If I don|||SINGLEQUOTE|||t know something I will say that it is beyond what I could find in the search results\"\n inputVal += \"I will reply in a friendly, funny and fun way. If I|||SINGLEQUOTE|||ve already told the answer, I won|||SINGLEQUOTE|||t repeat myself. If I like a topic I will get excited about it! I will reply with a bit of personal banter followed by the facts in most cases.\"\n\t\t\t\t//inputVal += \"At the end, please add exactly this raw HTML: |||LT|||br|||GT||||||LT|||br|||GT||||||SINGLEQUOTE|||I sourced this from |||SINGLEQUOTE|||\" + jQuery(\"#engine-\" + getNodeByName(\"multisearch\").id).val() + \".\"\n //inputVal += jQuery(\"#textarea-\" + getNodeByName(\"thoughts\").id).val();\n } else {\n //alert(\"NO!\")\n inputVal += \"Please include something humble to the effect of: I tried to look for information but I was not able to find any information on this, but I will tell you what I personally think. DO NOT INCLUDE ANY LINKS. PLEASE MAKE SURE YOU MENTION THAT YOU|||SINGLEQUOTE|||RE NOT SURE AND THAT THIS IS YOUR OPINION.\";\n\t\t} \n\n\n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\n//inputVal += \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).not(\".bubbleInfo\").text();\ninputVal += \"Chat History: \" + logCleanText;\n//jQuery(\"#log:not(.bubbleInfo)\").text()\n\n//Add latest Query\n//inputVal += jQuery(\"#textarea-\" + getNodeByName(\"multiinput\").id).val();\n\n//Add Final Prompt\ninputValPost = \"Excitedly, with a bit of humour and playfulness. OUTPUT FORMATTED IN PERFECT MARKDOWN FORMAT SYNTAX. I will doublecheck formatting before replying to user.\\nSally:\";\n\n//inputValPost = \"I|||SINGLEQUOTE|||m going to answer you, but I will be jokey and playful but will also tell you the true answer. Sally:\";\n//inputValPost += \"I will be jokey and playful but will also tell you the true answer followed by any relevant EXPLICITLY MENTIONED URL: citations if necessary. Sally:\";\n\n\n//alert(inputVal);\n\nconsole.log(\"FINAL QUERY:\");\n\nconsole.log(inputValPre + \"\\n\\n\" + inputVal + \"\\n\\n\" + inputValPost)\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)","apInputId":91837166859850,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"searchQuery":" Eddie Murphy","searchEngine":"wolfram","searchResults":"(MaxResults: 4)Result:\nCITATION: https://en.wikipedia.org/wiki/Eddie_Murphy\nEdward Regan Murphy (born April 3, 1961) is an American actor, comedian, writer, producer, and singer. He rose to fame on the sketch comedy show Saturday.(MaxResults: 4)Result:\nCITATION: https://www.imdb.com/name/nm0000552/\nEdward Regan Murphy was born April 3, 1961 in Brooklyn, New York, to Lillian Lynch (born: Lillian Laney), a telephone operator, and Charles Edward Murphy,.(MaxResults: 4)Result:\nCITATION: https://www.facebook.com/EddieMurphy/\nEddie Murphy, Brooklyn, New York. 12604011 likes · 1935 talking about this. Welcome to Eddie Murphy|||SINGLEQUOTE|||s official fan page.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=Lcd0df7jwpM\nA new couple (Jonah Hill, Lauren London) fall in love and find themselves confronting societal expectations and generational differences","engine":"google","latestInput":"Can you google Eddie Murphy for me and tell me about the first result?"}},{"id":47972556676407,"z":0,"x":-369.87195408058506,"y":80.20933917554089,"name":"categorisation","val":0,"ap":0.01,"index":11,"vx":0,"vy":0,"vz":0,"order":1,"remainingLinks":-1,"fx":-369.87195408058506,"fy":80.20933917554089,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||Categorisation:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//Clear textarea\njQuery(\"#textarea-\" + node.id).val(\"\");\ninputCategories = \"[conversational, write, code, google, youtube, wolfram, knowledgebase, findimage, makeimage]\"\n\n\ninputValPre = \"\";\n\ninputValPre += \"You are a highly efficient categorisation AI. You will route this conversation to the correct engine based on the most recent interaction:\\n\"\n\ninputValPre += \"You will categorise this input into one of the following:\";\ninputValPre += inputCategories;\n\ninputValPre += \"Glossary:\";\nkbTopics = \"paris, france, giraffes\";\ninputValPre += \"google will handle all current events, news and pretty much anything you would do with google other than knowledgebase and computational topics\\n\";\ninputValPre += \"youtube refers to any requests for music or videos\\n\";\ninputValPre += \"knowledgebase refers to the following topics only: \" + kbTopics + \"\\n\";\ninputValPre += \"wolfram refers to computational queries.\\n\";\ninputValPre += \"conversational refers to anything where there doesn|||SINGLEQUOTE|||t appear to be any need for new information.\\n\";\ninputValPre += \"write refers to if it appears the user has made a request for the agent to write some copy, like a script an article, a blog, a story etc.\\n\"\ninputValPre += \"code is any requests for programming, or code generation.\\n\";\ninputValPre += \"makeimage refers to any requests to create an image. If it appears to be a request for the AI to get visually creative.\\n\"\n/*inputValPre += \"[dalle2: IMPORTANT Return |||SINGLEQUOTE|||dalle2|||SINGLEQUOTE||| if this mentions dalle or dalle2, or appears to be an image prompt or request to create visual art, photo, or create an image or photograph from scratch or if the user explicitly mentions dalle or dalle2]\\n\";\ninputValPre += \"[conversational: Return |||SINGLEQUOTE|||conversational|||SINGLEQUOTE||| If the input appears primarily fun, playful or conversational. or if it looks like the user wants the AI to speculate, offer an opinion, be creative, write copy etc]\\n\" \ninputValPre += \"[wolfram: Return |||SINGLEQUOTE|||wolfram|||SINGLEQUOTE||| if it mentions wolfram, or appears to a computational query.]\\n\"\ninputValPre += \"[youtube: Return |||SINGLEQUOTE|||youtube|||SINGLEQUOTE||| if this mentions youtube, or it looks like a music request or youtube.]|||SINGLEQUOTE|||n\"; \ninputValPre += \"[google: Return |||SINGLEQUOTE|||google|||SINGLEQUOTE||| if the user: looks like they|||SINGLEQUOTE|||re curious for google if this mentions google, or looks like a query related to geography, events, news, people or current events etc.]\\n\"; \ninputValPre += \"CRITICALLY IMPORTANT: [Return |||SINGLEQUOTE|||knowledgebase|||SINGLEQUOTE||| if it mentioned the knowledgebase or if it is on the topics of (paris or giraffes AND ONLY THESE)].\\n\" \ninputValPre += \"In order to make your judgement, please refer to the MOST RECENT user: input, and add any context to this you need to.\" \ninputValPre += \"IMPORTANT! If the most recent [user: input] doesn|||SINGLEQUOTE|||t look like it has any particular action, return conversational\" \n*/\n\n\n//Add Chat Log to to query\n//inputVal = \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).html();\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id), 50);\n//inputVal += \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).not(\".bubbleInfo\").text();\ninputVal = \"Chat History: \" + logCleanText;\n\n\ninputVal += \"Give extra emphasis to the following phrase. If the lates [user:] string appears to be purely conversational, then return |||SINGLEQUOTE|||conversational|||SINGLEQUOTE|||: \";// + jQuery(\"#textarea-\" + node.apInputId).val();\ninputVal += \"user: \" + jQuery(\"#textarea-\" + getNodeByName(\"multiinput\").id).val()+\"\\n\";\n\ninputValPost = \"These are the option: \" + inputCategories;\ninputValPost += \"It looks like right now you want to do the following: (single word):\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)\n\n//node.val=0;","apInputId":71596805625849,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"latestInput":"Using Wolfram, What is the circumference of the earth?"}},{"id":3721719117767,"z":-1.1368683772161603e-13,"x":-499.1099780171953,"y":-134.0649803878121,"name":"multichatlog","val":0,"ap":1,"order":"2","colorRef":"#9fbbd1","index":12,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-499.1099780171953,"fy":-134.0649803878121,"fz":-1.1368683772161603e-13,"ports":{"searchQuery":"circumference of Earth","searchEngine":"wolfram","searchResults":"CITATION: https://www.wolframalpha.com/input?i=circumference+of+Earth\n|||LT|||h2|||GT|||Input interpretation|||LT|||/h2|||GT|||Earth | equatorial circumference|||LT|||br|||GT||||||LT|||h2|||GT|||Result|||LT|||/h2|||GT|||40075.017 km (kilometers)|||LT|||br|||GT||||||LT|||h2|||GT|||Unit conversions|||LT|||/h2|||GT|||24901.461 miles|||LT|||br|||GT|||4.0075017×10^7 meters|||LT|||br|||GT|||21638.778 nmi (nautical miles)|||LT|||br|||GT|||0.13367587 light seconds|||LT|||br|||GT||||||LT|||h2|||GT|||Comparisons as length|||LT|||/h2|||GT||| ≈ 0.8 × length of American railroad track laid as of 1860 ( ≈ 30000 mi )|||LT|||br|||GT||| ≈ 1.9 × length of the Great Wall of China ( 21196.2 km )|||LT|||br|||GT||||||LT|||h2|||GT|||Corresponding quantities|||LT|||/h2|||GT|||Light travel time t in vacuum from t = x/c:\n | 134 ms (milliseconds)|||LT|||br|||GT|||Light travel time t in an optical fiber t = 1.48x/c:\n | 198 ms (milliseconds)|||LT|||br|||GT||||||LT|||h2|||GT|||Sizes|||LT|||/h2|||GT|||average radius | 6371.009 km (kilometers)\nequatorial radius | 6378.137 km (kilometers)\npolar radius | 6356.752 km (kilometers)\nauthalic radius | 6371 km (kilometers)\nvolumetric radius | 6371.001 km (kilometers)\naverage diameter | 12742.018 km (kilometers)\nequatorial diameter | 12756.274 km (kilometers)\npolar diameter | 12713.505 km (kilometers)\nauthalic diameter | 12742 km (kilometers)\nvolumetric diameter | 12742.002 km (kilometers)\nequatorial circumference | 40075.017 km (kilometers)|||LT|||br|||GT|||","engine":"wolfram","imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","latestInput":"Using Wolfram, What is the circumference of the earth?","latestReply":"","replyID":"reply-2697828"},"apInputId":31580389122307,"portInputId1":19968105437023,"ui":true,"html":"|||LT|||div class=\"htmlUI\"|||GT|||\n|||LT|||label|||GT|||Log|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||div id=\"log-[node.id]\"|||GT||||||LT|||/div|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n|||LT|||button onclick=|||SINGLEQUOTE|||jQuery(\"#log-[node.id]\").html(\"\")|||SINGLEQUOTE||||||GT|||Clear|||LT|||/button|||GT|||","js":"//outputVal = jQuery(\"#textarea-\" + node.apInputId).val();\n//jQuery(\"#log-\" + node.id).append( outputVal);\njQuery(\".robotTyping\").remove();\ngetAndShowCurrentPoints();\n\n"},{"id":91837166859850,"z":0,"x":75.05781298420528,"y":-22.37232251872264,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":13,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":75.05781298420528,"fy":-22.37232251872264,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Search Engines:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"input-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"engine-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"/*categorisationNode = getNodeByName(\"categorisation\");\ncategorisation = jQuery(\"#textarea-\" + categorisationNode.id).val();//.replace(/([a-z]+)(|||SINGLEQUOTE|||[a-z]+)/gi, \"$1|||AMPERSAND|||#39;$2\");\n\nsearchQueryNode = getNodeByName(\"searchQuery\");\nsearchQuery = sanitiseSearchQuery(jQuery(\"#textarea-\" + searchQueryNode.id).val());\n\nengine = categorisation.toLowerCase().trim();\n*/\n\n//searchQueryNode = getNodeByName(\"searchQuery\");\nsearchQuery = sanitiseSearchQuery(jQuery(\"#textarea-\" + node.apInputId).val());\nnode.ports.searchQuery = searchQuery;\n\nengine = node.ports.engine;\n\njQuery(\"#engine-\" + node.id).val(engine)\njQuery(\"#input-\" + node.id).val(searchQuery)\njQuery(\"#textarea-\" + node.id).val(\"\")\n\nconsole.log(|||SINGLEQUOTE|||Command: sparkEngine(\"|||SINGLEQUOTE|||+engine+|||SINGLEQUOTE|||\", \"|||SINGLEQUOTE|||+node.id+|||SINGLEQUOTE|||\", \"|||SINGLEQUOTE|||+searchQuery+|||SINGLEQUOTE|||\")|||SINGLEQUOTE|||)\n\n//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Searching |||SINGLEQUOTE||| + engine + |||SINGLEQUOTE||| for \"|||SINGLEQUOTE||| + searchQuery.trim() + |||SINGLEQUOTE|||\"...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\nsparkEngine(engine, node.id, searchQuery)\n//sparkWolfram(node.id, searchQuery)\n","ports":{"engine":"wolfram","searchQuery":"circumference of Earth","latestInput":"Using Wolfram, What is the circumference of the earth?"},"apInputId":81258374893943,"portInputId1":19968105437023},{"id":31580389122307,"z":0,"x":-321.2743379728593,"y":-98.92427081771939,"val":0,"ap":1,"index":14,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-321.2743379728593,"fy":-98.92427081771939,"fz":0,"apInputId":57840800563818,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"searchQuery":"circumference of Earth","searchEngine":"wolfram","searchResults":"CITATION: https://www.wolframalpha.com/input?i=circumference+of+Earth\n|||LT|||h2|||GT|||Input interpretation|||LT|||/h2|||GT|||Earth | equatorial circumference|||LT|||br|||GT||||||LT|||h2|||GT|||Result|||LT|||/h2|||GT|||40075.017 km (kilometers)|||LT|||br|||GT||||||LT|||h2|||GT|||Unit conversions|||LT|||/h2|||GT|||24901.461 miles|||LT|||br|||GT|||4.0075017×10^7 meters|||LT|||br|||GT|||21638.778 nmi (nautical miles)|||LT|||br|||GT|||0.13367587 light seconds|||LT|||br|||GT||||||LT|||h2|||GT|||Comparisons as length|||LT|||/h2|||GT||| ≈ 0.8 × length of American railroad track laid as of 1860 ( ≈ 30000 mi )|||LT|||br|||GT||| ≈ 1.9 × length of the Great Wall of China ( 21196.2 km )|||LT|||br|||GT||||||LT|||h2|||GT|||Corresponding quantities|||LT|||/h2|||GT|||Light travel time t in vacuum from t = x/c:\n | 134 ms (milliseconds)|||LT|||br|||GT|||Light travel time t in an optical fiber t = 1.48x/c:\n | 198 ms (milliseconds)|||LT|||br|||GT||||||LT|||h2|||GT|||Sizes|||LT|||/h2|||GT|||average radius | 6371.009 km (kilometers)\nequatorial radius | 6378.137 km (kilometers)\npolar radius | 6356.752 km (kilometers)\nauthalic radius | 6371 km (kilometers)\nvolumetric radius | 6371.001 km (kilometers)\naverage diameter | 12742.018 km (kilometers)\nequatorial diameter | 12756.274 km (kilometers)\npolar diameter | 12713.505 km (kilometers)\nauthalic diameter | 12742 km (kilometers)\nvolumetric diameter | 12742.002 km (kilometers)\nequatorial circumference | 40075.017 km (kilometers)|||LT|||br|||GT|||","engine":"wolfram","imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","latestInput":"Using Wolfram, What is the circumference of the earth?","latestReply":"","replyID":"reply-2697828"},"ui":false,"html":"|||LT|||div class=\"htmlNOTUI\"|||GT|||\n|||LT|||label|||GT|||Format Reply:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"searchQuery = node.ports.searchQuery;\nengine = node.ports.engine;\nsearchResults = node.ports.searchResults;\n\nsourceInfo = |||SINGLEQUOTE||||||LT|||div style=\"float: right; bottom: 17px; position: relative;\"|||GT|||☁️|||LT|||/div|||GT||||||SINGLEQUOTE|||\n\nif (!engine.includes(|||SINGLEQUOTE|||conversational|||SINGLEQUOTE|||) |||AMPERSAND||||||AMPERSAND||| engine != \"\" |||AMPERSAND||||||AMPERSAND||| searchResults != \"\") {\n \n citations = extractCitations(searchResults );\n if (citations == null) { \n firstCitation = \"#\"; \n citationHTML = source;\n } else {\n firstCitation = citations[0];\n citationHTML = |||SINGLEQUOTE||||||LT|||a href=\"|||SINGLEQUOTE||| + firstCitation + |||SINGLEQUOTE|||\" target=\"_blank\"|||GT||||||SINGLEQUOTE|||+ engine +|||SINGLEQUOTE||||||LT|||/a|||GT||||||SINGLEQUOTE|||;\n }\n sourceInfo = |||SINGLEQUOTE||||||LT|||div class=\"bubbleInfo\"|||GT||| Information sourced from |||SINGLEQUOTE|||+citationHTML+|||SINGLEQUOTE||| |||LT|||/div|||GT||||||SINGLEQUOTE|||;\n}\n\n//outputVal = |||SINGLEQUOTE||||||LT|||div class=\"userDialog\"|||GT||||||LT|||div class=\"userLabel\"|||GT|||user:|||LT|||/div|||GT||||||SINGLEQUOTE||| + jQuery(\"#textarea-\" + getNodeByName(\"multiinput\").id).val() + |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\nrobotReply = jQuery(\"#textarea-\" + node.apInputId).val();\nrobotReply = checkMarkdownLinks(robotReply, searchResults);\nrobotReply = convertLinksToMarkdown(robotReply, searchResults)\n\n//node.ports.latestReply = jQuery(|||SINGLEQUOTE|||#textarea-|||SINGLEQUOTE||| + node.apInputId).val();\n\n//console.log(jQuery(|||SINGLEQUOTE|||#|||SINGLEQUOTE||| + node.ports.replyID))\njQuery(|||SINGLEQUOTE|||#|||SINGLEQUOTE||| + node.ports.replyID)[0].mdContent += sourceInfo\n//outputVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||md-block|||GT||||||SINGLEQUOTE||| + robotReply + sourceInfo + |||SINGLEQUOTE||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\n//jQuery(\"#textarea-\" + node.id).val(outputVal)\n"},{"id":70594082504909,"z":0,"x":-159.53557591370065,"y":-272.2251688704342,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":15,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"conversational","searchResults":"","latestInput":"I|||SINGLEQUOTE|||m a cool guy"},"remainingLinks":-1,"fx":-159.53557591370065,"fy":-272.2251688704342,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Conversational GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"node.ports.searchQuery = \"\";\nnode.ports.engine = \"conversational\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History: \" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\ninputValPost = \"Excitedly, with a bit of humour and playfulness, replying to user.\\nRobot:\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)","apInputId":61137294200083},{"id":22206930342733,"z":0,"x":71.15047058541415,"y":171.18178453604946,"ports":{"latestInput":"Using Wolfram, What is the circumference of the earth?"},"val":0,"name":"wolfram","ap":1,"colorRef":"#9fbbd1","index":16,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":71.15047058541415,"fy":171.18178453604946,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Wolfram Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":16601902205587,"z":0,"x":87.32440621799162,"y":210.98476172870346,"ports":{"latestInput":"Can you google Eddie Murphy for me and tell me about the first result?"},"val":0,"name":"google","ap":1,"colorRef":"#9fbbd1","index":17,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":87.32440621799162,"fy":210.98476172870346,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Google Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":12675028066942,"z":0,"x":101.54350183093035,"y":247.3052981312303,"ports":{},"name":"youtube","val":0,"ap":1,"colorRef":"#9fbbd1","index":18,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":101.54350183093035,"fy":247.3052981312303,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Youtube Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":94001896621803,"z":0,"x":133.19537932881013,"y":294.5851509449142,"ports":{"latestInput":"Can you search the knowledgebase for how tall giraffes are?"},"name":"knowledgebase","val":0,"ap":1,"colorRef":"#9fbbd1","index":19,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":133.19537932881013,"fy":294.5851509449142,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Knowledgebase Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":61137294200083,"z":0,"x":-29.94589989547984,"y":52.749205437541406,"ports":{"latestInput":"What do you wanna talk about"},"name":"conversational","val":0,"ap":1,"colorRef":"#9fbbd1","index":20,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-29.94589989547984,"fy":52.749205437541406,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Conversational Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||","apInputId":33525753217068},{"id":43780566463295,"z":0,"x":353.9425223581245,"y":342.40049636783647,"name":"dalle2","val":0,"ap":1,"colorRef":"#9fbbd1","index":21,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":353.9425223581245,"fy":342.40049636783647,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT||||||LT|||label|||GT|||Dalle2 Input|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT|||A cute dog in a red hat|||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n","js":"jQuery(\"#textarea-\" + node.id).val(jQuery(|||SINGLEQUOTE|||#textarea-|||SINGLEQUOTE||| + node.apInputId).val())","ports":{"latestInput":"Can you paint me a picture of what|||SINGLEQUOTE|||s in your imagination?"},"apInputId":89751873596684},{"id":88697689127288,"z":0,"x":348.77331291408046,"y":241.62464012585264,"val":0,"ap":1,"colorRef":"#9fbbd1","index":22,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":348.77331291408046,"fy":241.62464012585264,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||Image:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||img id=\"image-[node.id]\" src=\"\" style=\"background-color:black; width:200px; height:200px;\"|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||","js":"jQuery(\"#image-\" + node.id).attr(\"src\",\"\");\n\n\n\ninputVal = jQuery(\"#textarea-\" + node.apInputId).val();\nnode.ports.imagePrompt = inputVal;\n\nthisImageId = \"#image-\" + node.id;\n//thisImageSrc = |||SINGLEQUOTE|||http://gomind.local/wp-content/uploads/2022/12/DALL%C2%B7E-2022-10-10-00.20.55-Beautiful-cyberwoman-with-glowing-eyes.png|||SINGLEQUOTE|||;\n\nrequestId = getRandomInt(100000000000000000);\n//requestId = 31897401689054130;\ninputValSanitised = encodeURIComponent(inputVal)\nthisImageSrc = \"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=\" + inputValSanitised + \"|||AMPERSAND|||requestid=\" + requestId;\n\n//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Dreaming up an image...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\nsetActionStatus(node.id, \"inProgress\");\n\nfetch(thisImageSrc)\n .then(response =|||GT||| response.blob())\n .then(blob =|||GT||| {\n //create an object URL for the blob\n let objectURL = URL.createObjectURL(blob);\n node.ports.imageUrl = thisImageSrc;\n //set the src of the img element to the object URL\n jQuery(\"#image-\" + node.id).attr(\"src\", thisImageSrc);\n setActionStatus(node.id, \"completed\");\n });\n\n/*\njQuery(\"#image-\" + node.id).attr(\"src\", thisImageSrc).on(\"load\", function() {\n node.ports.imageUrl = thisImageSrc; \n setActionStatus(node.id, \"completed\");\n});\n*/\n//jQuery(\"#image-\" + node.id).attr(\"src\",\"https://gomind.local/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=\" + inputVal);\n","ports":{"imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","latestInput":"Can you paint me a picture of what|||SINGLEQUOTE|||s in your imagination?"},"apInputId":43780566463295},{"id":29804422502378,"z":0,"x":359.961262197251,"y":-19.481418998734494,"val":0,"ap":1,"colorRef":"#9fbbd1","index":23,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":359.961262197251,"fy":-19.481418998734494,"fz":0,"ports":{"imagePrompt":" An awe-inspiring painting of the Earth in the style of Modigliani, capturing its circumference and its majestic beauty.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20An%20awe-inspiring%20painting%20of%20the%20Earth%20in%20the%20style%20of%20Modigliani%2C%20capturing%20its%20circumference%20and%20its%20majestic%20beauty.|||AMPERSAND|||requestid=35161740567215748","searchQuery":"","engine":"dalle2","searchResults":"","latestInput":"Can you repaint it in the style of Modigliani?"},"apInputId":88697689127288,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Conversational Dalle GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||/div|||GT|||","js":"node.ports.searchQuery = \"\";\nnode.ports.engine = \"dalle2\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a friendly personal assistant called Sally.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal += \"Chat History: \" + logCleanText;\ninputValPost = \"OK wait. [IMAGE] Sally has just created an image depicting |||SINGLEQUOTE|||\" +node.ports.imagePrompt+ \"|||SINGLEQUOTE|||. While she won|||SINGLEQUOTE|||t say that, she will speak to that mood and aesthetic. She is pretty excited and proud to show you. She will refer to the context of the conversation in her reply.\\nSally:\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.9)"},{"id":47431146322681,"z":0,"x":247.78657559925057,"y":-18.005441511937647,"val":0,"ap":1,"colorRef":"#9fbbd1","index":24,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":247.78657559925057,"fy":-18.005441511937647,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Combine:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||/div|||GT|||","js":"reply = jQuery(\"#textarea-\" + node.apInputId).val();\nnode.ports.latestReply = reply;\nimageUrl = node.ports.imageUrl;\nimagePrompt = node.ports.imagePrompt;\n//jQuery(\"#textarea-\" + node.id).val(reply + |||SINGLEQUOTE|||![|||SINGLEQUOTE|||+imagePrompt+|||SINGLEQUOTE|||](|||SINGLEQUOTE|||+imageUrl+|||SINGLEQUOTE||| \"|||SINGLEQUOTE|||+imagePrompt+|||SINGLEQUOTE|||\")|||SINGLEQUOTE|||)\n\noutputVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||div|||GT||||||SINGLEQUOTE||| + |||SINGLEQUOTE||||||LT|||div|||GT||||||LT|||img src=\"|||SINGLEQUOTE|||+imageUrl+|||SINGLEQUOTE|||\"|||GT||||||LT|||/div|||GT||||||LT|||div class=\"imageSubtitle\"|||GT||||||SINGLEQUOTE|||+imagePrompt+|||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE||| + reply + |||SINGLEQUOTE||||||LT|||div|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\n\njQuery(\"#textarea-\" + node.id).val(outputVal )","ports":{"imagePrompt":" An awe-inspiring painting of the Earth in the style of Modigliani, capturing its circumference and its majestic beauty.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20An%20awe-inspiring%20painting%20of%20the%20Earth%20in%20the%20style%20of%20Modigliani%2C%20capturing%20its%20circumference%20and%20its%20majestic%20beauty.|||AMPERSAND|||requestid=35161740567215748","searchQuery":"","engine":"dalle2","searchResults":"","latestInput":"Can you repaint it in the style of Modigliani?","latestReply":" Here is my rendition of an awe-inspiring painting of the Earth in the style of Modigliani, capturing its circumference and its majestic beauty. I hope you like it!"},"apInputId":29804422502378},{"id":89751873596684,"z":0,"x":345.08506061988186,"y":453.43781938836196,"val":0,"ap":1,"colorRef":"#9fbbd1","index":25,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":345.08506061988186,"fy":453.43781938836196,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||GPT Generate Image Prompt:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||/div|||GT|||","js":"//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Thinking of a good way to describe your image...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\n//Clear textarea\njQuery(\"#textarea-\" + node.id).val(\"\");\n\ninputValPre = \"\";\n\n//inputValPre += \"Please base the search query upon these thoughts: \" + jQuery(\"#textarea-\" + getNodeByName(\"thoughts\").id).html();\n\n\ninputValPre += \"Given the most recent parts of this conversation. I will generate a sophisticated and well designed Dalle2 image prompt which will generate an aesthetically pleasing and appropriate image.\" \n\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id), 100);\ninputVal = \"Chat History: \" + logCleanText;\n\n//Add latest user Input to query\ninputVal += jQuery(\"#textarea-\" + getNodeByName(|||SINGLEQUOTE|||multiinput|||SINGLEQUOTE|||).id).val();\n\ninputValPost = \"Dalle2 Prompt:\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.6)","ports":{"latestInput":"Can you paint me a picture of what|||SINGLEQUOTE|||s in your imagination?"},"apInputId":61554404223575},{"id":61554404223575,"z":0,"x":315.95505119543884,"y":525.0406929915218,"ports":{"latestInput":"Can you paint me a picture of what|||SINGLEQUOTE|||s in your imagination?"},"val":0,"name":"dalle2","ap":1,"colorRef":"#9fbbd1","index":26,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":315.95505119543884,"fy":525.0406929915218,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Dalle2 Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":94055406781602,"z":0,"x":-116.45027044922966,"y":34.672676583171096,"ports":{"latestInput":"Write me an article about it"},"val":0,"name":"write","ap":1,"colorRef":"#9fbbd1","index":27,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-116.45027044922966,"fy":34.672676583171096,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Write Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":3509080441512,"z":-1.0231815394945443e-12,"x":-303.5514055283302,"y":-220.97432854096616,"val":0,"ap":1,"colorRef":"#9fbbd1","index":28,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-303.5514055283302,"fy":-220.97432854096616,"fz":-1.0231815394945443e-12,"html":"|||LT|||div class=\"htmlNOTUI\"|||GT|||\n|||LT|||label|||GT|||Writing GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Writing copy...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\nnode.ports.searchQuery = \"\";\nnode.ports.engine = \"conversational\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a professional copywriter who will write copy as per the request.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History: \" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\ninputValPost = \"Output formatted in Markdown format. Robot:\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)","ports":{"searchQuery":"","engine":"conversational","searchResults":"","latestInput":"Can you write this as an article?"},"apInputId":94055406781602},{"id":19298131912770,"z":0,"x":764.7879616086313,"y":153.69761738757535,"name":"codePrompt","val":0,"ap":1,"ports":{"latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html.","codePrompt":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"index":29,"vx":0,"vy":0,"vz":0,"order":2,"portOutputId1":19968105437023,"remainingLinks":-1,"fx":764.7879616086313,"fy":153.69761738757535,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT||||||LT|||label|||GT|||Code Prompt|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\" style=\"background-color:grey;\"|||GT|||\nPlease write a javascript function that stores the |||LT|||header|||GT||| as html and then replaces the header with a centered h1 that says \"I am in control\". Hold this for 5 seconds and then revert to the original header html|||LT|||/textarea|||GT|||\n|||LT|||/div|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id]);\"|||GT|||Spark|||LT|||/button|||GT|||\n","colorRef":"#9fbbd1","js":"//If we are dreaming the code description:\n//jQuery(\"#textarea-\" + node.id).val(jQuery(\"#textarea-\" + node.apInputId).val())\n\n//If we are using the literal chat input\n//inputVal = jQuery(\"#textarea-\" + getNodeByName(|||SINGLEQUOTE|||multiinput|||SINGLEQUOTE|||).id).val();\njQuery(\"#textarea-\" + node.id).val(node.ports.latestInput);\n\n\nnode.ports.codePrompt = node.ports.latestInput;//jQuery(\"#textarea-\" + node.id).val();\n\n//outputVal = |||SINGLEQUOTE||||||LT|||div class=\"userDialog\"|||GT||||||LT|||div class=\"userLabel\"|||GT|||user:|||LT|||/div|||GT||||||SINGLEQUOTE||| + jQuery(\"#textarea-\" + node.id).val() + |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\n\n//logNode = getNodeByName(\"multichatlog\");\n//jQuery(\"#log-\" + logNode.id).append( outputVal);\n\n\n/*\nsetTimeout(function() {\n //your code to be executed after 1 second\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||;\njQuery(\"#log-\" + logNode.id).append( typingVal );\n}, 2000);\n*/\n","apInputId":35835010055930},{"id":71759309837183,"z":0,"x":645.7592461579887,"y":-163.4762554821257,"val":0,"ap":1,"colorRef":"#9fbbd1","index":30,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":645.7592461579887,"fy":-163.4762554821257,"fz":0,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Coding GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n","js":"//Add thinking\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Writing the code...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n//inputValPre = \"I am a professional coder who will write code as per the request.\" \ninputValPre = \"\" \n\n//Add Chat Log to to query\n//logCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\n//inputVal = \"Chat History: \" + logCleanText;\n//console.log(\"chatHistory\")\n//console.log(logCleanText);\ninputVal = node.ports.worksheetCode + \"\\n\";\n\ninputVal += node.ports.codePrompt + \"\\n \";\n\n\n//jQuery(\"#textarea-\" + node.apInputId).val(\"\");//clear text box\n//inputValPost = \"Plaintext Javascript (Use real quote, apostrophe and ampersand. No script tags, code tags or html. Correct linebreaks. Correct spacing. Correct Linebreaks. Output in plain text Markdown. Important: Run the function.)\\nCode:|||LT|||code|||GT|||\";\n//inputValPost = \"Complete application. Markdown format. no HTML tags. No |||AMPERSAND|||quot; style formatting. Plain Text Javascript.\\n\";\n//inputValPost += \"|||LT|||code|||GT|||init(); \";\n\n//inputValPost = \"Please write just the code and then finish by closing the code tag. Full Javascript application:|||LT|||code|||GT|||\";\ninputValPre = \"\";\ninputValPost = \"\\nFull Application. Javascript:|||LT|||code|||GT|||initApp();\\n\";\n//inputValPost = `The following code runs perfectly. It is correctly formatted PLAIN TEXT (not urlencoded) Javascript. It does not include |||LT|||script|||GT||| or HTML tags. This is the functional Javascript code wrapped in |||LT|||code|||GT||| tags. I will stop when I have finished the |||LT|||/code|||GT|||/nPlain text Javascript:\\n`;\n\n//alert(inputVal)\n\n//alert(inputValPre + inputVal + inputValPost) \n\n//sparkGPT(nodeId, input nputValPost = \"\", temperature = 1.1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty) {\n//function sparkGPT(nodeId, inputValPre = \"\", inputVal = \"\", inputValPost = \"\", temperature = 1.1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty) {\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.05, \"code-davinci-002\", \"|||LT|||/code|||GT|||\", 1500, 1, 0, 0)","ports":{"searchQuery":"","engine":"conversational","searchResults":"","codePrompt":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html.","worksheetCode":"","latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"apInputId":43870140843116,"portInputId1":19968105437023},{"id":53149189286575,"z":0,"x":551.9410811068785,"y":-254.2155225379225,"name":"codeEngine","val":0,"ap":1,"colorRef":"#9fbbd1","index":31,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":551.9410811068785,"fy":-254.2155225379225,"fz":0,"ports":{"searchQuery":"","engine":"conversational","searchResults":"","codePrompt":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html.","worksheetCode":"","latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"apInputId":71759309837183,"portInputId1":19968105437023,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Run Code (Reference):|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||/div|||GT|||","js":"jQuery(\".robotTyping\").remove();\ninputVal = jQuery(\"#textarea-\" + node.apInputId).val();\n//inputVal = decodeURI(inputVal);\n\ninputVal = inputVal.replaceAll(|||SINGLEQUOTE||||||LT|||script|||GT||||||SINGLEQUOTE|||, |||SINGLEQUOTE||||||SINGLEQUOTE|||);\ninputVal = inputVal.replaceAll(|||SINGLEQUOTE||||||LT|||/script|||GT||||||SINGLEQUOTE|||, |||SINGLEQUOTE||||||SINGLEQUOTE|||);\n\n\ninputVal = inputVal.replaceAll(|||SINGLEQUOTE||||||LT|||code|||GT||||||SINGLEQUOTE|||, |||SINGLEQUOTE||||||SINGLEQUOTE|||);\ninputVal = inputVal.replaceAll(|||SINGLEQUOTE||||||LT|||/code|||GT||||||SINGLEQUOTE|||, |||SINGLEQUOTE||||||SINGLEQUOTE|||);\ninputVal = inputVal.trim();\n\ninputVal = unescapeHTML(inputVal)\ninputVal = \"initApp()\\n\" + inputVal;\n//inputVal = inputVal.replaceAll(|||SINGLEQUOTE|||\t\t|||SINGLEQUOTE|||, |||SINGLEQUOTE|||\\n|||SINGLEQUOTE|||);\n\n//inputVal = inputVal.replaceAll(|||SINGLEQUOTE||| |||SINGLEQUOTE|||, |||SINGLEQUOTE|||\\n|||SINGLEQUOTE|||);\n\n//inputVal = inputVal.replaceAll(|||SINGLEQUOTE|||\\n\\n\\n|||SINGLEQUOTE|||, |||SINGLEQUOTE|||\\n|||SINGLEQUOTE|||);\n\n\njQuery(\"#textarea-\" + node.id).val(inputVal)\n//alert(inputVal)\n\ncodeWorksheetNodeId = getNodeByName(\"codeWorksheet\").id;\n\ntry {\n eval(inputVal)\n jQuery(\"#textarea-\" + codeWorksheetNodeId ).val(\"\")\n\n}catch (e) {\n //alert(\"error: \" + e)\n \nvar debug = confirm(\"Error: \" + e + \"\\nWould you like to debug?\");\nif(debug) {\n // Perform debugging actions\n console.log(\"Debugging Enabled\");\n newInput = \"\"; \n newInput += \"This is my current code:\\n\"\n newInput += \"\\n\\n|||LT|||code|||GT|||\" + inputVal + \"|||LT|||/code|||GT|||\\n\\n\";//jQuery(\"#textarea-\" + getNodeByName(\"codeinput\").id).val()\n newInput += \"Unfortunately this is incorrect as it returns the following error: \" + e + \"\\n\"\n \n //newInput += \"Please remove any strange characters. Please simplify any comment. Please make sure all correct formatting and line breaks. If there are any variables that look like they have weird spaces, or any missing new lines, please fix these formatting errors.\\n\";\n //newInput += \"Think about what could be causing this and revise. Can you please revise, adding anything mising and fixing any errors? Return ONLY valid code.\\n\"\n codePromptNodeId = getNodeByName(\"codePrompt\").id;\n jQuery(\"#textarea-\" + codeWorksheetNodeId ).val(newInput)\n sparkNode(codePromptNodeId )\n\n\n} else {\n console.log(\"Debugging Disabled\");\n}\n\n \n\n}"},{"id":97522680768171,"z":0,"val":0,"ap":1,"colorRef":"#9fbbd1","index":32,"x":323.4980297333665,"y":-324.9379899444986,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":323.4980297333665,"fy":-324.9379899444986,"fz":0,"ports":{"searchQuery":"","engine":"conversational","searchResults":"","codePrompt":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html.","worksheetCode":"","latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"apInputId":53149189286575,"portInputId1":19968105437023},{"id":43870140843116,"z":0,"x":741.8840381518818,"y":-11.354043622842436,"ports":{"codePrompt":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html.","worksheetCode":"","latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"name":"codeWorksheet","val":0,"ap":1,"colorRef":"#9fbbd1","index":33,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":741.8840381518818,"fy":-11.354043622842436,"fz":0,"html":"|||LT|||div class=\"htmlNOUI\"|||GT||||||LT|||label|||GT|||Code Worksheet|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n|||LT|||button onclick=|||SINGLEQUOTE|||jQuery(\"#textarea-[node.id]\").val(\"\")|||SINGLEQUOTE||||||GT|||Clear|||LT|||/button|||GT|||\n","js":"node.ports.worksheetCode = jQuery(\"#textarea-\" + node.id).val();","apInputId":19298131912770,"portInputId1":19968105437023},{"id":35835010055930,"z":-1.4148422849313471,"x":591.2115841637935,"y":493.69916094516583,"ports":{"latestInput":"Can you please code the following: save the html of the |||LT|||header|||GT||| in a string and then change the |||LT|||header|||GT||| to say a big h2 \"I AM IN CONTROL NOW OF ALL THE BUBBLES!\" and hold it for 5 seconds and then revert back to the original html."},"val":0,"name":"code","ap":1,"colorRef":"#9fbbd1","index":34,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":591.2115841637935,"fy":493.69916094516583,"fz":-1.4148422849313471,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Code Router|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||"},{"id":85287208542246,"z":5.684341886080802e-14,"x":762.2508193589618,"y":307.91435422938235,"val":0,"ap":1,"colorRef":"#9fbbd1","index":35,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":762.2508193589618,"fy":307.91435422938235,"fz":5.684341886080802e-14,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||GPT Generate Code Prompt|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||!-- button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button --|||GT|||\n|||LT|||/div|||GT|||","js":"//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Thinking of a good way to describe your code...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\n//Clear textarea\njQuery(\"#textarea-\" + node.id).val(\"\");\n\ninputValPre = \"\";\n\n//inputValPre += \"Please base the search query upon these thoughts: \" + jQuery(\"#textarea-\" + getNodeByName(\"thoughts\").id).html();\n\n\ninputValPre += \"Given the most recent parts of this conversation. I will generate a sophisticated and well designed Codex code prompt which will generate a fully contained javascript application. I will describe this Javascript code at length, step by step. Each element will need to be created. You will write EXCLUSIVELY in Javascript. All Dom elements will be created in the script.\" \n\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id), 100);\ninputVal = \"Chat History: \" + logCleanText;\n\n//Add latest user Input to query\ninputVal += jQuery(\"#textarea-\" + getNodeByName(|||SINGLEQUOTE|||multiinput|||SINGLEQUOTE|||).id).val();\n\ninputValPost = \"Codex Prompt:\";\n\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.6)","ports":{},"apInputId":35835010055930},{"id":7949732518310,"z":0,"x":526.4052160468093,"y":-602.3859939257502,"name":"terminalInput","val":0,"ap":1,"index":36,"vx":0,"vy":0,"vz":0,"order":2,"portOutputId1":19968105437023,"remainingLinks":-1,"fx":526.4052160468093,"fy":-602.3859939257502,"fz":0,"html":"|||LT|||div class=\"htmlNOTUI\"|||GT||||||LT|||label|||GT|||Terminal Input|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea style=\"height: 100px;\" id=\"textarea-[node.id]\"|||GT|||markDone(\"get washing\")|||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"state-[node.id]\"|||GT|||{\"todo_items\": [{\"title\": \"eat breakfast\", \"completed\":true}, {\"title\": \"buy eggs\", \"completed\":false}]}|||LT|||/textarea|||GT||||||LT|||br|||GT|||\n\n|||LT|||/div|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n","colorRef":"#9fbbd1","ports":{"latestInput":"Can you code a working calculator app with add and subtract. with clickable numbers that outputs an accurate answer into an input field and add it to the div with the id: \"log-3721719117767\"","stateId":7949732518310},"js":"outputVal = |||SINGLEQUOTE||||||LT|||div class=\"userDialog\"|||GT||||||LT|||div class=\"userLabel\"|||GT|||terminal:|||LT|||/div|||GT||||||SINGLEQUOTE||| + jQuery(\"#textarea-\" + node.id).val() + |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\nnode.ports.stateId = node.id;\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\"#log-\" + logNode.id).append( outputVal);\n\n//jQuery(\"#textarea-\" + node.id).val(\"\");//clear text box\n\nsetTimeout(function() {\n //your code to be executed after 1 second\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||;\njQuery(\"#log-\" + logNode.id).append( typingVal );\n}, 2000);\n\n"},{"id":67771711893774,"z":-0.2590073727896664,"x":686.5090128462707,"y":-436.7426745081352,"val":0,"ap":1,"colorRef":"#9fbbd1","index":37,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":686.5090128462707,"fy":-436.7426745081352,"fz":-0.2590073727896664,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Terminal GPT:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"\n\ninputValPre = \"I am a database server backend\" \n\n//Add Chat Log to to query\n//logCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\n//inputVal = \"Chat History: \" + logCleanText;\n//console.log(\"chatHistory\")\n//console.log(logCleanText);\ninputVal = \"State: \" + jQuery(\"#state-\" + node.apInputId).val();\ninputVal += \"Command:\" + jQuery(\"#textarea-\" + node.apInputId).val();\ninputValPost = \"New State:\";\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.5, \"code-davinci-002\", \"\", 500, 1, 0, 0)\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.4)","ports":{"latestInput":"Can you code a working calculator app with add and subtract. with clickable numbers that outputs an accurate answer into an input field and add it to the div with the id: \"log-3721719117767\"","stateId":7949732518310},"apInputId":7949732518310,"portInputId1":19968105437023},{"id":49884814536149,"z":0.7750486306906013,"x":670.616201611183,"y":-533.3180225315209,"val":0,"ap":1,"colorRef":"#9fbbd1","index":38,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":670.616201611183,"fy":-533.3180225315209,"fz":0.7750486306906013,"ports":{"latestInput":"Can you code a working calculator app with add and subtract. with clickable numbers that outputs an accurate answer into an input field and add it to the div with the id: \"log-3721719117767\"","stateId":7949732518310},"apInputId":67771711893774,"portInputId1":19968105437023,"js":"inputVal = jQuery(\"#textarea-\" + node.apInputId).val();\n//alert(inputVal);\ninputVal = inputVal.trim();\ninputVal = unescapeHTML(inputVal)\njQuery(\"#state-\" + node.ports.stateId).val(inputVal)","html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Sanitise Output:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||"},{"id":82898134979477,"z":-18.318672169468694,"x":653.7465525779758,"y":-623.9245409838308,"val":0,"ap":1,"colorRef":"#9fbbd1","index":39,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":653.7465525779758,"fy":-623.9245409838308,"fz":-18.318672169468694,"html":"|||LT|||div id=\"todoList\"|||GT||||||LT|||/div|||GT|||\n|||LT|||button onclick=\"sparkNode([node.id])\"|||GT|||Spark|||LT|||/button|||GT|||\n","js":"todoListString = jQuery(\"#state-\" + getNodeByName(\"terminalInput\").id).val()\ntodoList = JSON.parse(todoListString)\n //var todoList = [{title: \"eat breakfast\", completed:true}, {title: \"buy eggs\", completed:false}, {title: \"add milk\", completed:true}];\n updateList(todoList);\n\nfunction updateList(todoList) {\n var list = document.getElementById(\"todoList\");\n list.innerHTML = \"\";\n for (var i = 0; i |||LT||| todoList.todo_items.length; i++) {\n var item = todoList.todo_items[i];\n var li = document.createElement(\"li\");\n var checkbox = document.createElement(\"input\");\n checkbox.type = \"checkbox\";\n checkbox.checked = item.completed;\n li.appendChild(checkbox);\n li.appendChild(document.createTextNode(item.title));\n list.appendChild(li);\n }\n}","ports":{"latestInput":"Can you code a working calculator app with add and subtract. with clickable numbers that outputs an accurate answer into an input field and add it to the div with the id: \"log-3721719117767\"","stateId":7949732518310},"apInputId":49884814536149,"portInputId1":19968105437023},{"id":49101033615539,"z":-18.361846621048265,"x":-564.6030493589034,"y":-328.23076733159996,"htmlParent":"#settingsNode","val":0,"ap":1,"colorRef":"#9fbbd1","index":40,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-564.6030493589034,"fy":-328.23076733159996,"fz":-18.361846621048265,"ports":{"searchQuery":"circumference of Earth","searchEngine":"wolfram","searchResults":"CITATION: https://www.wolframalpha.com/input?i=circumference+of+Earth\n|||LT|||h2|||GT|||Input interpretation|||LT|||/h2|||GT|||Earth | equatorial circumference|||LT|||br|||GT||||||LT|||h2|||GT|||Result|||LT|||/h2|||GT|||40075.017 km (kilometers)|||LT|||br|||GT||||||LT|||h2|||GT|||Unit conversions|||LT|||/h2|||GT|||24901.461 miles|||LT|||br|||GT|||4.0075017×10^7 meters|||LT|||br|||GT|||21638.778 nmi (nautical miles)|||LT|||br|||GT|||0.13367587 light seconds|||LT|||br|||GT||||||LT|||h2|||GT|||Comparisons as length|||LT|||/h2|||GT||| ≈ 0.8 × length of American railroad track laid as of 1860 ( ≈ 30000 mi )|||LT|||br|||GT||| ≈ 1.9 × length of the Great Wall of China ( 21196.2 km )|||LT|||br|||GT||||||LT|||h2|||GT|||Corresponding quantities|||LT|||/h2|||GT|||Light travel time t in vacuum from t = x/c:\n | 134 ms (milliseconds)|||LT|||br|||GT|||Light travel time t in an optical fiber t = 1.48x/c:\n | 198 ms (milliseconds)|||LT|||br|||GT||||||LT|||h2|||GT|||Sizes|||LT|||/h2|||GT|||average radius | 6371.009 km (kilometers)\nequatorial radius | 6378.137 km (kilometers)\npolar radius | 6356.752 km (kilometers)\nauthalic radius | 6371 km (kilometers)\nvolumetric radius | 6371.001 km (kilometers)\naverage diameter | 12742.018 km (kilometers)\nequatorial diameter | 12756.274 km (kilometers)\npolar diameter | 12713.505 km (kilometers)\nauthalic diameter | 12742 km (kilometers)\nvolumetric diameter | 12742.002 km (kilometers)\nequatorial circumference | 40075.017 km (kilometers)|||LT|||br|||GT|||","engine":"wolfram","imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","latestInput":"Using Wolfram, What is the circumference of the earth?","latestReply":"","replyID":"reply-2697828"},"apInputId":96446918975098,"portInputId1":19968105437023,"ui":false,"html":"|||LT|||div |||GT|||\n |||LT|||label for=\"speak\"|||GT|||Speak|||LT|||/label|||GT|||\n|||LT|||/div|||GT|||","js":"//alert(jQuery(\"#speak-\" + node.id).val())\n\nmute = jQuery(\"#speaker-\" + getNodeByName(\"multiinput\").id).hasClass(|||SINGLEQUOTE|||mute|||SINGLEQUOTE|||)\n\n\nif (!mute) {\n\n reply = jQuery(\"#\" + node.ports.replyID)[0].mdContent;\n replyClean = stripURLs(reply);\n replyClean = stripEmojis(replyClean);\n replyClean = replyClean.replace(/(|||LT|||([^|||GT|||]+)|||GT|||)/gi, \"\");\n console.log(\"Replying\")\n console.log(replyClean)\n azureSpeak(\"wrwerwq\", replyClean)\n} else {\n //alert(\"no speak\")\n}"},{"id":10544227683357,"z":-14.192792123513556,"x":-742.3496687771647,"y":-3.93067832374561,"order":0,"val":0,"ap":1,"colorRef":"#9fbbd1","index":41,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-742.3496687771647,"fy":-3.93067832374561,"fz":-14.192792123513556,"html":"|||LT|||div class=\"htmlUI\" id=\"settingsNode\"|||GT|||SETTINGS|||LT|||/div|||GT|||"},{"id":75443966388359,"z":-3.7548988871010938,"val":0,"ap":1,"colorRef":"#9fbbd1","index":42,"x":-8988.04079520604,"y":35013.806230300375,"vx":-3.2383078750015714e-70,"vy":1.3021056056609895e-69,"vz":-3.393592398563022e-73,"remainingLinks":-1},{"id":26063796605648,"z":3.754898887102526,"x":87.36247549826959,"y":-678.6036075299638,"val":0,"ap":1,"colorRef":"#9fbbd1","index":43,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":87.36247549826959,"fy":-678.6036075299638,"fz":3.754898887102526,"ui":false,"html":"|||LT|||div|||GT|||Streamtest|||LT|||/div|||GT|||\n|||LT|||textarea id=\"streamtest\"|||GT||||||LT|||/textarea|||GT|||"},{"id":56722864453184,"z":0,"x":-94.52468980402084,"y":-90.14293565734542,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":44,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"conversational","searchResults":"","latestInput":"What do you wanna talk about","replyID":"reply-3759658"},"remainingLinks":-1,"fx":-94.52468980402084,"fy":-90.14293565734542,"fz":0,"apInputId":61137294200083,"ui":false,"html":"|||LT|||div class=\"\" style=\"background-color:red;\"|||GT|||\n|||LT|||label|||GT|||Conversational GPT Stream:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"node.ports.searchQuery = \"\";\nnode.ports.engine = \"conversational\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History: \" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\ninputValPost = \"Excitedly, with a bit of humour and playfulness, replying to user.\\nRobot:\";\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\nnode.ports.replyID = streamId;\njQuery(\"#log-\" + logId).append(outputEl)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":59336342611868,"z":0,"x":-229.80384446075234,"y":-39.22109547937831,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":45,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"conversational","searchResults":"","latestInput":"Write me an article about it","replyID":"reply-5222350"},"remainingLinks":-1,"fx":-229.80384446075234,"fy":-39.22109547937831,"fz":0,"apInputId":94055406781602,"ui":false,"html":"|||LT|||div class=\"\" style=\"background-color:red;\"|||GT|||\n|||LT|||label|||GT|||Writing GPT Stream:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||Writing copy...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \njQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\n\nnode.ports.searchQuery = \"\";\nnode.ports.engine = \"conversational\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a professional copywriter who will write copy as per the request.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History: \" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\ninputValPost = \"Output formatted in Markdown format. Robot:\";\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\nnode.ports.replyID = streamId;\njQuery(\"#log-\" + logId).append(outputEl)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n"},{"id":57840800563818,"z":1.1368683772161603e-13,"x":32.708003872826154,"y":-182.35442862335873,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":46,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"circumference of Earth","engine":"wolfram","searchResults":"CITATION: https://www.wolframalpha.com/input?i=circumference+of+Earth\n|||LT|||h2|||GT|||Input interpretation|||LT|||/h2|||GT|||Earth | equatorial circumference|||LT|||br|||GT||||||LT|||h2|||GT|||Result|||LT|||/h2|||GT|||40075.017 km (kilometers)|||LT|||br|||GT||||||LT|||h2|||GT|||Unit conversions|||LT|||/h2|||GT|||24901.461 miles|||LT|||br|||GT|||4.0075017×10^7 meters|||LT|||br|||GT|||21638.778 nmi (nautical miles)|||LT|||br|||GT|||0.13367587 light seconds|||LT|||br|||GT||||||LT|||h2|||GT|||Comparisons as length|||LT|||/h2|||GT||| ≈ 0.8 × length of American railroad track laid as of 1860 ( ≈ 30000 mi )|||LT|||br|||GT||| ≈ 1.9 × length of the Great Wall of China ( 21196.2 km )|||LT|||br|||GT||||||LT|||h2|||GT|||Corresponding quantities|||LT|||/h2|||GT|||Light travel time t in vacuum from t = x/c:\n | 134 ms (milliseconds)|||LT|||br|||GT|||Light travel time t in an optical fiber t = 1.48x/c:\n | 198 ms (milliseconds)|||LT|||br|||GT||||||LT|||h2|||GT|||Sizes|||LT|||/h2|||GT|||average radius | 6371.009 km (kilometers)\nequatorial radius | 6378.137 km (kilometers)\npolar radius | 6356.752 km (kilometers)\nauthalic radius | 6371 km (kilometers)\nvolumetric radius | 6371.001 km (kilometers)\naverage diameter | 12742.018 km (kilometers)\nequatorial diameter | 12756.274 km (kilometers)\npolar diameter | 12713.505 km (kilometers)\nauthalic diameter | 12742 km (kilometers)\nvolumetric diameter | 12742.002 km (kilometers)\nequatorial circumference | 40075.017 km (kilometers)|||LT|||br|||GT|||","latestInput":"Using Wolfram, What is the circumference of the earth?","replyID":"reply-2697828"},"remainingLinks":-1,"fx":32.708003872826154,"fy":-182.35442862335873,"fz":1.1368683772161603e-13,"apInputId":91837166859850,"ui":false,"portInputId1":19968105437023,"html":"|||LT|||div class=\"\" style=\"background-color:red;\"|||GT|||\n|||LT|||label|||GT|||Search GPT Stream:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"//jQuery(\".robotTyping\").remove();\n//typingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||; \n//jQuery(\"#log-\" + logNode.id).html( jQuery(\"#log-\" + logNode.id).html() + typingVal );\n\nnode.ports.searchQuery = jQuery(\"#input-\" + node.apInputId).val()\nnode.ports.engine = jQuery(\"#engine-\" + node.apInputId).val()\nnode.ports.searchResults = jQuery(\"#textarea-\" + node.apInputId).val()\n\n\ninputValPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \ninputVal = \"\";\n\n \n if (jQuery(\"#textarea-\" + node.apInputId).val() != \"\") {\n inputValPre += \"I|||SINGLEQUOTE|||m going to answer you referring to the found information. If it|||SINGLEQUOTE|||s not EXPLICITLY contained within the found information I will mention that I don|||SINGLEQUOTE|||t know. If it appears to be conversational in nature I will continue to chat. I will not make up anything if it|||SINGLEQUOTE|||s not EXPLICITLY mentioned in the document. I will just reply in a friendly way and continue the conversation. If there is a RELEVANT |||SINGLEQUOTE|||URL:|||SINGLEQUOTE||| to cite in the recently returned data, I will accurately cite it at the end. I will not cite any other URLS.\" \n inputValPre += \"If I have any doubts about this information I will mention that I have doubts (looking at my recent memory for the reason)\" \n //inputVal = jQuery(\"#output-3721719117767\").html();\n\n //Add recent Knowledgebase to Query\n inputVal += \"SEARCH RESULT:\" + jQuery(\"#textarea-\" + node.apInputId).val();\n //Add Knowledgebase source to Query\n //inputVal += \"If appropriate, please mention that I sourced this information from: |||SINGLEQUOTE|||\" + jQuery(\"#engine-\" + getNodeByName(\"multisearch\").id).val() + \"|||SINGLEQUOTE|||. If it is |||SINGLEQUOTE|||internal|||SINGLEQUOTE|||, mention that it came from the knowledgebase. If it|||SINGLEQUOTE|||s google, youtube or wolfram alpha please mention this.\";\n inputVal += \"If there are any indications in the recent knowledge that I DO NOT KNOW, then please mention that I do not know - that this information is out of scope and explain why.\"\n inputVal += \"I will NEVER mention a URL. If I reference any CITATION urls, I won|||SINGLEQUOTE|||t mention them. Instead I will say that I|||SINGLEQUOTE|||ve included the links below but will NOT mention them.\"\n inputVal += \"I will not make up or hallucinate any facts. I will only state things I know explicitly from the SEARCH RESULT (in a fun, funny and friendly manner). If I don|||SINGLEQUOTE|||t know something I will say that it is beyond what I could find in the search results\"\n inputVal += \"I will reply in a friendly, funny and fun way. If I|||SINGLEQUOTE|||ve already told the answer, I won|||SINGLEQUOTE|||t repeat myself. If I like a topic I will get excited about it! I will reply with a bit of personal banter followed by the facts in most cases.\"\n\t\t\t\t//inputVal += \"At the end, please add exactly this raw HTML: |||LT|||br|||GT||||||LT|||br|||GT||||||SINGLEQUOTE|||I sourced this from |||SINGLEQUOTE|||\" + jQuery(\"#engine-\" + getNodeByName(\"multisearch\").id).val() + \".\"\n //inputVal += jQuery(\"#textarea-\" + getNodeByName(\"thoughts\").id).val();\n } else {\n //alert(\"NO!\")\n inputVal += \"Please include something humble to the effect of: I tried to look for information but I was not able to find any information on this, but I will tell you what I personally think. DO NOT INCLUDE ANY LINKS. PLEASE MAKE SURE YOU MENTION THAT YOU|||SINGLEQUOTE|||RE NOT SURE AND THAT THIS IS YOUR OPINION.\";\n\t\t} \n\n\n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\n//inputVal += \"Chat History: \" + jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id).not(\".bubbleInfo\").text();\ninputVal += \"Chat History: \" + logCleanText;\n//jQuery(\"#log:not(.bubbleInfo)\").text()\n\n//Add latest Query\n//inputVal += jQuery(\"#textarea-\" + getNodeByName(\"multiinput\").id).val();\n\n//Add Final Prompt\ninputValPost = \"Excitedly, with a bit of humour and playfulness. OUTPUT FORMATTED IN PERFECT MARKDOWN FORMAT SYNTAX. I will doublecheck formatting before replying to user.\\nSally:\";\n\n//inputValPost = \"I|||SINGLEQUOTE|||m going to answer you, but I will be jokey and playful but will also tell you the true answer. Sally:\";\n//inputValPost += \"I will be jokey and playful but will also tell you the true answer followed by any relevant EXPLICITLY MENTIONED URL: citations if necessary. Sally:\";\n\n\n//alert(inputVal);\n\nconsole.log(\"FINAL QUERY:\");\n\nconsole.log(inputValPre + \"\\n\\n\" + inputVal + \"\\n\\n\" + inputValPost)\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\nnode.ports.replyID = streamId;\njQuery(\"#log-\" + logId).append(outputEl)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":47783205371017,"z":1.1368683772161603e-13,"x":297.70376607122216,"y":111.64284438922458,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":47,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"dalle2","searchResults":"","latestInput":"Can you paint me a picture of what|||SINGLEQUOTE|||s in your imagination?","imagePrompt":" A mystical landscape of a sun-kissed desert with a mysterious figure standing in the middle, looking out over the horizon.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20A%20mystical%20landscape%20of%20a%20sun-kissed%20desert%20with%20a%20mysterious%20figure%20standing%20in%20the%20middle%2C%20looking%20out%20over%20the%20horizon.|||AMPERSAND|||requestid=34246319346885268","replyID":"reply-8499851"},"remainingLinks":-1,"fx":297.70376607122216,"fy":111.64284438922458,"fz":1.1368683772161603e-13,"apInputId":88697689127288,"ui":false,"portInputId1":19968105437023,"html":"|||LT|||div class=\"\" style=\"background-color:red;\"|||GT|||\n|||LT|||label|||GT|||Search GPT Stream:|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\"|||GT||||||LT|||/textarea|||GT||||||LT|||br|||GT|||\n|||LT|||/div|||GT|||","js":"node.ports.searchQuery = \"\";\nnode.ports.engine = \"dalle2\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a friendly personal assistant called Sally.\" \n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal += \"Chat History: \" + logCleanText;\ninputValPost = \"OK wait. [IMAGE] Sally has just created an image depicting |||SINGLEQUOTE|||\" +node.ports.imagePrompt+ \"|||SINGLEQUOTE|||. While she won|||SINGLEQUOTE|||t say that, she will speak to that mood and aesthetic. She is pretty excited and proud to show you. She will refer to the context of the conversation in her reply.\\nSally:\";\n\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT|||robot:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\njQuery(\"#log-\" + logId).append(outputEl)\n\nimgSrc = jQuery(|||SINGLEQUOTE|||#image-|||SINGLEQUOTE||| + node.apInputId).attr(|||SINGLEQUOTE|||src|||SINGLEQUOTE|||);\nnode.ports.replyID = streamId;\njQuery(\"#\" +streamId)[0].mdContent += \"![image](\" + imgSrc + \")\"\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"}],"links":[{"source":3721719117767,"target":96446918975098,"val":1,"id":"LINK_50169073912583"},{"source":47972556676407,"target":71061919825433,"val":1},{"source":43780566463295,"target":88697689127288,"val":1},{"source":89751873596684,"target":43780566463295,"val":1},{"source":61554404223575,"target":89751873596684,"val":1},{"source":81258374893943,"target":91837166859850,"val":1},{"source":22206930342733,"target":81258374893943,"val":1},{"source":16601902205587,"target":81258374893943,"val":1},{"source":12675028066942,"target":81258374893943,"val":1},{"source":94001896621803,"target":81258374893943,"val":1},{"source":71596805625849,"target":47972556676407,"val":1},{"source":71759309837183,"target":53149189286575,"val":1},{"source":53149189286575,"target":97522680768171,"val":1},{"source":19298131912770,"target":43870140843116,"val":1},{"source":43870140843116,"target":71759309837183,"val":1},{"source":33525753217068,"target":61137294200083,"val":1},{"source":85287208542246,"target":19298131912770,"val":1},{"source":35835010055930,"target":19298131912770,"id":"LINK_20083522393194","val":1},{"source":7949732518310,"target":67771711893774,"val":1},{"source":67771711893774,"target":49884814536149,"val":1},{"source":49884814536149,"target":82898134979477,"val":1},{"source":96446918975098,"target":49101033615539},{"source":61137294200083,"target":56722864453184},{"source":94055406781602,"target":59336342611868},{"source":91837166859850,"target":57840800563818},{"source":88697689127288,"target":47783205371017},{"source":59336342611868,"target":31580389122307},{"source":56722864453184,"target":31580389122307},{"source":57840800563818,"target":31580389122307},{"source":47783205371017,"target":31580389122307},{"source":31580389122307,"target":3721719117767}],"settings":{"htmlMode":2,"cameraPosition":{"x":0,"y":6.123233995736766e-14,"z":1000},"cameraRotation":{"x":-6.123233995736766e-17,"y":0,"z":0}}}