pub struct CreateTranscriptionResponseJson {
pub text: String,
pub logprobs: Option<Vec<LogProbProperties>>,
pub usage: TranscriptionUsage,
}Expand description
Represents a transcription response returned by model, based on the provided input.
Fields§
§text: StringThe transcribed text.
logprobs: Option<Vec<LogProbProperties>>The log probabilities of the tokens in the transcription. Only returned with the models
gpt-4o-transcribe and gpt-4o-mini-transcribe if logprobs is added to the include array.
usage: TranscriptionUsageToken usage statistics for the request.
Trait Implementations§
Source§impl Clone for CreateTranscriptionResponseJson
impl Clone for CreateTranscriptionResponseJson
Source§fn clone(&self) -> CreateTranscriptionResponseJson
fn clone(&self) -> CreateTranscriptionResponseJson
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CreateTranscriptionResponseJson
impl<'de> Deserialize<'de> for CreateTranscriptionResponseJson
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 CreateTranscriptionResponseJson
impl RefUnwindSafe for CreateTranscriptionResponseJson
impl Send for CreateTranscriptionResponseJson
impl Sync for CreateTranscriptionResponseJson
impl Unpin for CreateTranscriptionResponseJson
impl UnwindSafe for CreateTranscriptionResponseJson
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