- AIPressRoom
- Posts
- Spigot Plugin Development – 87 – NPCs with Artificial Intelligence (OpenAI GPT-3)
Spigot Plugin Development – 87 – NPCs with Artificial Intelligence (OpenAI GPT-3)
In this video, I show you how to make a plugin that uses OpenAI’s easy to use AI to have meaningful conversations with an NPC in Minecraft. The NPC does not pull from a script, it pulls from a language model known as GPT-3 davinci that has been trained on large language datasets. It is currently the most advanced form of AI that understands language right now.
Code: https://github.com/Spigot-Plugin-Development-Tutorial/ai-npcOpenAI: https://beta.openai.com/docs/introductionJava Lib: https://github.com/TheoKanning/openai-javaCitizens: https://citizensnpcs.co/AdventureLib: https://docs.adventure.kyori.net/platform/index.html
Join the Community! – https://discord.gg/cortexdev
Timestamps:0:00 – Showcase Intro2:43 – Explanation6:34 – Another Demo of the Plugin9:40 – Figuring this out on OpenAI Playground14:15 – Beginning to code the plugin14:54 – Installing Citizens17:03 – Installing the OpenAI Java Library20:10 – Installing Adventure Lib20:50 – Setting up the main class22:00 – Citizens Wiki23:00 – Creating the command25:30 – Citizens Traits and making one31:00 – An event handler for the NPC interaction36:00 – An event handler for talking41:40 – Setting up on OpenAI Playground45:50 – Applying the AI settings in our Java code47:35 – Need an API key50:30 – Getting the AI response56:55 – Finishing Up1:00:00 – Testing the Plugin
Want to Support the Channel?– Become a Member: https://www.youtube.com/KodySimpson/join– Buy some swag: https://www.youtube.com/KodySimpson/store– PayPal: https://www.paypal.com/paypalme/kodysimpson
My Socials:Github: https://github.com/KodySimpsonTwitter: https://twitter.com/kodysimp
More Videos coming soon.Leave a comment for any future video suggestions.
The post Spigot Plugin Development – 87 – NPCs with Artificial Intelligence (OpenAI GPT-3) appeared first on AIPressRoom.