Integrate openai GPT-3 language model and ChatGPT API into a Unity project.
It can be a useful way to add natural language processing capabilities to your application.
Note:
I am unable to complete this project further because my OpenAI API key credits have been expired😥
Now onwards, you are the captain🧢 of this project. I want you to sail🚢 it towards success.
(1) Obtain an API key for the OpenAI API. You will need this to make requests to the API.
https://beta.openai.com/account/api-keys
(2) Choose the OpenAI model you want to use. There are several models available, including ChatGPT and GPT-3.
(3) Copy the Script and Modify According to your needs
(4) Display the generated text in your Unity project. This can be done using a UI text element.
- Create NPC for your game
- Create a AI Powered ChatBot
- Create Powerful Tools with your choice of Customisation
ERRORS NOTICE
You may get some error in APILoader so use GPT3.cs Script. You can customize the script according to your needs and contribute to this Github profile.
FOR ANY-OTHER ISSUEs, PLEASE WRITE IT ON THE ISSUEs SECTION