pub struct RealtimeServerEventConversationItemInputAudioTranscriptionDelta {
pub event_id: String,
pub item_id: String,
pub content_index: u32,
pub delta: String,
pub logprobs: Option<Vec<LogProbProperties>>,
}Available on crate feature
realtime only.Fields§
§event_id: StringThe unique ID of the server event.
item_id: StringThe ID of the item containing the audio that is being transcribed.
content_index: u32The index of the content part in the item’s content array.
delta: StringThe text delta.
logprobs: Option<Vec<LogProbProperties>>The log probabilities of the transcription. These can be enabled by configurating the session with
"include": ["item.input_audio_transcription.logprobs"]. Each entry in the array
corresponds a log probability of which token would be selected for this chunk of transcription. This
can help to identify if it was possible there were multiple valid options for a given chunk of
transcription.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
Source§fn clone(
&self,
) -> RealtimeServerEventConversationItemInputAudioTranscriptionDelta
fn clone( &self, ) -> RealtimeServerEventConversationItemInputAudioTranscriptionDelta
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 RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl<'de> Deserialize<'de> for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
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 RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl RefUnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl Send for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl Sync for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl Unpin for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
impl UnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionDelta
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