Added Dark/Light theme.
Also made cooldowns functional and changed the cooldown from 30s to 10s.
Temperature is now random, for more answer diversity.
Added some padding and better UI look.
Added spatial voice too, it can be fun or something.
Game now has limited servers in order to limit requests for the server.
I think 10 seconds is enough, just know that if a lot of people send requests at the same time, requests can be really fast
there are 4 server slots in the game for 10 players at the moment.
4*10 = 40 players
40 players sending 12 (each 5s) requests in a minute:
12*40 = 480 requests per minute. which is really high and can get rate limited, note that this is just for 40 players, imagine if more.
10 seconds however is reasonable and lets you time to think on what to prompt to the AI.
Nice stuff, I’ve also made a very similar “game” a few months ago, but I kept it private, and don’t plan on releasing it. Be careful with the token consumption, especially with this pretty high token limit, which could cost you a hell lot, and also don’t forget to submit the application to get your token limits raised for your game, takes two minutes and it can’t be an issue if you don’t…
I noticed a flaw that can get your game moderated: According to Roblox’s TOS any user inputed text/third party text must be moderated using the TextService:FilterStringAsync feature. I see this is not the case and it can get your game moderated.
There are also OpenAI endpoints that can help you moderate this type of content. If you use their moderation endpoint you can help to remove these types of responses even though it would still break Roblox’s TOS since Roblox doesn’t trust devs to do their own filtering.
oh man. I really don’t know what to do then other than making an array full of cuss words… because I have filtering on it, I will try to dive into this. Thanks for feedback!