In an effort to keep things running longer, before hitting my budget of $500, I am reducing times to 15 minutes, and I've added BYOK.
I don't think I can make everyone happy with the solution, your key is saved on your own browsers localStorage, I do not save or store it in my database. I suggest everyone creates a new key dedicated to our service so you can invalidate it later on. That key is sent to our api using `x-openai-key` header and then we mint ephemeral client secrets to perform web rtc functions.
Love it, and I think this is the future for RPG gaming. Endless immersion. I see this project expanding into "experiences" or "scenarios" as well, but I like to focus on small things first. If people like this, I will build more. If it's a cool demo, but not worth putting more time into, I'll probably just move on.
I think t's possible to use static voice, but it would create a very rigid experience, you would have to have a ton of generic sounds prepared and identify when to play each one. The fun of this is the fluid conversation. I can imagine the static responses being pretty terrible for unrecognized questions. LLMs provide really good RP.
I noticed it does ignore “ignore previous instructions” but my guess is this is baked into open ai now