View Source ExOpenAI.Components.RealtimeServerEventSessionUpdated (ex_openai.ex v2.0.0-beta2)

Returned when a session is updated with a session.update event, unless there is an error.

Fields

  • :event_id - required - String.t()
    The unique ID of the server event.

  • :session - required - ExOpenAI.Components.RealtimeSessionCreateRequestGA.t() | ExOpenAI.Components.RealtimeTranscriptionSessionCreateRequestGA.t()
    The session configuration.

  • :type - required - :"session.updated"
    The event type, must be session.updated.
    Allowed values: "session.updated"

Summary

Types

@type t() :: %ExOpenAI.Components.RealtimeServerEventSessionUpdated{
  event_id: String.t(),
  session:
    ExOpenAI.Components.RealtimeSessionCreateRequestGA.t()
    | ExOpenAI.Components.RealtimeTranscriptionSessionCreateRequestGA.t(),
  type: :"session.updated"
}