pub struct RealtimeTranscriptionSessionCreateResponse {
pub client_secret: RealtimeTranscriptionSessionCreateResponseClientSecret,
pub input_audio_format: Option<String>,
pub input_audio_transcription: Option<RealtimeTranscriptionSessionCreateResponseInputAudioTranscription>,
pub modalities: Option<Value>,
pub turn_detection: Option<RealtimeSessionCreateResponseTurnDetection>,
}
Fields§
§client_secret: RealtimeTranscriptionSessionCreateResponseClientSecret
§input_audio_format: Option<String>
The format of input audio. Options are pcm16
, g711_ulaw
, or g711_alaw
.
input_audio_transcription: Option<RealtimeTranscriptionSessionCreateResponseInputAudioTranscription>
§modalities: Option<Value>
The set of modalities the model can respond with. To disable audio, set this to ["text"].
turn_detection: Option<RealtimeSessionCreateResponseTurnDetection>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponse
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RealtimeTranscriptionSessionCreateResponse
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateResponse
impl Send for RealtimeTranscriptionSessionCreateResponse
impl Sync for RealtimeTranscriptionSessionCreateResponse
impl Unpin for RealtimeTranscriptionSessionCreateResponse
impl UnwindSafe for RealtimeTranscriptionSessionCreateResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more