GPT3 integration into Playcanvas code editor

I have already seen how some users integrate AI GPT3 directly into playcanvas code editor. I would like to get documentation of adding such an API.

You will have to ask @commention on how they did it. Chances are that they used a ViolentMonkey user script and hooked into the Code Editor (Monaco) and added their own plugin for it.