Kody Simpson | Spigot Plugin Development - 87 - NPCs with Artificial Intelligence (OpenAI GPT-3) @KodySimpson | Uploaded December 2022 | Updated October 2024, 2 hours ago.
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: github.com/Spigot-Plugin-Development-Tutorial/ai-npc
OpenAI: beta.openai.com/docs/introduction
Java Lib: github.com/TheoKanning/openai-java
Citizens: citizensnpcs.co
AdventureLib: docs.adventure.kyori.net/platform/index.html
Join the Community! - discord.gg/cortexdev
Timestamps:
0:00 - Showcase Intro
2:43 - Explanation
6:34 - Another Demo of the Plugin
9:40 - Figuring this out on OpenAI Playground
14:15 - Beginning to code the plugin
14:54 - Installing Citizens
17:03 - Installing the OpenAI Java Library
20:10 - Installing Adventure Lib
20:50 - Setting up the main class
22:00 - Citizens Wiki
23:00 - Creating the command
25:30 - Citizens Traits and making one
31:00 - An event handler for the NPC interaction
36:00 - An event handler for talking
41:40 - Setting up on OpenAI Playground
45:50 - Applying the AI settings in our Java code
47:35 - Need an API key
50:30 - Getting the AI response
56:55 - Finishing Up
1:00:00 - Testing the Plugin
Want to Support the Channel?
- Become a Member: youtube.com/KodySimpson/join
- Buy some swag: youtube.com/KodySimpson/store
- PayPal: paypal.com/paypalme/kodysimpson
My Socials:
Github: github.com/KodySimpson
Twitter: twitter.com/kodysimp
More Videos coming soon.
Leave a comment for any future video suggestions.
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: github.com/Spigot-Plugin-Development-Tutorial/ai-npc
OpenAI: beta.openai.com/docs/introduction
Java Lib: github.com/TheoKanning/openai-java
Citizens: citizensnpcs.co
AdventureLib: docs.adventure.kyori.net/platform/index.html
Join the Community! - discord.gg/cortexdev
Timestamps:
0:00 - Showcase Intro
2:43 - Explanation
6:34 - Another Demo of the Plugin
9:40 - Figuring this out on OpenAI Playground
14:15 - Beginning to code the plugin
14:54 - Installing Citizens
17:03 - Installing the OpenAI Java Library
20:10 - Installing Adventure Lib
20:50 - Setting up the main class
22:00 - Citizens Wiki
23:00 - Creating the command
25:30 - Citizens Traits and making one
31:00 - An event handler for the NPC interaction
36:00 - An event handler for talking
41:40 - Setting up on OpenAI Playground
45:50 - Applying the AI settings in our Java code
47:35 - Need an API key
50:30 - Getting the AI response
56:55 - Finishing Up
1:00:00 - Testing the Plugin
Want to Support the Channel?
- Become a Member: youtube.com/KodySimpson/join
- Buy some swag: youtube.com/KodySimpson/store
- PayPal: paypal.com/paypalme/kodysimpson
My Socials:
Github: github.com/KodySimpson
Twitter: twitter.com/kodysimp
More Videos coming soon.
Leave a comment for any future video suggestions.