OpenAI GPT-Live full-duplex voice model, ready to pass to AgentSession.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

  • Configure a voice model. Throws when no OpenAI API key is available.

    Parameters

    Returns GPTLiveModel

Properties

capabilities: DuplexCapabilities

Provider features used to configure the realtime adapter.

Accessors

  • get model(): string
  • Voice model identifier used for sessions and metrics.

    Returns string

  • get provider(): string
  • Host of the configured API endpoint.

    Returns string

Methods

  • Keep output active through short pauses in speech.

    Returns AudioGate

  • The model owns no shared resources. Close each session to release its connection.

    Returns Promise<void>

  • Display label used in logs and metrics.

    Returns string

  • Create a connection that starts after the framework configures the session.

    Returns GPTLiveSession