Creating API Requests for ChatGPT in GODOT

preview_player
Показать описание

Make dynamic NPCs in Godot with ChatGPT!

NPCs can play a huge role in storytelling – and AI has created new opportunities to give players unique, interactive experiences. In this course, you’ll create a small demo where players can chat with NPCs and receive in-character, reactive responses powered by ChatGPT. These techniques will give you the groundwork to leverage ChatGPT to save time and create dynamic stories for your players.

Familiarity with Godot and GDScript are needed for this course.

You will learn how to:

- Integrate ChatGPT with Godot
- Manage API requests for GDScript
- Alter prompts to have character personalities
- Construct a UI dialogue interaction system
- Give NPCs secrets to reveal
- Create modular AI systems

… and more!
Рекомендации по теме
Комментарии
Автор

Very cool and a lot easier than I thought it was going to be thank you for the vid!

azakaela
Автор

If you are having problems with your code it could be that you need to pay openai to use its ai.

addanbillis
Автор

I have a problem with the "choices' part, it gives me an error "Invalid get index 'choices' (on base: 'Dictionary')" Any ideas?

rameoparmon
Автор

So if were sending previous messages each time we make a request, does that mean we are limiting the number of requests based on the length of each words we feed the AI?

hsjwvs
Автор

It didn't work for me and I don't know why

redaabdo