How to generate automatically applicable file diffs with ChatGPT?

Hey folks!

I’m also looking for ways of instructing GPT to write a precise Diff file.

I posted the idea in a new thread:

Cheers!

1 Like

Concerning the application of GPT generated diffs on codebase, this projects solves this perfectly: GitHub - paul-gauthier/aider: aider is AI pair programming in your terminal

In my experience Chat is pretty good with a few thousand words of English but is only good with about 20 to maybe as much as 30 lines of code depending on the language and the verbosity of the tasks. It is also better at writing new code than analyzing old.
It can do much better with code to perform secondary tasks like checking it for mistakes, or spin up a unit test to match.
But IMO the future will be to change coding to match how LLMs works which means changing how software is designed and written. I have started on this and it appears promising.
I don’t think it is capable of making automatic coding changes to a code file but it probably is capable of things like generating a unit tests in an automated way.