This is not something special that the Nim team has to do, except for continuing to publish more working Nim code.
The GPT-like models are large statistical models that really only try to predict the next word when they generate text in response to a prompt. These models are trained on huge amounts of text, similar to the scale of search engine indexing. However their ability to answer questions is a useful way has become so good that they have been called AI in a very general way. They can even build up a context. You can use GPT3.5 and GPT4, with GPT3.5 being much cheaper, through OpenAI's APIs for your own applications. Something to keep in mind is that these models are trained once-off, and OpenAI's GPT models have reported been trained over 2 years ago. The next time they train their models Nim code generation should be much better, with certainly more published Nim code available. I have no idea when that will be as the training is an expensive task. If you haven't tried ChatGPT yet, do yourself a favor and visit <https://chat.openai.com>. There is also Google's Bard, which is similar to ChatGPT, but isn't widely available yet.