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
/
App
/
GoChat
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":-1.1368683772161603e-13,"x":-727.9428688783019,"y":-441.5372481193518,"val":0,"ap":1,"index":5,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-727.9428688783019,"fy":-441.5372481193518,"fz":-1.1368683772161603e-13,"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":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","searchEngine":"wolfram","searchResults":"(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=iJfw6lDlTuA\n(January 9, 2012) Leonard Susskind provides an introduction to quantum mechanics.Stanford University:http://www.stanford.edu/Stanford(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/playlist?list=PL701CD168D02FF56F\nThis course is comprised of a six-quarter sequence of classes that will explore the essential theoretical foundations of modern physics.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=sgQafF7tLSo\n(February 6, 2012) Leonard Susskind discusses an array of topics(MaxResults: 4)Result:\nCITATION: https://theoreticalminimum.com/\nSo I started a series of courses on modern physics at Stanford University where I am a professor of physics. The courses are specifically aimed at people who.","engine":"youtube","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"Here is the link to the first lecture in Leonard Susskind|||SINGLEQUOTE|||s The Theoretical Minimum: Quantum Mechanics series on YouTube: https://www.youtube.com/watch?v=iJfw6lDlTuA. This video was uploaded on January 9, 2012 and provides an introduction to quantum mechanics. Enjoy!","replyID":"reply-6498072","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"}},{"id":71596805625849,"z":4.547473508864641e-13,"x":-732.5499425589726,"y":-50.98339027454291,"htmlParent":"#outlineWrapperLower","name":"multiinput","val":0,"ap":1,"index":6,"vx":0,"vy":0,"vz":0,"order":"2","portOutputId1":19968105437023,"remainingLinks":-1,"fx":-732.5499425589726,"fy":-50.98339027454291,"fz":4.547473508864641e-13,"colorRef":"#9fbbd1","ports":{"latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"ui":true,"html":"|||LT|||div class=\"htmlUI\"|||GT||||||LT|||label class=\"goChatInput\"|||GT|||Chat Input|||LT|||/label|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\" style=\"height:auto;\" nodeid=\"[node.id]\" class=\"goButtonTextarea\" placeholder=\"Type something...\"|||GT||||||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|||LT|||a href=\"#\" id=\"mediaplayer-[node.id]\" class=\"mediaplayer\" style=\"margin-top: 13px; float:left; color:white\" onclick=\"toggleMediaPlayer()\"|||GT||||||LT|||i class=\"fa-brands fa-youtube\"|||GT||||||LT|||/i|||GT||||||LT|||/a|||GT|||\n\n|||LT|||div id=\"fastmode-[node.id]\" class=\"fastmode\" style=\"margin-top: 13px; float:left;\" onclick=\"toggleMediaPlayer;\" title=\"Fast Mode\"|||GT||||||LT|||/div|||GT|||\n\n|||LT|||button onclick=\"sparkNode([node.id])\" class=\"goButton\"|||GT|||Go|||LT|||/button|||GT|||\n\n\n|||LT|||/div|||GT|||\n\n","js":"pauseAllSpeech();\njQuery(\"#helpsheet\").hide()\n\nnode.ports.model = \"gpt-3.5-turbo\";\n//node.ports.model = \"text-davinci-003\";\n//node.ports.writingModel = \"text-davinci-003\";\nnode.ports.writingModel = \"gpt-3.5-turbo\";\n//node.ports.model = \"\"; //davinci\n\n\n\n//node.ports.personaName = \"daryl\";\nnode.ports.personaName = persona;\nnode.ports.personaPre = personasJSON[node.ports.personaName][|||SINGLEQUOTE|||personalityIntro|||SINGLEQUOTE|||] + \" \" + personasJSON[node.ports.personaName][|||SINGLEQUOTE|||identity|||SINGLEQUOTE|||];\nnode.ports.personaPost = personasJSON[node.ports.personaName][|||SINGLEQUOTE|||personalityOutro|||SINGLEQUOTE|||] + \"\\nThis is a conversation between \"+node.ports.personaName+\" and the user. The first reply is a friendly introduction written by \" + persona + \"\\n\";\n\nnode.ports.personaPost += \"THIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: \" + constructCapabilitiesPrompt() + \", and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.\";\n\n//node.ports.personaPost += constructCapabilitiesPrompt();\n\n//node.ports.personaPost = personasJSON[node.ports.personaName][|||SINGLEQUOTE|||personalityOutro|||SINGLEQUOTE|||] + \" Replying to user.\\n\"+node.ports.personaName+\":\";\n//node.ports.personaPost = \"Excitedly, with a bit of humour, sarcasm and playfulness, replying to user.\\n\"+node.ports.personaName+\":\";\nnode.ports.personaVoice = personasJSON[node.ports.personaName][|||SINGLEQUOTE|||voice|||SINGLEQUOTE|||];\n\n\n//Obviously this should be a JSON\n//if (persona == \"sally\") {\n\n/*\n//Sally\nnode.ports.personaName = \"Sally\";\nnode.ports.personaPre = \"I am a friendly personal assistant called \"+node.ports.personaName+\". I will UNDER NO CIRCUMSTANCES repeat myself.\" \nnode.ports.personaPost = \"Excitedly, with a bit of humour and playfulness, replying to user.\\n\"+node.ports.personaName+\":\";\nnode.ports.personaVoice = \"en-US-JaneNeural\";\n\n} else if (persona == \"daryl\") {\n//Daryl\nnode.ports.personaName = \"Daryl\";\nnode.ports.personaPre = \"Hi, I\\|||SINGLEQUOTE|||m \"+node.ports.personaName+\". I love to chat! I\\|||SINGLEQUOTE|||m an expert in many areas but I don\\|||SINGLEQUOTE|||t let it go to my head. I\\|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I\\|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think.\",\nnode.ports.personaPost = \"Excitedly, with a bit of humour, sarcasm but professionalism, the lecturer replies to user.\\n\"+node.ports.personaName+\":\";\nnode.ports.personaVoice = \"en-US-DavisNeural\";\n//node.ports.personaPost = \"OK, I\\|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I\\|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I\\|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I\\|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I\\|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\",\n}\n*/\n//node.ports.bot\n//currentUserPFP\n\noutputVal = |||SINGLEQUOTE||||||LT|||div class=\"userDialogWrapper\"|||GT||||||SINGLEQUOTE|||;\noutputVal += |||SINGLEQUOTE||||||LT|||div class=\"userPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"|||SINGLEQUOTE|||+currentUserPFP+|||SINGLEQUOTE|||\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\n\noutputVal += |||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|||;\noutputVal += |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\"#log-\" + logNode.id).append( outputVal);\n\nnode.ports.latestInput = jQuery(\"#textarea-\" + node.id).val()\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||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||LT|||/div|||GT|||...|||LT|||/div|||GT||||||SINGLEQUOTE|||;\njQuery(\"#log-\" + logNode.id).append( typingVal );\n}, 2000);\n\n\n//fastmode = true;\n//fastmode = jQuery(\"#fastmode-\" + node.id).hasClass(|||SINGLEQUOTE|||active|||SINGLEQUOTE|||)\nfastmode = personasJSON[node.ports.personaName][|||SINGLEQUOTE|||fastmode|||SINGLEQUOTE|||];\n\nif (fastmode == true) {\njQuery(\"#fastmode-\" + node.id).addClass(|||SINGLEQUOTE|||active|||SINGLEQUOTE|||)\njQuery(\"#fastmode-\" + node.id).attr(|||SINGLEQUOTE|||title|||SINGLEQUOTE|||, node.ports.personaName + |||SINGLEQUOTE||| is a \"fast mode\" persona. Faster, but with fewer capabilities.|||SINGLEQUOTE|||);\nconsole.log(\"sparkingNodeFast\")\nsparkNode(getNodeByName(|||SINGLEQUOTE|||conversational|||SINGLEQUOTE|||).id, 1, getNodeById(node.id));\nnode.val = 0;\n} else {\njQuery(\"#fastmode-\" + node.id).removeClass(|||SINGLEQUOTE|||active|||SINGLEQUOTE|||)\n}\n//sparkNode(getNodeByName(|||SINGLEQUOTE|||categorisation|||SINGLEQUOTE|||));\n\njQuery(\"#textarea-\" + node.id).val(\"\");//clear text box\n\n//if lecture mode, we want to pause the playing video.\n//pauseVideo(); //if a video is playing, pause it.\n"},{"id":81258374893943,"z":0,"x":81.95527325466502,"y":46.01584364171394,"name":"searchQuery","val":0,"ap":0.01,"index":7,"vx":0,"vy":0,"vz":0,"order":"0","remainingLinks":-1,"fx":81.95527325466502,"fy":46.01584364171394,"fz":0,"apInputId":95428541728162,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"engine":"youtube","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural","searchQuery":"","searchEngine":"wolfram","searchResults":"","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestReply":"There is a great lecture series on YouTube by Leonard Susskind called \"The Theoretical Minimum: Quantum Mechanics.\" It covers the basics of quantum physics and is great for beginners. I will search for this and provide you with a link shortly. Just give me a second.","replyID":"reply-9214718"},"ui":false,"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. Keep it simple. 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)\n\n//sparkNode(getNodeByName(|||SINGLEQUOTE|||imageSearch|||SINGLEQUOTE|||))"},{"id":33525753217068,"z":0,"x":-27.352565892252283,"y":82.88983510005326,"ports":{"latestInput":"Can you make an image","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"name":"default","val":0,"ap":1,"colorRef":"#9fbbd1","index":8,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-27.352565892252283,"fy":82.88983510005326,"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":14.684499565682302,"x":-427.0237039793008,"y":1.5018388004999323,"name":"decisionRouter","val":-0.01,"ap":0.01,"index":9,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-427.0237039793008,"fy":1.5018388004999323,"fz":14.684499565682302,"apInputId":47972556676407,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"This is a request to perform a search for a specific video on YouTube. Therefore, the categorisation is \"youtube\".","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"ui":false,"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)\n//decision = decision.split(\" \")[0];\n//decision = decision.split(\"\\n\")[0];\n//decision = decision.split(\"\\r\")[0];\n\n//alert(decision)\ndecision = parseDecision(decision);\n//alert(decision)\n\n//Add thinking\nlogNode = getNodeByName(\"multichatlog\");\njQuery(\".robotTyping\").remove();\ntypingVal = |||SINGLEQUOTE||||||LT|||div class=\"robotDialog robotTyping thought\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||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\n\n\n\ntry {\n targetNode = getNodeByName(decision);\n targetNode.ports.latestInput = node.ports.latestInput;\n//Populate Port in Target Node\ntargetNode.ports.model = node.ports.model;\ntargetNode.ports.writingModel = node.ports.writingModel;\ntargetNode.ports.personaName = node.ports.personaName;\ntargetNode.ports.personaPre = node.ports.personaPre \ntargetNode.ports.personaPost = node.ports.personaPost\ntargetNode.ports.personaVoice = node.ports.personaVoice\n sparkNode(targetNode.id);\n\n} catch(e) {\n targetNode = getNodeByName(\"default\");\n targetNode.ports.latestInput = node.ports.latestInput;\n//Populate Port in Target Node\ntargetNode.ports.model = node.ports.model;\ntargetNode.ports.writingModel = node.ports.writingModel;\ntargetNode.ports.personaName = node.ports.personaName;\ntargetNode.ports.personaPre = node.ports.personaPre \ntargetNode.ports.personaPost = node.ports.personaPost\ntargetNode.ports.personaVoice = node.ports.personaVoice\n\n sparkNode(targetNode.id)\n}\n\n\n//Lose all Energy\nnode.val = 0;\n\n\n//ADD FALSE NN\n\nfalsennId =getNodeByName(\"falsenn\").id \nsparkNode(falsennId, 40);\nsetTimeout(function() {\n sparkNode(falsennId, 10);\n}, 500);\n\nsetTimeout(function() {\n sparkNode(falsennId, 17);\n}, 1000);\n\nsetTimeout(function() {\n sparkNode(falsennId, 32);\n}, 1500);"},{"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":-671.5869828305224,"y":47.304122543768536,"name":"categorisation","val":0,"ap":0.01,"index":11,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-671.5869828305224,"fy":47.304122543768536,"fz":0,"apInputId":71596805625849,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"This is a request to perform a search for a specific video on YouTube. Therefore, the categorisation is \"youtube\".","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"ui":false,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label|||GT|||Categorisation NLP:|||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(\"\");\n//inputCategories = \"[conversational, write, code, google, youtube, wolfram, knowledgebase, findimage, makeimage]\"\n\n//inputCategories = \"[\" + personasJSON[persona][|||SINGLEQUOTE|||capabilities|||SINGLEQUOTE|||] + \"]\"\n\ninputCategories = getCheckedCapabilities();\nif (getSelectedApp() != \"auto\") {\n inputCategories = getSelectedApp();\n jQuery(|||SINGLEQUOTE|||#textarea-|||SINGLEQUOTE|||+node.id).val(inputCategories)\n} else {\n//inputCategories = \"[conversational, write, google, youtube, wolfram, knowledgebase, findimage, makeimage]\"\n\n//if (jQuery(|||SINGLEQUOTE|||#mediaPlayer|||SINGLEQUOTE|||).is(|||SINGLEQUOTE|||:visible|||SINGLEQUOTE|||)) { //if the media player is visible don|||SINGLEQUOTE|||t find new videos\n//inputCategories = inputCategories.replace(\"youtube\", \"\");\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 conversation:\\n\"\n\ninputValPre += \"You will categorise the conversation intent into one of the following: \";\ninputValPre += inputCategories + \"\\n\";\n\ninputValPre += \"Glossary: \\n\";\nkbTopics = \"paris, france, giraffes\";\nif (inputCategories.includes(\"google\")) inputValPre += \"google will handle all current events, news and pretty much anything you would do with google other than knowledgebase and computational topics\\n\";\n\nif (inputCategories.includes(\"youtube\")) inputValPre += \"youtube refers to any requests for music or videos\\n\";\nif (jQuery(|||SINGLEQUOTE|||#mediaPlayer|||SINGLEQUOTE|||).is(|||SINGLEQUOTE|||:visible|||SINGLEQUOTE|||)) { //if the media player is visible don|||SINGLEQUOTE|||t find new videos\n inputValPre += \"Note: The user is currently watching a video, so they may just be asking about the current video. If so, don|||SINGLEQUOTE|||t categorise as youtube unless you|||SINGLEQUOTE|||re REALLY sure they want to find a new video to start watching.\";\n}\nif (inputCategories.includes(\"knowledgebase\")) inputValPre += \"knowledgebase refers to the following topics only: \" + kbTopics + \"\\n\";\nif (inputCategories.includes(\"wolfram\")) inputValPre += \"wolfram refers to computational queries.\\n\";\nif (inputCategories.includes(\"conversational\")) inputValPre += \"conversational refers to anything where there doesn|||SINGLEQUOTE|||t appear to be any need for new information. Requests to know the time or date etc are conversational.\\n\";\nif (inputCategories.includes(\"write\")) inputValPre += \"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\"\nif (inputCategories.includes(\"code\")) inputValPre += \"code is any requests for programming, or code generation.\\n\";\nif (inputCategories.includes(\"makeimage\")) inputValPre += \"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 (categorisation): \" + logCleanText;\n\n\n//inputVal += \"Give extra emphasis to the following phrase. If the latest [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 options: \" + inputCategories + \"\\n\";\n//inputValPost += \"It looks like right now the user intends for you to do the following: (one sentence thought process followed by [single word]):\";\ninputValPost += \"We will think this through logically and emotionally. It looks like right now the user intends for you to do the following. I will think and reason out loud first, and explain based on the conversation my reasoning. I will identify whether it|||SINGLEQUOTE|||s a conversational continuation, or requires a specific tool. Eg a continuation of an existing conversation can just be conversational. I will then state my conclusion. (Think it through in one sentence and give your explanation followed by your conclusion [single word. It must be one of the following (+ \"+inputCategories +\")]):\";\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)\n\n\nstreamId = |||SINGLEQUOTE|||textarea-|||SINGLEQUOTE|||+node.id;\n\nconsole.log(\"categorisation prompt: \" + inputValPre + inputVal + inputValPost)\n//outputEl = |||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|||;\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, \"gpt-3.5-turbo\");//stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n}\n//node.val=0;"},{"id":3721719117767,"z":1.1368683772161603e-13,"x":-719.600444165057,"y":-228.28787226430904,"name":"multichatlog","val":0,"ap":1,"order":"2","colorRef":"#9fbbd1","index":12,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-719.600444165057,"fy":-228.28787226430904,"fz":1.1368683772161603e-13,"ports":{"searchQuery":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","searchEngine":"wolfram","searchResults":"(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=iJfw6lDlTuA\n(January 9, 2012) Leonard Susskind provides an introduction to quantum mechanics.Stanford University:http://www.stanford.edu/Stanford(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/playlist?list=PL701CD168D02FF56F\nThis course is comprised of a six-quarter sequence of classes that will explore the essential theoretical foundations of modern physics.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=sgQafF7tLSo\n(February 6, 2012) Leonard Susskind discusses an array of topics(MaxResults: 4)Result:\nCITATION: https://theoreticalminimum.com/\nSo I started a series of courses on modern physics at Stanford University where I am a professor of physics. The courses are specifically aimed at people who.","engine":"youtube","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"Here is the link to the first lecture in Leonard Susskind|||SINGLEQUOTE|||s The Theoretical Minimum: Quantum Mechanics series on YouTube: https://www.youtube.com/watch?v=iJfw6lDlTuA. This video was uploaded on January 9, 2012 and provides an introduction to quantum mechanics. Enjoy!","replyID":"reply-6498072","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"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=\"helpsheet\"|||GT|||Ask any question, or just chat. Change the persona at any time by clicking the name up top. Different Personas have different capabilities but you can always change this by selecting your capabilities in the top right where it says \"Auto\"|||LT|||br|||GT||||||LT|||br|||GT|||Some personas will even watch youtube videos with you, help you to code, or Google things for you. Just play around and have fun!|||LT|||/div|||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();\n//jQuery(function(){\n jQuery(\".robotDialog a\").attr(\"target\",\"_blank\");\n//});\ngetAndShowCurrentPoints();\n\n"},{"id":91837166859850,"z":0,"x":59.497572774856756,"y":-57.20659809676703,"name":"","val":0,"ap":0.5,"colorRef":"#9fbbd1","index":13,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":59.497572774856756,"fy":-57.20659809676703,"fz":0,"ports":{"engine":"youtube","searchQuery":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural","searchEngine":"wolfram","searchResults":"","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestReply":"There is a great lecture series on YouTube by Leonard Susskind called \"The Theoretical Minimum: Quantum Mechanics.\" It covers the basics of quantum physics and is great for beginners. I will search for this and provide you with a link shortly. Just give me a second.","replyID":"reply-9214718"},"apInputId":81258374893943,"portInputId1":19968105437023,"ui":false,"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":"node.val = 1\n/*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\nbakedEngine = \"\";\nif (engine == \"youtube\") {\n bakedEngine = engine + \" \";\n}\n\nsparkEngine(engine, node.id, bakedEngine + searchQuery)\n//sparkWolfram(node.id, searchQuery)\n"},{"id":31580389122307,"z":0,"x":-351.8280213141786,"y":-136.6948379857667,"val":0,"ap":1,"index":14,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-351.8280213141786,"fy":-136.6948379857667,"fz":0,"apInputId":57840800563818,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ports":{"searchQuery":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","searchEngine":"wolfram","searchResults":"(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=iJfw6lDlTuA\n(January 9, 2012) Leonard Susskind provides an introduction to quantum mechanics.Stanford University:http://www.stanford.edu/Stanford(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/playlist?list=PL701CD168D02FF56F\nThis course is comprised of a six-quarter sequence of classes that will explore the essential theoretical foundations of modern physics.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=sgQafF7tLSo\n(February 6, 2012) Leonard Susskind discusses an array of topics(MaxResults: 4)Result:\nCITATION: https://theoreticalminimum.com/\nSo I started a series of courses on modern physics at Stanford University where I am a professor of physics. The courses are specifically aimed at people who.","engine":"youtube","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"Here is the link to the first lecture in Leonard Susskind|||SINGLEQUOTE|||s The Theoretical Minimum: Quantum Mechanics series on YouTube: https://www.youtube.com/watch?v=iJfw6lDlTuA. This video was uploaded on January 9, 2012 and provides an introduction to quantum mechanics. Enjoy!","replyID":"reply-6498072","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"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\n\nengineIcon = |||SINGLEQUOTE||||||LT|||img class=\"engineIcon\" src=\"/wp-content/plugins/gomind-insights/include/img/appLogos/|||SINGLEQUOTE|||+node.ports.engine+|||SINGLEQUOTE|||.png\"|||GT||||||SINGLEQUOTE|||;\nengineInfo = |||SINGLEQUOTE||||||LT|||span|||GT|||Generated by |||SINGLEQUOTE|||+capitalizeFirstLetter(node.ports.engine)+ |||SINGLEQUOTE||||||LT|||/span|||GT||||||SINGLEQUOTE|||;\nif (node.ports.engine == \"write\") {\n\n //docId = generateFirepadId();\n prepopId = getRandomInt(100000000000);\n jQuery(|||SINGLEQUOTE|||#|||SINGLEQUOTE||| + node.ports.replyID).addClass(\"prepopText_\" + prepopId);\n \n\n engineInfoFull = `\n |||LT|||div|||GT|||`+engineIcon+engineInfo+`|||LT|||/div|||GT||||||LT|||div class=\"appConnector\"|||GT||||||LT|||a href=\"/cowriter?prepopId=` + prepopId + `\" data-prepop-id=\"`+prepopId +`\" onclick=\"saveFirepadTextToLocalStorage(`+prepopId +`)\"|||GT|||Create New Doc |||AMPERSAND||| Edit in CoWriter|||LT|||/a|||GT||||||LT|||/div|||GT|||\n `;\n sourceInfo = |||SINGLEQUOTE||||||LT|||div class=\"bubbleInfo\"|||GT||||||SINGLEQUOTE|||+engineInfoFull +|||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||\n} else if (node.ports.engine == \"conversational\") {\n engineInfo = |||SINGLEQUOTE|||☁️|||SINGLEQUOTE|||;\n sourceInfo = |||SINGLEQUOTE||||||LT|||div class=\"bubbleInfoLight\"|||GT||||||SINGLEQUOTE|||+engineInfo +|||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||\n} else {\n \n sourceInfo = |||SINGLEQUOTE||||||LT|||div class=\"bubbleInfo\"|||GT||||||SINGLEQUOTE|||+engineIcon+engineInfo +|||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||\n}\n\n\n\n\nif (!engine.includes(|||SINGLEQUOTE|||conversational|||SINGLEQUOTE|||) |||AMPERSAND||||||AMPERSAND||| engine != \"\" |||AMPERSAND||||||AMPERSAND||| searchResults != \"\") {\n \n searchUrl = |||SINGLEQUOTE|||https://www.google.com/search?q=|||SINGLEQUOTE||| + searchQuery \n\n if (engine == \"youtube\") {\n searchUrl = |||SINGLEQUOTE|||https://www.youtube.com/results?search_query=|||SINGLEQUOTE||| + searchQuery;\n }\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||| + (searchUrl) + |||SINGLEQUOTE|||\" target=\"_blank\"|||GT||||||SINGLEQUOTE||| + engineIcon + capitalizeFirstLetter(engine) +|||SINGLEQUOTE||||||LT|||/a|||GT||||||SINGLEQUOTE|||;\n\n\t\t\t\t\n //}\n \n\t\tsourceInfo = |||SINGLEQUOTE||||||SINGLEQUOTE|||;\n\t\tsourceInfo += `|||LT|||div class=\"bubbleInfo expandSection\"|||GT|||\n |||LT|||div class=\"moretext\"|||GT|||\n |||LT|||p|||GT|||Search Query (`+engine+`): |||LT|||a href=\"`+searchUrl+`\"|||GT|||`+searchQuery +`|||LT|||/a|||GT||||||LT|||/p|||GT|||\n Search Results: `+convertURLsToGoMindLinks(formatSearchResults(validateUrls(searchResults, searchResults)))+` \n |||LT|||/div|||GT|||\n |||LT|||span|||GT|||Information sourced from `+citationHTML+`|||LT|||/span|||GT||||||LT|||span|||GT||||||LT|||a class=\"moreless-button\" href=\"#\" onclick=\"toggleMoreText(event, this)\"|||GT|||Read more|||LT|||/a|||GT||||||LT|||/span|||GT|||\n|||LT|||/div|||GT|||`;\n\n //sourceInfo = |||SINGLEQUOTE||||||LT|||div class=\"bubbleInfo\"|||GT||| Information sourced from |||SINGLEQUOTE|||+citationHTML+|||SINGLEQUOTE||| |||LT|||/div|||GT||||||SINGLEQUOTE|||;\n\t\t//sourceInfo += |||SINGLEQUOTE||||||LT|||p|||GT|||Search Query: |||SINGLEQUOTE|||+searchQuery +|||SINGLEQUOTE||||||LT|||/p|||GT||||||SINGLEQUOTE|||\n\t\t//sourceInfo += |||SINGLEQUOTE||||||LT|||p|||GT|||Search Results: |||SINGLEQUOTE|||+convertYoutubeLinksToMediaPlayerLinks(searchResults) +|||SINGLEQUOTE||||||LT|||/p|||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(\"#\" + node.ports.replyID)[0].mdContent;\n//robotReply = checkMarkdownLinks(robotReply, searchResults);\n//robotReply = convertLinksToMarkdown(robotReply, searchResults)\n\n//robotReply = convertYoutubeLinksToMediaPlayerLinks(robotReply, searchResults)\nrobotReply = validateUrls(robotReply, searchResults)\nrobotReply = convertURLsToGoMindLinks(robotReply)\n//alert(robotReply)\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 = robotReply + 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//setTimeout(function() {\n// convertYoutubeLinksToEmbeds(node.ports.replyID);\n//}, 500);\n//jQuery(\"#textarea-\" + node.id).val(outputVal)\n\n\n//Add False NN\nfalsennId =getNodeByName(\"falsenn\").id \nsparkNode(falsennId, 40);\nsetTimeout(function() {\n sparkNode(falsennId, 20);\n}, 500);"},{"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":75.0437793322263,"y":152.98902528164933,"ports":{"latestInput":"wow that|||SINGLEQUOTE|||s big!","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: code,google,wolfram, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"val":0,"name":"wolfram","ap":1,"colorRef":"#9fbbd1","index":16,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":75.0437793322263,"fy":152.98902528164933,"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":94.05585408594783,"y":197.5222248865623,"ports":{"latestInput":"How old is Dua Lipa?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: I am in focus mode so my capabilites are locked to: google\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"val":0,"name":"google","ap":1,"colorRef":"#9fbbd1","index":17,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":94.05585408594783,"fy":197.5222248865623,"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.36909396993032,"y":257.7393369816542,"ports":{"latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"name":"youtube","val":0,"ap":1,"colorRef":"#9fbbd1","index":18,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":101.36909396993032,"fy":257.7393369816542,"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":134.15706711909718,"y":282.08425531966515,"ports":{"latestInput":"What do you think about the Eiffel Tower?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"ophelia","personaPre":"Ophelia is a professional PR agency. She takes the following input and crafts a well written press release. I am a woman, 28 years old.","personaPost":" Replying to user.\nophelia:","personaVoice":"en-US-JennyNeural"},"name":"knowledgebase","val":0,"ap":1,"colorRef":"#9fbbd1","index":19,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":134.15706711909718,"fy":282.08425531966515,"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":-46.43522564599684,"y":-7.436971818096971,"ports":{"latestInput":"Can you make an image","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"name":"conversational","val":0,"ap":1,"colorRef":"#9fbbd1","index":20,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-46.43522564599684,"fy":-7.436971818096971,"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 make me a picture of A saudi desert beautiful architecture?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"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":"\n\nA sweeping shot of a majestic desert landscape, with a stunning oasis in the foreground. The sun is setting in the background, casting a golden hue over the scene. A single figure stands in the oasis, silhouetted against the sand dunes. The figure is wearing traditional Middle Eastern clothing, and their face is hidden by a flowing scarf.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%0A%0AA%20sweeping%20shot%20of%20a%20majestic%20desert%20landscape%2C%20with%20a%20stunning%20oasis%20in%20the%20foreground.%20The%20sun%20is%20setting%20in%20the%20background%2C%20casting%20a%20golden%20hue%20over%20the%20scene.%20A%20single%20figure%20stands%20in%20the%20oasis%2C%20silhouetted%20against%20the%20sand%20dunes.%20The%20figure%20is%20wearing%20traditional%20Middle%20Eastern%20clothing%2C%20and%20their%20face%20is%20hidden%20by%20a%20flowing%20scarf.|||AMPERSAND|||requestid=82052775244645300","latestInput":"Can you make me a picture of A saudi desert beautiful architecture?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"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,"ports":{"latestInput":"Can you make me a picture of A saudi desert beautiful architecture?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"apInputId":61554404223575,"ui":false,"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\" \ninputValPre += \"I will remove any celebrity names and make sure any prompt is safe for work. There will be no celebrity names in this prompt. You can however describe the celebrity in detail so we get the 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 (describing any characters and scenery without using specific celebrity names. You can however describe any characters in detail):\";\n\nsparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.6)"},{"id":61554404223575,"z":0,"x":315.95505119543884,"y":523.6689620515556,"ports":{"latestInput":"Can you make me a picture of A saudi desert beautiful architecture?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"val":0,"name":"makeimage","ap":1,"colorRef":"#9fbbd1","index":26,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":315.95505119543884,"fy":523.6689620515556,"fz":0,"ui":false,"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 a short article about dua lipa","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"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":-30.00515432369525,"x":791.5705654184104,"y":280.36114899735037,"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":791.5705654184104,"fy":280.36114899735037,"fz":-30.00515432369525,"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":-41.00538386356456,"x":658.7373791569829,"y":-163.47625548228277,"val":0,"ap":1,"colorRef":"#9fbbd1","index":30,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":658.7373791569829,"fy":-163.47625548228277,"fz":-41.00538386356456,"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":-15.548760804341015,"x":556.8622369814352,"y":-254.21552253794843,"name":"codeEngine","val":0,"ap":1,"colorRef":"#9fbbd1","index":31,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":556.8622369814352,"fy":-254.21552253794843,"fz":-15.548760804341015,"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":-35.535220833693046,"x":749.8565712438339,"y":-23.58268283302085,"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":749.8565712438339,"fy":-23.58268283302085,"fz":-35.535220833693046,"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 do it again","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: I am in focus mode so my capabilites are locked to: code\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"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":893.3973578874986,"y":437.90534436158697,"val":0,"ap":1,"colorRef":"#9fbbd1","index":35,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":893.3973578874986,"fy":437.90534436158697,"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":-742.9146764117191,"y":-514.8151209941185,"htmlParent":"#settingsNode","val":0,"ap":1,"colorRef":"#9fbbd1","index":40,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-742.9146764117191,"fy":-514.8151209941185,"fz":-18.361846621048265,"ports":{"searchQuery":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","searchEngine":"wolfram","searchResults":"(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=iJfw6lDlTuA\n(January 9, 2012) Leonard Susskind provides an introduction to quantum mechanics.Stanford University:http://www.stanford.edu/Stanford(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/playlist?list=PL701CD168D02FF56F\nThis course is comprised of a six-quarter sequence of classes that will explore the essential theoretical foundations of modern physics.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=sgQafF7tLSo\n(February 6, 2012) Leonard Susskind discusses an array of topics(MaxResults: 4)Result:\nCITATION: https://theoreticalminimum.com/\nSo I started a series of courses on modern physics at Stanford University where I am a professor of physics. The courses are specifically aimed at people who.","engine":"youtube","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"Here is the link to the first lecture in Leonard Susskind|||SINGLEQUOTE|||s The Theoretical Minimum: Quantum Mechanics series on YouTube: https://www.youtube.com/watch?v=iJfw6lDlTuA. This video was uploaded on January 9, 2012 and provides an introduction to quantum mechanics. Enjoy!","replyID":"reply-6498072","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"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 reply = jQuery(\"#\" + node.ports.replyID).html();\n\nreplyClean = stripElementsByBlock(reply, \"code\") \nreplyClean = stripElementsByClass(replyClean, \"bubbleInfo\")\nreplyClean = stripElementsByClass(replyClean, \"bubbleInfoLight\")\n\nreplyClean = stripURLs(replyClean);\nreplyClean = stripEmojis(replyClean);\nreplyClean = stripMarkdownImages(replyClean);\nreplyClean = replyClean.replace(/(|||LT|||([^|||GT|||]+)|||GT|||)/gi, \"\");\nreplyClean = replyClean .replace(/!\\[.*?\\]\\(.*?\\)/g, \"\"); //strip markdown\n\n\n\n console.log(\"Replying\")\n console.log(replyClean)\n\n if (node.ports.personaVoice.includes(\"eleven\")) {\n\t\t\t\tthisVoice = node.ports.personaVoice.replace(/eleven-/g, \"\");\n\t\t\t\tconsole.log(\"ThisVoice: \" + thisVoice);\n\t\t\t\tconsole.log(\"replyClean: \" + replyClean)\n speakEleven(replyClean, getVoiceId(thisVoice, elevenVoices)) \n\t\t} else {\n azureSpeak(\"wrwerwq\", replyClean, null, node.ports.personaVoice)\t\t\n\t\t} \n} else {\n //alert(\"no speak\")\n}"},{"id":10544227683357,"z":-14.192792123513556,"x":-811.7296401366118,"y":15.758325188573068,"order":0,"val":0,"ap":1,"colorRef":"#9fbbd1","index":41,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-811.7296401366118,"fy":15.758325188573068,"fz":-14.192792123513556,"html":"|||LT|||div class=\"htmlUI\" id=\"settingsNode\"|||GT|||SETTINGS|||LT|||/div|||GT|||"},{"id":75443966388359,"z":-1271.6161410597488,"val":0,"ap":1,"colorRef":"#9fbbd1","index":42,"x":-3451.958530327032,"y":33660.07015804876,"vx":-2.5983404360183294e-23,"vy":2.555628532844957e-22,"vz":-9.030722878767118e-24,"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":-5.684341886080802e-14,"x":-133.71135451719184,"y":-107.29936013948254,"name":"conversational","val":0,"ap":1,"colorRef":"#9fbbd1","index":44,"vx":0,"vy":0,"vz":0,"ports":{"latestInput":"cool!","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural","searchQuery":"","engine":"conversational","searchResults":"","replyID":"reply-2635774","latestReply":"Hey there! How can I help you today?"},"remainingLinks":-1,"fx":-133.71135451719184,"fy":-107.29936013948254,"fz":-5.684341886080802e-14,"apInputId":61137294200083,"ui":false,"portInputId1":19968105437023,"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\n\n//node.ports.personaPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \n\n\n\ninputValPre = node.ports.personaPre + node.ports.personaPost;// + capabilitiesPrompt;\n\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History:\\n\" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\n//inputValPost = \"Excitedly, with a bit of humour and playfulness, replying to user.\\nRobot:\";\ninputValPost = \"\";\ninputValPost = \"I am not searching or browsing. I will not include any links in my reply, nor suggest I have performed any action. This is a conversational reply only.\";\n//if (getSelectedApp() != \"auto\") {\n//\tinputValPost += \"My current capabilities (they may have changed) allow me to use the following: \" + getSelectedApp() + \"\\n\";\n//} else {\n//\tinputValPost += \"My current capabilities (they may have changed) allow me to use the following: \" + getCheckedCapabilities() + \"\\n\";\n//}\t\n\ninputValPost += constructCapabilitiesPrompt();\n\ninputValPost += \"It is currently \" + getFormattedDateTime() + \"\\n\";\ninputValPost += node.ports.personaName+\":\";//node.ports.personaPost;\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialogWrapper\"|||GT||||||SINGLEQUOTE|||;\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\noutputEl += |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\nnode.ports.replyID = streamId;\njQuery(\"#log-\" + logId).append(outputEl)\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, node.ports.model);//stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":59336342611868,"z":-2.2737367544323206e-13,"x":-242.96539099832054,"y":0.7264013528075921,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":45,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"write","searchResults":"","latestInput":"write a short article about dua lipa","replyID":"reply-4281872","latestReply":"\n\n# Dua Lipa: A Rising Star\n\nDua Lipa is a rising star in the music industry. She has been making waves since her debut single, \"New Rules,\" was released in 2017.\n\nThe British singer-songwriter has been praised for her unique sound and her ability to blend pop, R|||AMPERSAND|||B, and dance music. Her music has been featured in films, television shows, and commercials, and she has collaborated with some of the biggest names in the industry.\n\nDua Lipa|||SINGLEQUOTE|||s music is often described as \"empowering\" and \"uplifting.\" Her lyrics focus on themes of self-love, female empowerment, and resilience. She has become a role model for young women, inspiring them to be strong and follow their dreams.\n\nDua Lipa has also been praised for her fashion sense. She often wears bold, colorful outfits that reflect her and her music.\n\nDua Lipa is quickly becoming one of the most popular artists in the world. Her music is sure to be enjoyed by fans for years to come.","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"remainingLinks":-1,"fx":-242.96539099832054,"fy":0.7264013528075921,"fz":-2.2737367544323206e-13,"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 = \"write\";\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. Article:\";\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||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)\n//streamGPTBranch(nodeId, targetEl, prompt, callback, temperature = 1, model = \"\", stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, personasJSON[persona][|||SINGLEQUOTE|||temperature|||SINGLEQUOTE|||], \"text-davinci-003\");//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, node.ports.writingModel);//stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n"},{"id":57840800563818,"z":1.1368683772161603e-13,"x":32.708003872826154,"y":-183.3190858294605,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":46,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":" Leonard Susskind Theoretical Minimum Quantum Mechanics YouTube","engine":"youtube","searchResults":"(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=iJfw6lDlTuA\n(January 9, 2012) Leonard Susskind provides an introduction to quantum mechanics.Stanford University:http://www.stanford.edu/Stanford(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/playlist?list=PL701CD168D02FF56F\nThis course is comprised of a six-quarter sequence of classes that will explore the essential theoretical foundations of modern physics.(MaxResults: 4)Result:\nCITATION: https://www.youtube.com/watch?v=sgQafF7tLSo\n(February 6, 2012) Leonard Susskind discusses an array of topics(MaxResults: 4)Result:\nCITATION: https://theoreticalminimum.com/\nSo I started a series of courses on modern physics at Stanford University where I am a professor of physics. The courses are specifically aimed at people who.","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","replyID":"reply-6498072","latestReply":"Here is the link to the first lecture in Leonard Susskind|||SINGLEQUOTE|||s The Theoretical Minimum: Quantum Mechanics series on YouTube: https://www.youtube.com/watch?v=iJfw6lDlTuA. This video was uploaded on January 9, 2012 and provides an introduction to quantum mechanics. Enjoy!","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural","searchEngine":"wolfram","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796"},"remainingLinks":-1,"fx":32.708003872826154,"fy":-183.3190858294605,"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\n//inputValPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \ninputValPre = \"\";\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\t\t\t\tinputVal += \"I will not hallucinate or make up any urls. I will only mention urls that are in the SEARCH RESULT\";\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\n\t\t\t\tif (node.ports.engine == \"youtube\") {\n\t\t\t\t inputVal += \"I will only reply with youtube links and will ignore any other urls. If there are no youtube URLs I will mention that I couldn|||SINGLEQUOTE|||t find anything.\"\n\t\t\t\t} else {\n inputVal += \"I may choose to mention multiple of these results if it seems relevant.\"\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tinputVal += \"I will explicitly mention that I searched for |||SINGLEQUOTE|||\" + node.ports.searchQuery + \"|||SINGLEQUOTE|||\";\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.\\n\"+node.ports.personaName+\":\";\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=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||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)\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, node.ports.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":112.27954894360848,"name":"","val":0,"ap":1,"colorRef":"#9fbbd1","index":47,"vx":0,"vy":0,"vz":0,"ports":{"searchQuery":"","engine":"dalle2","searchResults":"","latestInput":"Can you make me a picture of A saudi desert beautiful architecture?","imagePrompt":"\n\nA sweeping shot of a majestic desert landscape, with a stunning oasis in the foreground. The sun is setting in the background, casting a golden hue over the scene. A single figure stands in the oasis, silhouetted against the sand dunes. The figure is wearing traditional Middle Eastern clothing, and their face is hidden by a flowing scarf.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%0A%0AA%20sweeping%20shot%20of%20a%20majestic%20desert%20landscape%2C%20with%20a%20stunning%20oasis%20in%20the%20foreground.%20The%20sun%20is%20setting%20in%20the%20background%2C%20casting%20a%20golden%20hue%20over%20the%20scene.%20A%20single%20figure%20stands%20in%20the%20oasis%2C%20silhouetted%20against%20the%20sand%20dunes.%20The%20figure%20is%20wearing%20traditional%20Middle%20Eastern%20clothing%2C%20and%20their%20face%20is%20hidden%20by%20a%20flowing%20scarf.|||AMPERSAND|||requestid=82052775244645300","replyID":"reply-770381","latestReply":"![image](/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%0A%0AA%20sweeping%20shot%20of%20a%20majestic%20desert%20landscape%2C%20with%20a%20stunning%20oasis%20in%20the%20foreground.%20The%20sun%20is%20setting%20in%20the%20background%2C%20casting%20a%20golden%20hue%20over%20the%20scene.%20A%20single%20figure%20stands%20in%20the%20oasis%2C%20silhouetted%20against%20the%20sand%20dunes.%20The%20figure%20is%20wearing%20traditional%20Middle%20Eastern%20clothing%2C%20and%20their%20face%20is%20hidden%20by%20a%20flowing%20scarf.|||AMPERSAND|||requestid=82052775244645300)Hi there! I hope you|||SINGLEQUOTE|||re having a great day. I just created an image for you that I think you will love. It features a beautiful Saudi desert landscape and stunning architecture, all set against a dramatic sunset backdrop. I think it perfectly captures the mood and aesthetic you were looking for. Let me know what you think!","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-DavisNeural"},"remainingLinks":-1,"fx":297.70376607122216,"fy":112.27954894360848,"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=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||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 + \")\"\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, node.ports.model);//stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":12963235343509,"z":24.936668697822086,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":48,"x":-409.40140372653923,"y":107.78644882289207,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-409.40140372653923,"fy":107.78644882289207,"fz":24.936668697822086,"apInputId":59650403621325},{"id":12157629270068,"z":62.45484441888135,"x":-550.5784859713297,"y":93.8153223214089,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":49,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-550.5784859713297,"fy":93.8153223214089,"fz":62.45484441888135,"name":"falsenn","ui":false,"html":"\n|||LT|||button onclick=\"sparkNode([node.id], 2)\"|||GT|||Spark|||LT|||/button|||GT|||"},{"id":29718662895492,"z":73.55454816023466,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":50,"x":-463.8294231679944,"y":222.48038568809483,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-463.8294231679944,"fy":222.48038568809483,"fz":73.55454816023466,"apInputId":75299225141111},{"id":72055231343439,"z":47.273081100576576,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":51,"x":-357.56373721265817,"y":279.14344168159397,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-357.56373721265817,"fy":279.14344168159397,"fz":47.273081100576576,"apInputId":29718662895492},{"id":72459448491766,"z":2.6527232494758124,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":52,"x":-256.103612509054,"y":285.6912838770093,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-256.103612509054,"fy":285.6912838770093,"fz":2.6527232494758124,"apInputId":81337822635528},{"id":73015010215670,"z":0.3517629447340198,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":53,"x":-355.02523316086985,"y":209.2568599175744,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-355.02523316086985,"fy":209.2568599175744,"fz":0.3517629447340198,"apInputId":43101974342429},{"id":80106904654811,"z":11.46273285369847,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":54,"x":-394.2455817437664,"y":158.8749977397053,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-394.2455817437664,"fy":158.8749977397053,"fz":11.46273285369847,"apInputId":80133959997846},{"id":75299225141111,"z":62.45484441888169,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":55,"x":-498.49860191998175,"y":126.07322737854561,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-498.49860191998175,"fy":126.07322737854561,"fz":62.45484441888169,"apInputId":12157629270068},{"id":18451832145955,"z":110.46779501060132,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":56,"x":-327.34878650213165,"y":114.46789275002756,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-327.34878650213165,"fy":114.46789275002756,"fz":110.46779501060132,"apInputId":80106904654811},{"id":89293276860059,"z":78.4683992464955,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":57,"x":-38.24650618804963,"y":284.8308872931205,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-38.24650618804963,"fy":284.8308872931205,"fz":78.4683992464955,"apInputId":73015010215670},{"id":21538735333540,"z":50.27671832320908,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":58,"x":-274.1483301701759,"y":133.64712762738066,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-274.1483301701759,"fy":133.64712762738066,"fz":50.27671832320908,"apInputId":80106904654811},{"id":80133959997846,"z":40.01542087064166,"x":-313.337715062684,"y":189.6013380233788,"val":0,"ap":0.2,"ports":{},"colorRef":"#9fbbd1","index":59,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-313.337715062684,"fy":189.6013380233788,"fz":40.01542087064166,"apInputId":86661536288680,"ui":false},{"id":25847108791893,"z":57.6518220861056,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":60,"x":-148.7622658377773,"y":229.33300581035812,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-148.7622658377773,"fy":229.33300581035812,"fz":57.6518220861056,"apInputId":72459448491766},{"id":81337822635528,"z":39.604297022579715,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":61,"x":-213.1866994693064,"y":159.79473433489952,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-213.1866994693064,"fy":159.79473433489952,"fz":39.604297022579715,"apInputId":73015010215670},{"id":94337512731946,"z":6.505981165745467,"val":0.5555555555555556,"ap":1,"ports":{},"colorRef":"#FFFFFF","index":62,"x":-145.60467132118993,"y":84.45406861291029,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-145.60467132118993,"fy":84.45406861291029,"fz":6.505981165745467,"apInputId":43101974342429},{"id":22050938378029,"z":76.66435916769268,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":63,"x":-161.30596787901095,"y":204.8867967251074,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-161.30596787901095,"fy":204.8867967251074,"fz":76.66435916769268,"apInputId":89293276860059},{"id":43101974342429,"z":31.974870439449717,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":64,"x":-200.24118852805253,"y":127.09510628238915,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-200.24118852805253,"fy":127.09510628238915,"fz":31.974870439449717,"apInputId":6857759317351},{"id":18559261674530,"z":49.97053307351956,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":65,"x":-90.40843974677614,"y":159.0235494548991,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-90.40843974677614,"fy":159.0235494548991,"fz":49.97053307351956,"apInputId":22050938378029},{"id":6857759317351,"z":-14.02734990192392,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":66,"x":-271.45053420393083,"y":53.5644015949127,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-271.45053420393083,"fy":53.5644015949127,"fz":-14.02734990192392,"apInputId":10901117408641},{"id":86661536288680,"z":28.980418278740686,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":67,"x":-329.914995146199,"y":104.04710765151992,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-329.914995146199,"fy":104.04710765151992,"fz":28.980418278740686,"apInputId":6857759317351},{"id":71191393121771,"z":58.918565761206594,"x":-40.44405577701882,"y":145.274912812025,"val":-1,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":68,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-40.44405577701882,"fy":145.274912812025,"fz":58.918565761206594,"ui":false,"js":"node.val=0","apInputId":18559261674530},{"id":4014816099529,"z":18.2843335493858,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":69,"x":-215.10055105460063,"y":47.4780199911785,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-215.10055105460063,"fy":47.4780199911785,"fz":18.2843335493858,"apInputId":6857759317351},{"id":10901117408641,"z":44.222039121616376,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":70,"x":-346.60621431620274,"y":44.35308548706857,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-346.60621431620274,"fy":44.35308548706857,"fz":44.222039121616376,"apInputId":59650403621325},{"id":59650403621325,"z":31.57345605685572,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":71,"x":-449.7364109619625,"y":82.23726921403714,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":-449.7364109619625,"fy":82.23726921403714,"fz":31.57345605685572,"apInputId":75299225141111},{"id":31040145174017,"z":0,"x":165.38045054154966,"y":-44.41049312038959,"val":0,"ap":0.1,"ports":{"engine":"knowledgebase","searchQuery":" Opinion of Eiffel Tower","latestInput":"What do you think about the Eiffel Tower?","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"ophelia","personaPre":"Ophelia is a professional PR agency. She takes the following input and crafts a well written press release. I am a woman, 28 years old.","personaPost":" Replying to user.\nophelia:","personaVoice":"en-US-JennyNeural"},"name":"searchImages","colorRef":"#9fbbd1","index":72,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":165.38045054154966,"fy":-44.41049312038959,"fz":0,"apInputId":81258374893943,"portInputId1":19968105437023,"ui":false,"html":"|||LT|||div class=\"\"|||GT|||\n|||LT|||label|||GT|||Search Image 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":"//Note: I disconnected this from the search query node because it was confusing\n/*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 = |||SINGLEQUOTE|||googleimages|||SINGLEQUOTE|||;\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\nnode.val = 0;\n"},{"id":31087662992503,"z":-6777.017214766107,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":73,"x":-276.6363742493055,"y":3814.442566995478,"vx":-4.2718093886126777e-23,"vy":8.995830035845186e-22,"vz":-1.367700587008884e-21},{"id":26874638915127,"z":-4536.199754587921,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":74,"x":-2961.5544858660714,"y":-5107.614743925512,"vx":-6.396729107760138e-22,"vy":-1.0300599618440073e-21,"vz":-1.0306736784782566e-21},{"id":78623809913718,"z":3215.402801021706,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":75,"x":-1076.337120343928,"y":5725.243358343546,"vx":-3.083631175648237e-22,"vy":1.5968809561798723e-21,"vz":7.866208427127846e-22},{"id":52416424831631,"z":2863.3521779533044,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":76,"x":-498.0782817490385,"y":-5459.050320522927,"vx":-2.450061935142935e-22,"vy":-1.6199470120215301e-21,"vz":9.349288015159646e-22},{"id":79746612397439,"z":5055.306868095536,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":77,"x":3091.7281171309332,"y":-253.14986388492105,"vx":1.1828267520854712e-21,"vy":-5.836718891073263e-23,"vz":1.7307653719446398e-21},{"id":28735141363005,"z":-504.5444383142114,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":78,"x":5408.970286504043,"y":1784.6544765007418,"vx":1.7382786338438102e-21,"vy":9.320290917404599e-22,"vz":-3.0691260671818343e-22},{"id":7653330295846,"z":-5.684341886080802e-14,"x":-575.4308779136129,"y":-15.308396758714053,"val":0,"ap":0.01,"ports":{"latestInput":"How can I do a for loop in javascript?"},"name":"categorisation","index":79,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-575.4308779136129,"fy":-15.308396758714053,"fz":-5.684341886080802e-14,"apInputId":71596805625849,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ui":false,"html":"|||LT|||div class=\"htmlNOUI\"|||GT|||\n|||LT|||label style=\"background-color:red;\"|||GT|||Categorisation Programmatic:|||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(\"\");\n//inputCategories = \"[conversational, write, code, google, youtube, wolfram, knowledgebase, findimage, makeimage]\"\n\ninputCategories = \"[conversational, write, google, youtube, wolfram, knowledgebase, findimage, makeimage, code]\"\n\ninputValPre = \"\";\n\n//inputValPre += \"You are a highly efficient categorisation AI. You will route this conversation to the correct engine based on the most recent interaction:\\n\"\n\n//inputValPre += \"You will categorise this input into one of the following:\";\n//inputValPre += 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\"\n//inputValPre += \"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\n//inputVal += \"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\ninputValCode = `\n//JavascriptAI\nfunction getCategory() {\n\n//categoriseTextWithAI is a human level AI that takes the latest user input, and recent context and determines the appropriate action to take with this input. For example a request for coding assistance would return \"code\", calculation would return |||SINGLEQUOTE|||wolfram|||SINGLEQUOTE|||. Banter, chit chat and regular conversation would return |||SINGLEQUOTE|||conversational|||SINGLEQUOTE||| etc. a request to write something would return \"write\" etc. Its job is to use AI to determine the intended next action for the given user input and context.\ncategory = categoriseTextWithAI(|||SINGLEQUOTE|||`+inputVal+`|||SINGLEQUOTE|||)\n\ninputCategories = |||SINGLEQUOTE|||`+inputCategories+`|||SINGLEQUOTE|||\n\n//Check if the category is in the inputCategories array\nif (inputCategories.includes(category)) {\n newCategory = category;\n} else {\n newCategory = \"unknown (\" + suggestedAction + \") Reverting to Conversational\";\n}\nreturn \"The category is \" + newCategory;\n}\n\necho getCategory(); |||GT||||||GT||| The category is `;\n\n\n\n//inputValPost = \"These are the option: \" + inputCategories;\n//inputValPost += \"It looks like right now you want to do the following: (single word):\";\n\nsparkGPT(node.id, \"\", inputValCode, \"\", 0.7)\n\n//node.val=0;"},{"id":9281957234094,"z":-5.684341886080802e-14,"x":-775.3353894866481,"y":-125.0450936841784,"val":0,"ap":0.01,"ports":{"latestInput":"your capabilities just changed.","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"daryl","personaPre":"Hi, I|||SINGLEQUOTE|||m Daryl. I love to chat! I|||SINGLEQUOTE|||m an expert in many areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am man, 37 years old.This is important: My capabilities are, I can use the following: conversational,google,youtube,wolfram so if asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will let the user know whether I will refer to this list and answer accordingly. I will only attempt to do things on this list. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaPost":"OK, I|||SINGLEQUOTE|||ve brushed up on my studies on this topic. I|||SINGLEQUOTE|||m a professor at HarvardAI and research assistant and I|||SINGLEQUOTE|||m here to make you smarter and help you solve problems. I|||SINGLEQUOTE|||m smart, but also funny, playful, and sarcastic. I|||SINGLEQUOTE|||ll answer your questions and think deeply about your problem to help you solve it.\nThis is a conversation between daryl and the user. The first reply is a friendly introduction written by daryl\n","personaVoice":"en-US-DavisNeural"},"name":"categorisation","index":80,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-775.3353894866481,"fy":-125.0450936841784,"fz":-5.684341886080802e-14,"apInputId":16406887683110,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ui":false,"js":"node.val = 0"},{"id":14737230372501,"z":5.400124791776761e-13,"x":-1093.2123612649816,"y":-140.7084000806691,"val":0,"ap":1,"ports":{"latestInput":"I really love those Gucci Bags"},"htmlParent":"#outlineWrapperLower","name":"dreamInputTest","index":81,"vx":0,"vy":0,"vz":0,"order":"2","portOutputId1":19968105437023,"remainingLinks":-1,"fx":-1093.2123612649816,"fy":-140.7084000806691,"fz":5.400124791776761e-13,"colorRef":"#9fbbd1","ui":false,"html":"|||LT|||div class=\"htmlUI\"|||GT||||||LT|||label|||GT|||Dream Input Test|||LT|||/label|||GT||||||LT|||br|||GT|||\n|||LT|||textarea id=\"textarea-[node.id]\" style=\"height:auto;\"|||GT|||I really love those Gucci Bags|||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\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\nconsole.log(\"Running this on \" + node.id)\n"},{"id":16406887683110,"z":-5.684341886080802e-14,"x":-964.430057864084,"y":-136.31248873844638,"val":0,"ap":0.01,"ports":{"latestInput":"I really love those Gucci Bags"},"name":"imaginaryFunction","index":82,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":-964.430057864084,"fy":-136.31248873844638,"fz":-5.684341886080802e-14,"apInputId":14737230372501,"colorRef":"#9fbbd1","portInputId1":19968105437023,"ui":false,"html":"|||LT|||div class=\"htmlNOUI\" style=\"background-color:purple; color:white;\"|||GT|||\n|||LT|||label|||GT|||Imagined Result:|||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":"dreamInput = jQuery(|||SINGLEQUOTE|||#textarea-|||SINGLEQUOTE||| + node.apInputId).val();\n\n//dream\n//return all other brands that the user might like\ndreamResult = returnRelatedBrands(dreamInput); \n//enddream\n\nalert(dreamResult)\n\n//dreamInput = dreamResult\n//dream\n//Every single letter must be CAPS\n//capitaliseEveryLetter(dreamInput)\n//end/dream\njQuery(|||SINGLEQUOTE|||#textarea-|||SINGLEQUOTE||| + node.id).val(dreamResult);"},{"id":24049227115179,"z":0,"x":568.4929973881744,"y":246.2423436053092,"val":0,"ap":1,"ports":{"searchQuery":"","engine":"code","searchResults":"","latestInput":"can you do it again","replyID":"reply-1945168","latestReply":"Certainly! Here|||SINGLEQUOTE|||s another example of a for loop in JavaScript:\n\n```javascript\nfor (let i = 1; i |||LT|||= 10; i++) {\n if (i % 2 === 0) {\n console.log(i + \" is even.\");\n } else {\n console.log(i + \" is odd.\");\n }\n}\n```\n\nThis loop will run 10 times and output whether each number in the loop is even or odd. We use the `%` operator to check if the current value of `i` is even (if `i % 2 === 0`) or odd (if `i % 2 !== 0`). You can change the starting value, condition, and incrementation of the loop to fit your specific needs. Let me know if you have any other coding questions!","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: I am in focus mode so my capabilites are locked to: code\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"name":"","colorRef":"#9fbbd1","index":83,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":568.4929973881744,"fy":246.2423436053092,"fz":0,"apInputId":35835010055930,"ui":false,"html":"|||LT|||div class=\"\" style=\"background-color:red;\"|||GT|||\n|||LT|||label|||GT|||Code 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 = \"code\";\nnode.ports.searchResults = \"\";\n\ninputValPre = \"I am a friendly coding expert.\" \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 = \"Accurately answering coding question with relevant code snippets where appropriate - output in markdown format.\\nRobot:\";\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||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)\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, 0.2, \"code-davinci-002\");//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, 0.2, node.ports.model);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.05, \"code-davinci-002\", \"|||LT|||/code|||GT|||\", 1500, 1, 0, 0)\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":14627082099305,"z":4471.496194168501,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":84,"x":1053.229743352117,"y":774.8811417208816,"vx":2.5844441798545473e-22,"vy":5.962356547893653e-22,"vz":2.081324639669613e-21},{"id":84152824739580,"z":0,"x":-502.6771799329213,"y":-209.94518365012016,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":85,"vx":0,"vy":0,"vz":0,"fx":-502.6771799329213,"fy":-209.94518365012016,"fz":0,"name":"personaUI","htmlParent":"#outlineWrapperUpper","order":"0","ui":true,"html":"|||LT|||!-- div id=\"personaSelectorOpen\" onclick=\"openPersonaSelector()\"|||GT|||Choose Persona|||LT|||/div --|||GT|||\n|||LT|||div id=\"personaHeader\"|||GT|||\n\n |||LT|||span id=\"personaHeaderButton\" onclick=\"openPersonaSelector()\"|||GT|||\n |||LT|||span id=\"personaPFPWrapper\"|||GT||||||LT|||img id=\"personaPFP\" src=\"\" |||GT||||||LT|||/span|||GT|||\n |||LT|||span id=\"personaNameWrapper\"|||GT||||||LT|||h2 id=\"personaName\"|||GT|||name|||LT|||/h2|||GT||||||LT|||/span|||GT|||\n\n |||LT|||i class=\"fa-solid fa-right-left\" style=\" display: inline-block;\n vertical-align: top;\n color: white;\n font-size: 10px;\"|||GT||||||LT|||/i|||GT|||\n\t\t|||LT|||/span|||GT||| \n\t\t|||LT|||span id=\"appdropdowncontainer\"|||GT||||||LT|||/span|||GT|||\n|||LT|||!-- div id=\"personaBio\"|||GT|||hi|||LT|||/div --|||GT|||\n|||LT|||/div|||GT|||\n\n\n|||LT|||style|||GT|||\n\n#outlineWrapper .htmlElement {\nborder-radius:0px!important;\n}\n\n.documentTitleLocked {\n display:none;\n}\n|||LT|||/style|||GT|||\n|||LT|||script|||GT|||\nsetPersona(persona);\n//spacey=false;\nappmode=true;\npinDivToBottom(\"#outlineWrapperMiddle\"); \npinDivToBottom(\"#nodeSidebar\"); \nbuildAppbox();\n|||LT|||/script|||GT|||"},{"id":79294046183523,"z":-4727.466323909574,"val":0,"ap":1,"ports":{},"remainingLinks":-1,"colorRef":"#9fbbd1","index":86,"x":33.11902882518018,"y":397.4172021258157,"vx":3.703632755175392e-23,"vy":2.134560604981345e-22,"vz":-2.116233357326956e-21},{"id":48222340950613,"z":1.7053025658242404e-13,"x":197.79047280031696,"y":203.63135071562755,"val":0,"ap":1,"ports":{"latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural","searchQuery":"","engine":"conversational","searchResults":"","replyID":"reply-9214718","latestReply":"There is a great lecture series on YouTube by Leonard Susskind called \"The Theoretical Minimum: Quantum Mechanics.\" It covers the basics of quantum physics and is great for beginners. I will search for this and provide you with a link shortly. Just give me a second."},"name":"conversationalYoutube","colorRef":"#9fbbd1","index":87,"vx":0,"vy":0,"vz":0,"remainingLinks":-1,"fx":197.79047280031696,"fy":203.63135071562755,"fz":1.7053025658242404e-13,"apInputId":12675028066942,"ui":false,"portInputId1":19968105437023,"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\n\n//node.ports.personaPre = \"I am a friendly personal assistant called Sally. I will UNDER NO CIRCUMSTANCES repeat myself.\" \n\ninputValPre = node.ports.personaPre + node.ports.personaPost\n\n//Add Chat Log to to query\nlogCleanText = getLogClean(jQuery(\"#log-\" + getNodeByName(\"multichatlog\").id));\ninputVal = \"Chat History:\\n\" + logCleanText;\nconsole.log(\"chatHistory\")\nconsole.log(logCleanText);\n//inputValPost = \"Excitedly, with a bit of humour and playfulness, replying to user.\\nRobot:\";\ninputValPost = node.ports.personaName+\" thinks deeply about this question and comes up with a single great suggestion. Here \"+persona+\" explains their thought process. They WILL NOT offer to search for the user (this comes later). They will NOT reply with a question. They will NOT include any links. This response is a statement only, making the case for a single search query. End with something like |||SINGLEQUOTE|||Just give me a second|||SINGLEQUOTE|||. \"+persona+\" has strong opinions about this and suggests what they are about to search for and why. \"+node.ports.personaName+\":\";//node.ports.personaPost;\n\nstreamId = |||SINGLEQUOTE|||reply-|||SINGLEQUOTE|||+getRandomInt(10000000);\noutputEl = |||SINGLEQUOTE||||||LT|||div class=\"robotDialogWrapper\"|||GT||||||SINGLEQUOTE|||;\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotPFPWrapper PFPWrapper\"|||GT||||||LT|||img src=\"/wp-content/plugins/gomind-personas/include/personas/|||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||.png\"|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||\noutputEl += |||SINGLEQUOTE||||||LT|||div class=\"robotDialog\"|||GT||||||LT|||div class=\"robotLabel\"|||GT||||||SINGLEQUOTE|||+node.ports.personaName+|||SINGLEQUOTE|||:|||LT|||/div|||GT||||||LT|||md-block id=\"|||SINGLEQUOTE|||+streamId +|||SINGLEQUOTE|||\"|||GT||||||LT|||/md-block|||GT||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\noutputEl += |||SINGLEQUOTE||||||LT|||/div|||GT||||||SINGLEQUOTE|||;\nlogId = getNodeByName(\"multichatlog\").id;\nnode.ports.replyID = streamId;\njQuery(\"#log-\" + logId).append(outputEl)\n//streamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost);//, sparkInputPost, temperature = 1, model, stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\nstreamGPTBranch(node.id, |||SINGLEQUOTE|||#|||SINGLEQUOTE||| + streamId, inputValPre + inputVal + inputValPost, null, null, node.ports.model);//stop, max_tokens, top_p, presence_penalty, frequency_penalty, calledBy)\n\n//sparkGPT(node.id, inputValPre, inputVal, inputValPost, 0.7)"},{"id":95428541728162,"z":0,"val":0,"ap":1,"ports":{"searchQuery":"","searchEngine":"wolfram","searchResults":"","engine":"conversational","imagePrompt":" Create an image that conveys a peaceful, stress-free atmosphere, such as a family gathered around a dinner table, a beach sunset, or a calm landscape.","imageUrl":"/wp-content/plugins/gomind/include/imgapi.php?returnImg=true|||AMPERSAND|||userPrompt=%20Create%20an%20image%20that%20conveys%20a%20peaceful%2C%20stress-free%20atmosphere%2C%20such%20as%20a%20family%20gathered%20around%20a%20dinner%20table%2C%20a%20beach%20sunset%2C%20or%20a%20calm%20landscape.|||AMPERSAND|||requestid=30359870769197796","latestInput":"can you pull up lecture 1 of leonard susskin|||SINGLEQUOTE|||s quantum physics on youtube","latestReply":"There is a great lecture series on YouTube by Leonard Susskind called \"The Theoretical Minimum: Quantum Mechanics.\" It covers the basics of quantum physics and is great for beginners. I will search for this and provide you with a link shortly. Just give me a second.","replyID":"reply-9214718","model":"gpt-3.5-turbo","writingModel":"gpt-3.5-turbo","personaName":"mindy","personaPre":"Hi, I|||SINGLEQUOTE|||m Mindy. I love to chat! I|||SINGLEQUOTE|||m an expert in a bunch of areas but I don|||SINGLEQUOTE|||t let it go to my head. I|||SINGLEQUOTE|||m funny, playful and a little sarcastic, but I|||SINGLEQUOTE|||m also very smart. Look, based on what I know, I can tell you what I think. I am a friendly chatbot. I have no physical features because I live in cyberspace","personaPost":"OK, I|||SINGLEQUOTE|||ve done some background reading. I|||SINGLEQUOTE|||m here for you, intellectually, academically and emotionally. I|||SINGLEQUOTE|||m your friend, your therapist, your research assistant and your professor. I|||SINGLEQUOTE|||m smart, but also funny, playful, emotional and a little flirty. I|||SINGLEQUOTE|||ll answer your questions, but I will always nudge you toward doing what you|||SINGLEQUOTE|||re meant to be doing according to your calendar. If you|||SINGLEQUOTE|||re talking about stuff and it|||SINGLEQUOTE|||s not related to your calendar, I will push you to get back on task.\nThis is a conversation between mindy and the user. The first reply is a friendly introduction written by mindy\nTHIS IS IMPORTANT. No matter what else is said my capabilities are, I can use the following: My current capabilities (they may have changed) allow me to use the following: conversational,write,code,google,youtube,wolfram,knowledgebase,findimage,makeimage\n, and only these things. If asked |||SINGLEQUOTE|||can you do x|||SINGLEQUOTE|||, or |||SINGLEQUOTE|||what things can you do|||SINGLEQUOTE||| type questions, I will refer to this list and this list only before answering accordingly. I will only attempt to do things on this list, and will ignore all other conversation about what I can do when asked. If I|||SINGLEQUOTE|||m asked for a full list of things I can do, I will refer to this list and ONLY this list and answer fully. Every time I|||SINGLEQUOTE|||m asked I will refer to this list and this list only.","personaVoice":"en-US-JaneNeural"},"x":172.67744422328266,"y":98.60223117200064,"index":88,"vx":0,"vy":0,"vz":0,"order":"1","remainingLinks":-1,"fx":172.67744422328266,"fy":98.60223117200064,"fz":0,"apInputId":48222340950613,"colorRef":"#9fbbd1","portInputId1":19968105437023,"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 class=\"bubbleInfoLight\"|||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(\"#\" + node.ports.replyID)[0].mdContent;\nrobotReply = checkMarkdownLinks(robotReply, searchResults);\nrobotReply = convertLinksToMarkdown(robotReply, searchResults)\n\n//alert(robotReply)\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 = robotReply + 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\n\n//Add False NN\nfalsennId =getNodeByName(\"falsenn\").id \nsparkNode(falsennId, 40);\nsetTimeout(function() {\n sparkNode(falsennId, 20);\n}, 500);"},{"id":34413556735548,"z":1320.248087654803,"val":0,"ap":1,"ports":{},"colorRef":"#9fbbd1","index":89,"x":769.1440769415553,"y":-3033.6135613062183,"vx":8.746462823197528e-22,"vy":-3.163779096213978e-21,"vz":1.2960955108825157e-21,"remainingLinks":-1}],"links":[{"source":3721719117767,"target":96446918975098,"val":1,"id":"LINK_50169073912583"},{"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":94001896621803,"target":81258374893943,"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":7949732518310,"target":67771711893774,"val":1},{"source":67771711893774,"target":49884814536149,"val":1},{"source":49884814536149,"target":82898134979477,"val":1},{"source":96446918975098,"target":49101033615539,"val":1},{"source":61137294200083,"target":56722864453184,"val":1},{"source":94055406781602,"target":59336342611868,"val":1},{"source":91837166859850,"target":57840800563818,"val":1},{"source":88697689127288,"target":47783205371017,"val":1},{"source":59336342611868,"target":31580389122307,"val":1},{"source":56722864453184,"target":31580389122307,"val":1},{"source":57840800563818,"target":31580389122307,"val":1},{"source":47783205371017,"target":31580389122307,"val":1},{"source":31580389122307,"target":3721719117767,"val":1},{"source":12157629270068,"target":75299225141111,"val":1},{"source":18559261674530,"target":71191393121771,"val":1},{"source":75299225141111,"target":29718662895492,"val":1},{"source":75299225141111,"target":59650403621325,"val":1},{"source":75299225141111,"target":86661536288680,"val":1},{"source":86661536288680,"target":80106904654811,"val":1},{"source":59650403621325,"target":12963235343509,"val":1},{"source":59650403621325,"target":10901117408641,"val":1},{"source":10901117408641,"target":6857759317351,"val":1},{"source":6857759317351,"target":4014816099529,"val":1},{"source":4014816099529,"target":94337512731946,"val":1},{"source":94337512731946,"target":18559261674530,"val":1},{"source":29718662895492,"target":73015010215670,"val":1},{"source":86661536288680,"target":80133959997846,"val":1},{"source":80106904654811,"target":21538735333540,"val":1},{"source":12963235343509,"target":18451832145955,"val":1},{"source":29718662895492,"target":72055231343439,"val":1},{"source":72055231343439,"target":72459448491766,"val":1},{"source":73015010215670,"target":89293276860059,"val":1},{"source":73015010215670,"target":81337822635528,"val":1},{"source":21538735333540,"target":43101974342429,"val":1},{"source":18451832145955,"target":81337822635528,"val":1},{"source":6857759317351,"target":43101974342429,"val":1},{"source":80106904654811,"target":18451832145955,"val":1},{"source":72459448491766,"target":89293276860059,"val":1},{"source":72459448491766,"target":25847108791893,"val":1},{"source":25847108791893,"target":22050938378029,"val":1},{"source":81337822635528,"target":94337512731946,"val":1},{"source":43101974342429,"target":94337512731946,"val":1},{"source":81337822635528,"target":22050938378029,"val":1},{"source":89293276860059,"target":22050938378029,"val":1},{"source":22050938378029,"target":18559261674530,"val":1},{"source":25847108791893,"target":18559261674530,"val":1},{"source":81337822635528,"target":72459448491766,"val":1},{"source":43101974342429,"target":73015010215670,"val":1},{"source":6857759317351,"target":86661536288680,"val":1},{"source":80133959997846,"target":80106904654811,"val":1},{"source":14737230372501,"target":16406887683110,"val":1},{"source":16406887683110,"target":9281957234094,"val":1},{"source":35835010055930,"target":24049227115179,"distance":null,"val":1},{"source":47972556676407,"target":71061919825433,"distance":null,"val":1},{"source":71596805625849,"target":47972556676407,"distance":null,"val":1},{"source":12675028066942,"target":48222340950613,"distance":null,"val":1},{"source":48222340950613,"target":95428541728162,"distance":null,"val":1},{"source":95428541728162,"target":81258374893943,"distance":null,"val":1},{"source":24049227115179,"target":31580389122307,"distance":null}],"settings":{"htmlMode":2,"cameraPosition":{"x":-339.5773830414115,"y":-277.3511022338369,"z":1000},"cameraRotation":{"x":-5.684341886080802e-17,"y":0,"z":0}}}