tag:support.nodebox.net,2012-11-01:/discussions/general-discussion/15172-using-chatgpt-to-document-nodeboxNodeBox: Discussion 2023-04-15T01:23:37Ztag:support.nodebox.net,2012-11-01:Comment/583513822023-03-23T10:36:53Z2023-03-23T10:36:53ZUsing ChatGPT to Document NodeBox <div><p>Hi John,</p>
<p>It's interesting that you mention that. I'm currently working on a new iteration of NodeBox that will include AI as well. The way we do that is to let the system generate NodeBox networks, and integrate them into the system.</p>
<p>This actually works quite well, but needs some prompt engineering. The more info the better, so we basically give the system a quick intro into NodeBox: how it can connect nodes together, how list cycling works, and what nodes are available. Especially with GPT-4, it follows the prompt quite strictly and creates new networks.</p>
<p>More info will follow in the coming weeks as I'm releasing a prototype.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/583513822023-03-23T11:15:46Z2023-03-23T11:15:46ZUsing ChatGPT to Document NodeBox <div><p>Wow. Can't wait.</p></div>johntag:support.nodebox.net,2012-11-01:Comment/583513822023-03-23T16:35:16Z2023-03-23T16:35:16ZUsing ChatGPT to Document NodeBox <div><p>To give a bit more context:</p>
<p>Because NodeBox is visual, this makes it harder for ChatGPT to understand the logic of the system (we could feed it XML files but it's hard to see the relationship). Instead I'm developing the NodeBox Language, a language-format of NodeBox that is isomorphic to the graphical network (they can be used interchangeably).</p>
<p>For example, the NodeBox Language description for a checkerboard network might look like this (note that this doesn't do anything different from what NodeBox already does, it's just a different way of describing the network):</p>
<pre>
<code># A checkerboard is 8 by 8, so grid1 will return a list of 64 positions.
grid1 = core.grid(position=[0, 0], rows=8, columns=8, width=400, height=400)
# We can ignore default arguments, like alpha
black = core.color(r=0, g=0, b=0)
white = core.color(r=1, g=1, b=1)
# Combine white/black into a list with 2 elements.
# The grid starts at the top-left with black.
colors = core.merge(input1=black, input2=white)
# Note the `@` sign to indicate we're cycling the colors, because the grid position list and the colors don't have the same size.
rect1 = core.rect(position=grid1, width=50, height=50, fill=@colors)
</code>
</pre>
<p>We then give a few examples of these and most of the time, that's enough for GPT-4 to figure out how to write the code (as you can see in the screenshot), which can be turned into a network. Pretty cool stuff.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/583513822023-03-23T21:43:00Z2023-03-23T21:43:00ZUsing ChatGPT to Document NodeBox <div><p>Cool stuff indeed!</p>
<p>This makes perfect sense to me. I can immediately see possibilities extending to the horizon. Even more, this could fundamentally change the way people use Nodebox, how they learn, how they share - which could in turn change who uses Nodebox.</p>
<p>I hope I will be able to leverage all the Nodebox 3 networks I've created over the years: import chatGPT-generated code as subnetworks to add to an established project, export my own projects for chatGPT to digest, describe, translate, or improve, work in a multi-modal way by alternatively drawing and chatting, and who knows what else.</p>
<p>It seems to me you will need a name for this new language. NodeText?</p>
<p>I will try to kerb my enthusiasm and wait patiently.</p>
<p>John</p></div>johntag:support.nodebox.net,2012-11-01:Comment/583513822023-04-05T14:19:09Z2023-04-05T14:19:13ZUsing ChatGPT to Document NodeBox <div><p>Wow indeed! (mouth open) Can't wait…</p></div>Jussi Jokinentag:support.nodebox.net,2012-11-01:Comment/583513822023-04-13T22:55:28Z2023-04-13T22:55:28ZUsing ChatGPT to Document NodeBox <div><p>John, is that because you do or dont find larry david funny?</p></div>edgeofinnerspacetag:support.nodebox.net,2012-11-01:Comment/583513822023-04-14T02:59:34Z2023-04-14T03:01:51ZUsing ChatGPT to Document NodeBox <div><p>Yes, I do find Larry David funny. But even without that reference, I would still be struggling to kerb my enthusiasm.</p>
<p>Is the prototype ready yet?</p>
<p>Is it ready now?</p>
<p>Is it ready now?</p>
<p>How about now?</p></div>johntag:support.nodebox.net,2012-11-01:Comment/583513822023-04-14T18:43:51Z2023-04-14T18:43:51ZUsing ChatGPT to Document NodeBox <div><p>i tried using the github repo of nodebox to prompt gpt-4 to give me usable documentation and everything i tried just gave me references or links back to the existing documentation even with scenarios 'ignoring' existing documentation or suggestions like filling in the holes in documentation. but this is why i dont like microsoft. and currently thats the only free version of gpt-4. by the way, was my new post sent to spam again?</p></div>edgeofinnerspacetag:support.nodebox.net,2012-11-01:Comment/583513822023-04-14T19:13:06Z2023-04-14T19:13:06ZUsing ChatGPT to Document NodeBox <div><p>Thanks for trying GPT-4 on the Nodebox GitHub. It was a brave experiment, but I'm not surprised it didn't work.</p>
<p>If you could somehow point it to the thousands of message threads in the forum, and then ask it for documentation on specific topics (like subnetworks), that might be more interesting. But I would still be surprised if produced good results.</p>
<p>I just checked the forum spam folder and did not see anything from you in there. Did you submit a different post that failed to appear in the forum?</p></div>johntag:support.nodebox.net,2012-11-01:Comment/583513822023-04-15T01:23:34Z2023-04-15T01:23:34ZUsing ChatGPT to Document NodeBox <div><p>umm, should be under 'show your work' its titled "UPDATE: still bad at social media"</p>
<p>i'll add a comment because i have another question anyway.</p></div>edgeofinnerspace