Can I add ChatGPT to my ToolBox App to help write code?

This weekend I have been playing with the idea of adding AI code generation and completion to my ToolBox App. It seems to be a natural fit, but how does it actually work? In this video, I’ll show you where I am and how it works:

https://youtu.be/F26bVAITbpg