A downloadable game

Download NowName your own price

This example uses Arthuro555's AdvencedHTTP extension to exchange messages between your game and OpenAI's API.

Download

Download NowName your own price

Click download now to get access to the following files:

ChatGPT Example.zip 19 kB

Comments

Log in with itch.io to leave a comment.

i'm able to get the bot to send an opening message "Hello! How can I assist you today?" and i'm unable to send in any more messages after that. struggling to figure out how to fix that, help would be greatly appreciated

Sadly, I don't own an openAI subscription right now, ping @Yggdrasil at the GDevelop's discord server general channel so I can directly connect with you and inform you when I get a chance to test the code, it should work if you haven't changed anything (unless the structure of the response had changed (you can check this at OpenAI docs about API usage)), but I'll check it anyway.

do you need a key? because I don’t

What do you mean?

i have no openai key so i can’t play yandere ai gf

Hello !

I change the informations about the Model, the URL and i provide the Key but it doesn't work. 

Can you do something about it ? Thanks.

https://forum.gdevelop.io/t/chatgpt-huggingchat-in-my-game/60714

(1 edit)

1.Do you get any "error" message? Like: "bad request" or "not authenticated" or "no credits(I don't remember the name of this one)". 

2.What model are you trying to use?

do it still work 

It should. Haven't used it in months, tho.

I checked, It works.

(+1)

sooo beautifully

thanks!