Skip to content

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

Open
@programmerraja

Description

@programmerraja

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?

Activity

devpras22

devpras22 commented on Mar 10, 2025

@devpras22

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

programmerraja

programmerraja commented on Mar 10, 2025

@programmerraja
Author

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

devpras22

devpras22 commented on Mar 10, 2025

@devpras22

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

programmerraja commented on Mar 10, 2025

@programmerraja
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @programmerraja@devpras22

        Issue actions

          How to clear the context that set so far on session level · Issue #106 · openai/openai-realtime-api-beta