class

OpenAI::RealtimeSessionCreateResponseAudioInputTurnDetection

Inherits JSON::Serializable < Reference < Object

Configuration for turn detection.

Constructors

new(type_value : String | Nil = nil, threshold : Float64 | Nil = nil, prefix_padding_ms : Int64 | Nil = nil, silence_duration_ms : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

prefix_padding_ms
Source
prefix_padding_ms=(prefix_padding_ms : Int64 | Nil)
Source
silence_duration_ms
Source
silence_duration_ms=(silence_duration_ms : Int64 | Nil)
Source
threshold
Source
threshold=(threshold : Float64 | Nil)
Source
type_value

Type of turn detection, only server_vad is currently supported.

Source
type_value=(type_value : String | Nil)

Type of turn detection, only server_vad is currently supported.

Source