How To Make ChatGPT NPC In Unity - Tutorial

preview_player
Показать описание
How can we get a response from a player input ? Let's find out !

...................................................................................

Watch the "Making Chat GPT NPC in my Game"

Open AI - Unity Github

credentials :

{
"api_key" : " ",
"organization" : " "
}

····················································································

📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)

VR Interaction Framework

Hexabody (Physics VR Player)

Mirror and Reflection for VR

Auto Hand (automatic hand grab pose)

Hurricane VR (vr physics interaction)

3d Hand Model for VR

····················································································

····················································································

If you enjoyed this video, here are some other really good channel you should appreciate :

⌨️ Game Dev

👨‍🎓 Vr Dev

····················································································

#vr #vrdev #madewithunity
Рекомендации по теме
Комментарии
Автор

I was searching exactly this, keep going, awesome

filipkrupa
Автор

Thx for the video ! It works perfectly ! You can just skip the json file with the api_key and put it directly in the function OpenAIApi(string apiKey, string organization)

PourRienDire
Автор

It would be great to implement some of this into vrchat. Most of my ai's are simple follow or head follow models.

necatron
Автор

everytime a past the gitlink it say i have a error adding package

Luke-vt
Автор

organization key is now found in general on user settings :)

davidawesome
Автор

Excellent tutorial, thanks! To those who say they have problems with auth.json not being found, if u actually watched the video carefully you'll see there's a workaround.

Tyke
Автор

Hi Valem, your tutorials are fantastic and they're helping me a lot. I have a question: do you have any ideas on how to create an inventory system for VR? I'll leave this idea for a future VR tutorial since there's practically nothing on YouTube that uses a modern system like XR Toolkit.

nickframe
Автор

Thanks for sharing, this is awesome, and very easy to achieve.

guillermomazzari
Автор

C'est dingue comment on perçoit le côté français bien que tu gères l'accent, bonne vidéo 😉

remzire
Автор

I wanted exactly like this. Thanks man!!!!

jesalonboard
Автор

What i think is that if we set some foundational parameters for character body movement, we can use AI to tweak those parameters and reflect different body movements and behaviors. I am going to try implementing this in my game and test it.

MitazasAlways
Автор

I want part 2 but I can't find the video.. patreon is off!!

MicroblastGames
Автор

Nice and simple. ( I was using the OKDoIt Open AI API, but this seems simpler)

juleswombat
Автор

Hey Valem big fan of your videos and tutorials
I saw in your post about the chat gpt npc that you were using Amazon poly for text to speech
Was there any particular reason as to why you didnt use Voice sdk from Oculus it gives the same funtionality without needing to pay anything

pratyushjain
Автор

Can you make a tut on how to make avatar customisation plz

ScreamingFoxMemes
Автор

To produce with the Oculus version, do I need to place the .openai folder and auth.json file in Oculus?

itox
Автор

Please make a tutorial were each NPC talks differently without mix the conversations. Another idea for a tutorial would be to limit chatgpt to incorporating the character and only talking about topics that are relevant to the game's story.

cfactorygames
Автор

What would be cool is if you could voice chat to it and it would voice chat back with lip movement!

samsil
Автор

It's not really an NPC to be honest. It's just a GPT model chat in Unity wrapper - not much else.
It starts to be way more funny, when you try to provide the context for dialogue and limit number of choice player can make and especially make previous choices in different dialogues matter.

szharychev
Автор

Unity can't seem to find my auth.json file. Am I missing something? It's in the exact location C/Users/Myself/.openai/ I'm just getting errors that it can't find the authenticator.

SirFox
visit shbcf.ru