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

Send this event to clear the audio bytes in the buffer. The server will respond with an input_audio_buffer.cleared event.

Fields

  • :event_id - optional - String.t()
    Optional client-generated ID used to identify this event.
    Constraints: maxLength: 512

  • :type - required - :"input_audio_buffer.clear"
    The event type, must be input_audio_buffer.clear.
    Allowed values: "input_audio_buffer.clear"

Summary

Types

@type t() :: %ExOpenAI.Components.RealtimeClientEventInputAudioBufferClear{
  event_id: String.t() | nil,
  type: :"input_audio_buffer.clear"
}