Godot Version
Godot 4
Question
A few days ago I saw that a YouTube user named “Wici” uploaded a video titled “How to put ChatGPT into Godot Projects” and basically in the video he uses a page that is no longer the same as before called Ora where he created a custom GPT and apparently he used the API and with the 2D, background, LineEdit and Label nodes and a simple script he created an interface where the user wrote and the chat bot responded in the Label.
Also a long time ago Google and StanFord University created “SmallVille” which was basically a simulation genre game where the NPCs were a little more “alive” or “less robotic” thanks to the use of the original Chat-GPT.
Now that Meta created the Llama language models that are opensource and there is a lot of information out there… so much that even someone with little experience like me gets lost and confused… I would like to know if… there is a way to do what I saw in the Wici’s video but using the Llama 3 8B API or if it is possible to find a way for Llama 3 to communicate in GDscript via offline since I have seen that there are many ways to download it and run it locally although I feel that This option may not be the most viable (I think)…
Another YouTube video called “Endless Storytelling with AI NPCs & Simulated Realities” from the “Theoretically Media” channel, there is a comment that gave me the idea that I have in mind now that goes like this:
“There are already mods to Skyrim and Bannerlord that use the ChatGPT API in order to make the NPCs have never ending dialogue and react to the player in natural ways, that’s the future of games, we just need to base it on something open source like Llama 3 not ChatGPT”
So I am seriously interested in how to achieve this goal, I am new to the Godot community but I hope that the community will come together as a collective intelligence to better understand this topic and answer these types of questions for future developers who want to do the same.