We’re building an app with an OpenAI assistant and the frontend in Bubble. My question is: If multiple account holders (user/clients) are using the same OpenAI assistant through the Bubble API, can we safely serve them all through one shared assistant without issues like context drift, memory confusion, or output bleed? Or does each account need its own dedicated assistant?
We’re handling user authentication and session data on our end, but we want to make sure the assistant won’t retain or cross wires between accounts.
I appreciate any insights and advice you can share. Thanks ahead of time!
Thank you, that’s good to know. So if I understand correctly, we can already start building with the Responses API? Or do we have to wait until deprecation of the Assistants API starts?
If you need a server-side conversation state, what Responses has is “previous response ID” as a parameter. It then uses the previous call’s input and output as “chat history”.
There is no effective mechanism provided to limit the length to which a conversation and its cost can grow, up to a model’s maximum input which is now 1M tokens, and there is no way to anticipate if that single request might even exceed your organization tier rate limit.
A self-managed chat database for customers is best, sending the budgeted input on which a response should be based. When OpenAI decides to ban your account haphazardly and keep your prepaid credits, you don’t have catastrophic data loss and customer lawsuits, and can offer UI drop-downs to other AI providers to fulfill a request.