How To Make ChatGPT NPC In Unity - Tutorial
Вставка
- Опубліковано 1 лип 2023
- How can we get a response from a player input ? Let's find out !
❤️ Support on Patreon : / valemvr
🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
🌍 Discord : / discord
🐦Twitter : valemvr?lang=en
👍 Main Channel : / @valemvr
🔥 Tiktok : / valemxr
...................................................................................
Watch the "Making Chat GPT NPC in my Game"
• Can Chat GPT replace t...
Open AI - Unity Github
github.com/srcnalt/OpenAI-Unity
credentials :
{
"api_key" : " ",
"organization" : " "
}
Open AI sign in : openai.com/product
Open AI Key and Organization : platform.openai/account/api-keys
Open AI Pricing : openai.com/pricing
Asynchronous Operation Better Explained : / asynchronous-operation...
····················································································
📝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
assetstore.unity.com/packages...
Hexabody (Physics VR Player)
assetstore.unity.com/packages...
Mirror and Reflection for VR
assetstore.unity.com/packages...
Auto Hand (automatic hand grab pose)
assetstore.unity.com/packages...
Hurricane VR (vr physics interaction)
assetstore.unity.com/packages...
3d Hand Model for VR
assetstore.unity.com/packages...
····················································································
Full Series on How to make a VR game • How to Make a VR Game ...
····················································································
If you enjoyed this video, here are some other really good channel you should appreciate :
⌨️ Game Dev
Brackeys : / @brackeys
Dani : / @danidev
Code Monkey : / @codemonkeyunity
👨🎓 Vr Dev
Justin P Barnett : / @justinpbarnett
Vr with Andrew : / @vrwithandrew
····················································································
#vr #vrdev #madewithunity
I was searching exactly this, keep going, awesome
Thanks for sharing, this is awesome, and very easy to achieve.
It would be great to implement some of this into vrchat. Most of my ai's are simple follow or head follow models.
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
To produce with the Oculus version, do I need to place the .openai folder and auth.json file in Oculus?
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)
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 UA-cam that uses a modern system like XR Toolkit.
Any games in particular that implement an inventory system in VR that you are hoping to replicate?
Does it work if I put the name of my model that is FINE-TUNED in chatpt when I put the model name?
hi I have question, what if I commit the API_key to github in a VR Unity project? how can I protect the key?
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.
And That Is?
@@-Techtip- put your api key directly in the brackets when you declare the openAI object in your code. but don't share your code if u do this as anyone can use your key.
@@Tyke18 thx!
C'est dingue comment on perçoit le côté français bien que tu gères l'accent, bonne vidéo 😉
Can you make a tut on how to make avatar customisation plz
finally! can you tell when the 2 Part will be out?
its already out on patraon paid section
What should be done if there is a sound while talking?
What would be cool is if you could voice chat to it and it would voice chat back with lip movement!
Hey very nice video, do you know or have found a Description how to generate an ai Modell with own data und use it in unity like in the video?
u shall asking I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want
Probably use something like LangChain for this and build your own RAG implementation
If I follow the tutorial well and play the game
"Error Message: You exceeded your current quota, please check your plan and billing details.
Error Type: insufficient_quota"
This error appears. Can you tell me the solution?
You used all your tokens. You need to buy more.
@@xulipaTVI I have over 40 dollars worth of tokens but I still get the same error
is there a real time voice cloning solution that I can use in VR oculus game?
Did you know?
You will have to look into eleven labs for that
you are the best thank you 💌
any videos on using a local llm maybe using ooba-booga
Error Message: You exceeded your current quota ok ok is not free ://
PLEASE, can you make a tutorial on how build the oculus game (with hand tracking) for PC? Why everybody makes tutorials only for android builds? I have a game with hand tracking that works in play mode but not in the build. Whyyy? I'm desperate!
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.
هل عرفت حل لمشكلتك
The same problem to me. Do you have a solution?
@@zyz5114 I did the "brute force" solution where I parsed my ID in the C# code. Along with that, I had to install git. That seemed to fix it for me
u don't worry about that I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want
@@zyz5114 u don't worry about that too I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want
😮
Steam banning AI text and Art included in game. I wonder if using GPT is also a reason
I hope that nope
How can set language to hindi
IS anyone else having trouble importing the package from github?
where is yesterdays tut?
also can you make a vr web swinging tut? its ok if not
How do I get him to speak Korean?
Send him to live in korea.
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.
We need mac tutorial.
are you french?
Are you french ?
Salut, je viens de décourvrir la chaine, son contenu est impec et tout sauf une chose, mec ton accent anglais est horrible lol, si tu avais fait tes tutos en français ça aurait été mieux, enfin c'est mon avis et çe ne m'engage que moi, à part ça tu fait du très beau boulot, un grand merci pour cela. Et surtout ne m'en veux pas pour l'accent mdr, c'était juste pour rire mdr, mais sérieux, songe à faire des tutos en Français ça ira mieux je crois :P
Son accent anglais est pas horrible et je le comprends facilement. Je pense que s'il parlait plus vite ce serait mieux. Son accent francais est evident mais c'est pas une probleme parce que son prononciation est fantastique.
@@DELottProductionsMerci de prendre la parti de Valem même si c'est inutile, j'ai bien précisé que c'était rien d'autre qu'une taquinerie, vous auriez deviné cela si vous aviez bien lu mon poste :P Bref, oui l'accent français est très fort ce qui fait le charme des ces vidéos, mais je maintiens le fait que si il ferait des vidéos en Français il aurait bien plus d'audience
FIRST LUV UR TUTS
if u want much explainer and understand quickly guys I'll introducing AI CHAT DEEPAI the AI CHAT DEEPAI is so powerful and much better than OPENAI since start 2015-2018 and u can show ur picture and video and anything u want
early
Yo
Yo
This guy is the biggest scammer I've seen in my life.
learn how to read the documentation for packages you're planning on using instead of blaming others for your stupidity.
This guy is scammer, none of the tutorials are working, and after u paid money, still not working, lack of explanation, lots of errors, and never share the tutorial from the begining(which is biggest problem, i want to start from setting,- to build game so i can actually have knowdlge what i need to download or set it before start it.
Gros bosses ton accent un peu, c'est la honte
I have an error “JsonReaderException: Unexpected character encountered while parsing value:
same issue here