How to clear the context that set so far on session level
Opened this issue · 4 comments
programmerraja commented
As far as I know, OpenAI's real-time system maintains the context and previous messages. Is there a way to clear the old context and start fresh?
devpras22 commented
Only in the session right which is 15 minutes. You want to refresh memory/context within this 1 sesh?
programmerraja commented
@devpras22 yeah we would like to do within 15 min how about both can we do is there is any option?
devpras22 commented
If you are using web sockets then you can disconnect and reconnect before every message?
For a less elegant way, trying prompting it - not sure how effective that would be though
programmerraja commented
@devpras22 thank you for your suggestion is there is any other way we do without reconnect