• 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.

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

More Videos coming soon.Leave a comment for any future video suggestions.