openai/openai-realtime-api-beta

How to clear the context that set so far on session level

Opened this issue · 4 comments

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?

Only in the session right which is 15 minutes. You want to refresh memory/context within this 1 sesh?

@devpras22 yeah we would like to do within 15 min how about both can we do is there is any option?

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

@devpras22 thank you for your suggestion is there is any other way we do without reconnect