I want to make a tool that takes:
1. The path of a small code file
2. A command to compile the code
3. Some natural language context
And feeds compiler errors to GPT3, and ask for a diff on how to change the file, until it compiles.

It's really not that hard at all. platform.openai.com/examples/d

OpenAI already has an example, and all I had to do is add some python code to read the file & run it to generate the errors.

I guess this sortta shows how trivial it is to start an "AI Startup". You just call OpenAI's api and write some UI / UX / frame code, and voila!

Oh and also, the fancy name is important.

VERY important.

@niplav heh ty

Can't wait to try it on a makefile that doesn't compile. Don't think it's gonna work yet but as model capabilities rise maybe crazy things might happen

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one