Jan
10
2023
10
2023
Using OpenAI API with WebRequest from Unity
Simple example for calling openAI completions API, with simple webrequest (and JSON data).
Repository:
https://github.com/unitycoder/UnityOpenAIGPT3

Making of video:
Simple example for calling openAI completions API, with simple webrequest (and JSON data).
Repository:
https://github.com/unitycoder/UnityOpenAIGPT3

Making of video:
[…] 10.01.2023: New example project here, uses webrequest, doesn’t require any DLL files https://unitycoder.com/blog/2023/01/10/using-openai-api-with-webrequest-from-unity/ […]
at the start of the video you showed an engine class, the one that contains the OpenAI engines.I am not understanding how to get it, from where?
it was from the old project, with DLL for it, but couldnt get it working anymore:
https://unitycoder.com/blog/2022/02/05/using-open-ai-gpt-3-api-in-unity/
Now there are few better alternatives,
https://github.com/unitycoder/UnityOpenAIGPT3/wiki/Alternatives
[…] First tried to fix the previous Openai DLL version, but then converted into pure webrequest version.. Repository: https://github.com/unitycoder/UnityOpenAIGPT3 No external DLL’s needed, like in previous video: https://www.youtube.com/watch?v=Suabq44rhzY Note: If you get 429 errors, go try in openai playground, if you have already used all free credits: https://beta.openai.com/playground Website: https://unitycoder.com/blog/2023/01/10/using-openai-api-with-webrequest-from-unity/ […]