Checkout my new project Neocortex for simplest way to integrate Smart NPCs in your games
https://neocortex.link
***
Previous I created a ChatGPT like system using OpenAI API's Text Completion endpoint. Now that OpenAI released an endpoint for ChatGPT, I implemented that feature in my Unity package for OpenAI API and compared the Chat Completion Endpoint to Text Completion Endpoint.
With Chat Completion Endpoint you can use gpt-3.5-turbo model, which is faster and cheaper than Text Completion which uses text-davinci-003 model. However they answer the questions you ask somewhat differently.
Let me know what you think and which one is better.
---
📌OpenAI-Unity Package: https://github.com/srcnalt/OpenAI-Unity
📌Follow me on Twitter: / sgt3v
📌First Video: • Making ChatGPT in Unity! Android, IOS and ...
📌Previous Video: • Making ChatGPT in Unity!
⏲️ Timestamps:
00:00 Introduction
00:53 Import or Update the Package
01:55 How does Chat Completion Work
03:55 Testing ChatGPT Sample
06:00 Testing Text Completion Sample
10:44 Conclusion
12:01 When to Use Which Endpoint
#chatgpt #ai #openai #gamedev #indiedev #unity #madewithunity #gpt #gpt4 #gpt3