First, you need an API key that you can generate here: (https://beta.openai.com/account/api-keys)
- It is compatible with Xe5 and later versions.
- Uses XSuperObject library which is included in the project files.
- Settings are stored in registry which can be found here: Computer\HKEY_CURRENT_USER\Software\ChatGPTWizard
- Consider that if you run it in the IDE without opening any project it will raise a message that it cannot load the SSL library
- This issue can be fixed if you put SSL libraries(can find them in the resource folder) besides the bds.exe or in Bpl folder(mine is this ==> C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl) or you can use a build event on the project's properties to copy these two class libraries if there are not. Another point: You don't have to do that because it will work fine when you open any project in the IDE before using this plugin! I'm not sure that this behavior depends on the installed components or libraries or if the IDE will load SSL libraries at the moment you open even a new application, although using the plugin when you are working on a project seems more useful anyway.
-
you can use the ChatGPT menu from the IDE's main menu directly to ask questions and get the answer. Click on the newly added ChatGPT menu on the IDE(or press Ctrl+Shidt+Alt+C) to open the wizard, type the question and press the Ask button(or Ctrl+Enter).
-
If you need to use the ChatGPT inside the editor you need to make(type) a question directly inside the code editor and surround it with "cpt:" at the beginning and ":cpt" at the end of the question then press Ctrl+Shift+Alt+A or simply select "Ask" from the editor's context menu by right-clicking on the selected text.
-
Use the "ChatGPT Dockable" menu from the main menu to show the dockable form and try to dock the form to the left or right side panel of the IDE, and enjoy with your new Google killer assistant!
cpt:Create a full unit in Delphi including a class to create an XML file.:cpt

Demo video 1 : https://youtu.be/vUgHg3ZPvXI
Demo video 2(full demo): https://youtu.be/rQgh63DXGoE
Presentation: CHAtGPT wizard.pptx
Goud luck.