Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are there tools yet that put the compiler in the loop? Maybe even a check-compile-test loop that bails on the first failure and then tries to refine it in the background based on what failed?


Yes. ChatGPT Code Interpreter mode does exactly this - it writes code, runs it through a Python interpreter, then if there are any errors it rewrites the code and runs it until it works.

... and you can use it to run a C compiler too, if you know what you are doing! https://simonwillison.net/2023/Oct/17/open-questions/#open-q...


Does that compile my local projects?


It can if you zip the code up and upload it to Code Interpreter.


That seems like a joke of a workflow to me. Surrender everything, including your build process to openai so it can provide a bit of context assist?


Then maybe the model could be fine-tuned on that loop, haha. Could be a fun thing to try at least.


It's a bit of fools-errand because they train on information which is no longer valid and will get stuck if you don't inform them. For instance GPT cannot write a connection to an openai endpoint because the API was upgraded to 1.0 and broke compatibility with all the code it learned from


Is it possible for an LLM to have knowledge/input marked as "deprecated/obsolete"? Either by a user or some sort of "retraining" process?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: