Introducing Unity ChatGPT - a tool to access ChatGPT from within Unity.

The convenience of ChatGPT can’t be understated, especially when it comes to asking questions, exploring concepts, generating ideas, and even debugging issues at times.

So we’ve released an open-source tool called “Unity ChatGPT” which gives you the convenience of accessing ChatGPT from within Unity using your OpenAI API key so you never have to leave the engine.

You can find the github repository here: github.com/NotionTheory/unity-chatGPT

————————————

Using the tool is really simple. Once you’ve properly installed the plugin and input your API key, you can then open the Unity ChatGPT window and begin sending prompts.

When ChatGPT has completed a response, you will see it display in the output log above the prompt input.

You can then write another prompt and send it, which will add the response of that prompt to the existing output log with each response being separated by a line of dashes. The history of responses will be maintained in the output log until you either (A) close Unity or (B) clear the output log. To clear the output log, you only need to click the Clear Text button.

Note that each time you send a prompt, a new chat request is sent to OpenAI. What you see in the output log is a history of responses to the prompts you have sent. It is not a continuous conversation as you would experience in a single chat session within the ChatGPT application.

Enjoy!
github.com/NotionTheory/unity-chatGPT