Skip to content

Support for Realtime API in openai-go SDK #600

@sohnkd38

Description

@sohnkd38

Hi OpenAI team,

It looks like the openai-go SDK doesn’t support the Realtime API (WebSocket-based) yet.

We’re using the Realtime API in production, and currently have to implement our own WebSocket client outside of the SDK. This makes things a bit messy compared to using the official SDKs in other languages.

It would be really helpful to have native support in openai-go, such as:

  • Realtime session handling
  • Sending/receiving realtime events over WebSocket
  • Basic typed models for realtime requests/responses

Is this on the roadmap, or is there a recommended way to handle Realtime API usage in Go for now?

Happy to provide feedback or help test if needed.

Thanks.

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

    Issue actions