OpenAI API issue in app chatbot

I’m running into this issue, the chatbot works fine but after first sentence the chatbot forgets context of first question, what I mean is that it doesn’t remember what the user said so it makes the conversation awkward and I need conversation to be long and engaging but the chatbot doesn’t remember what user said 2 sentences before.

I use OpenAI API completion for my app.

1 Like