A week ago (~9/1/2023) my son Jason turned me on to ChatGPS's ability to write Python code. Below is a reverse-order log of my activities related to that (it may end up being short).
My experience with ChatGPT tells me to proceed cautiously.
Suppose you were able to ask ChatGPT to build a nuclear power plant, would you then go and build that power plant?
Generating bits of code with it seems harmless - in the handls of a skilled practioner. And if unskilled and inexperienced people use it to learn it's great. But if you try to build "production" code with it from scratch you can get into trouble.
ChatGPT seems to "hold" some amount of state between queries in a given chat window but that state seems to get "corrupted" during subsequent interactions. As (I) iterate a design it seems to forget some of my earlier directives. Perhaps my imprecision as I go along does it.
The questions below to it (and its answers) give the best analysis:
-- Are you aware of how you can generate computer code?
-- How can I have you generate large computer programs?
-- Can I direct you how to have you generate computer code? Specifically, can I ask you to hold the representation of the code you are generating "somewhat separate" and, faithful to all my previous directives?
It is possible to turbo-boost development if done the right way.
After some work, in order to re-write gDSCodeGen I have had to teach ChatGPT the gDS schema format and how to interpret that format, since it does not understand the concepts as laid out in the website.
The lines in the repo's "ChatGPT" folder will teach a new session of ChatGPT Plus-4 how to "work with" gDS concepts.
I'm not sure this is the right direction to go in but let's give it a try.