How to create Multi user chatbot on top of openAI API

I’m developing an app with multiple users, each user will have access to their chatbot with their custom data uploaded, how to achieve this with one chatgpt API?

Kindly guide me on how to build a fully functional chatbot like ChatGPT or Poe, with single openAI API

The OpenAI API is stateless. This means it will “remember” the messages you attach to your API request.

To make it compatible to multiple users, just create a request for actions like submitting a message to your app as you would in a normal flow. There should not be any problem (in terms of mixing up messages).

If you want to build an app like ChatGPT or Poe by yourself, check already existing projects on GitHub, or, if you want to build it from scratch, check the OpenAI API docs at