OpenAI::RealtimeServerEventInputAudioBufferSpeechStopped
Inherits JSON::Serializable < Reference < Object
Returned in server_vad mode when the server detects the end of speech in
the audio buffer. The server will also send an conversation.item.created
event with the user message item that is created from the audio buffer.
Constructors
new(pull : JSON::PullParser)
Sourcenew(event_id : String = "", type_value : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, audio_end_ms : Int64 = 0, item_id : String = "")
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
audio_end_ms
Milliseconds since the session started when speech stopped. This will
correspond to the end of audio sent to the model, and thus includes the
min_silence_duration_ms configured in the Session.