pub struct CreateTranscriptionMultipartFormBuilder(/* private fields */);Expand description
Builder for CreateTranscriptionMultipartForm.
Implementations§
Source§impl CreateTranscriptionMultipartFormBuilder
impl CreateTranscriptionMultipartFormBuilder
pub fn language(self, value: impl Into<String>) -> Self
pub fn languages(self, value: impl Into<Vec<String>>) -> Self
pub fn keywords(self, value: impl Into<Vec<String>>) -> Self
pub fn prompt(self, value: impl Into<String>) -> Self
pub fn response_format( self, value: impl Into<TranscriptionResponseFormat>, ) -> Self
pub fn temperature(self, value: impl Into<Number>) -> Self
pub fn timestamp_granularities( self, value: impl Into<Vec<TranscriptionTimestampGranularity>>, ) -> Self
pub fn include(self, value: impl Into<Vec<TranscriptionInclude>>) -> Self
pub fn chunking_strategy( self, value: impl Into<Option<ChunkingStrategy>>, ) -> Self
pub fn known_speaker_names(self, value: impl Into<Vec<String>>) -> Self
pub fn known_speaker_references(self, value: impl Into<Vec<String>>) -> Self
pub fn stream(self, value: impl Into<Option<bool>>) -> Self
Sourcepub fn build(self) -> CreateTranscriptionMultipartForm
pub fn build(self) -> CreateTranscriptionMultipartForm
Return the completed wire value.
Auto Trait Implementations§
impl !Freeze for CreateTranscriptionMultipartFormBuilder
impl !RefUnwindSafe for CreateTranscriptionMultipartFormBuilder
impl !Sync for CreateTranscriptionMultipartFormBuilder
impl !UnwindSafe for CreateTranscriptionMultipartFormBuilder
impl Send for CreateTranscriptionMultipartFormBuilder
impl Unpin for CreateTranscriptionMultipartFormBuilder
impl UnsafeUnpin for CreateTranscriptionMultipartFormBuilder
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