Skip to main content

AudioInput

Type Alias AudioInput 

Source
pub type AudioInput = TranscriptionRequest;
Expand description

Stable feedback-facing name for an audio transcription request.

Aliased Type§

pub struct AudioInput {
    pub bytes: Vec<u8>,
    pub file_name: String,
    pub content_type: String,
    pub language: Option<String>,
    pub prompt: Option<String>,
}

Fields§

§bytes: Vec<u8>§file_name: String§content_type: String§language: Option<String>§prompt: Option<String>