You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cool idea! I'm not sure how we'd accomplish that but it would be cool. The tricky thing (I think) would be identifying part of the response is Julia code. Sometimes ChatGPT puts code snippets in fences but sometimes it just emits them without markdown too. Also, the user might sometimes ask for code in a different language, and we'd have to figure out whether or not it's code Julia should try to run (although this might be doable with Julia's reflection and metaprogramming stuff!).
Right now I'm just using the Markdown package to render terminal outputs, so we'd have to switch away from that or modify it to have a little "Run" button... not quite sure how to do that either but feels approachable.
Let's keep mulling on this and see if any good ideas come up!
Thank you for the awesome package!
What would be the best way to execute the code provided in chatGPTs response?
The text was updated successfully, but these errors were encountered: