Great idea, as far as I know, no. I wonder which language gpt-4 is most proficient in?
HN user
granawkins
An CLI assistant that responds by generating and auto-executing a Python script.
You'll be surprised how useful this can be:
"How many folders in my home directory are git repos?" ... "Plot them by disk size." "Give me the pd.describe() for all the csv's in this directory" "What ports are currently active?" ... "What are the Google ones?" ... "Cancel those please." Rawdog can self-select context by running scripts to print things, adding the output to the conversation, and then calling itself again. This works for tasks like:
"Setup the repo per the instructions in the README" "Look at all these csv's and tell me if they can be merged or not, and why." "Try that again."
I saw the same thing with Mailogy.
I only tested variants of gpt-3.5 and -4 but got ~50% invalid syntax errors with 3.5, and virtually none with 4.
Video in tweet: https://x.com/granawkins/status/1746548729250017581?s=20
Hey guys, I'm the bored SOB who built this. Thanks for the awesome discussion, a lot of you know more about this than I do!
I hadn't planned to keep building this but if I do, what should I add/change?