You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional
The format of input audio. Options are pcm16, g711_ulaw, or g711_alaw. For pcm16, input audio must be 16-bit PCM at a 24kHz sample rate, single channel (mono), and little-endian byte order.
OpenAI session error: Invalid value: 'g711-ulaw'. Supported values are: 'pcm16', 'g711_ulaw', and 'g711_alaw'.
Spec
input_audio_format
string
Optional
The format of input audio. Options are pcm16, g711_ulaw, or g711_alaw. For pcm16, input audio must be 16-bit PCM at a 24kHz sample rate, single channel (mono), and little-endian byte order.
#[derive(Debug, Serialize, Deserialize, Clone)] pub enum AudioFormat { #[serde(rename = "pcm16")] PCM16, #[serde(rename = "g711-ulaw")] G711ULAW, #[serde(rename = "g711-alaw")] G711ALAW, }
The text was updated successfully, but these errors were encountered: