pub struct RealtimeTranscriptionSessionCreateResponseInputAudioTranscription {
pub language: Option<String>,
pub model: Option<String>,
pub prompt: Option<String>,
}
Fields§
§language: Option<String>
The language of the input audio. Supplying the input language in ISO-639-1 (e.g. en
) format will improve accuracy and latency.
model: Option<String>
The model to use for transcription. Can be gpt-4o-transcribe
, gpt-4o-mini-transcribe
, or whisper-1
.
prompt: Option<String>
An optional text to guide the model’s style or continue a previous audio segment. The prompt should match the audio language.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
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 RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl Send for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl Sync for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl Unpin for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
impl UnwindSafe for RealtimeTranscriptionSessionCreateResponseInputAudioTranscription
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