pub struct RealtimeServerEventConversationItemInputAudioTranscriptionCompleted {
pub event_id: String,
pub type: String,
pub item_id: String,
pub content_index: i64,
pub transcript: String,
pub logprobs: Option<Vec<LogProbProperties>>,
}
Expand description
This event is the output of audio transcription for user audio written to the user audio buffer.
Fields§
§event_id: String
The unique ID of the server event.
type: String
The event type, must be
conversation.item.input_audio_transcription.completed
.
item_id: String
The ID of the user message item containing the audio.
content_index: i64
The index of the content part containing the audio.
transcript: String
The transcribed text.
logprobs: Option<Vec<LogProbProperties>>
The log probabilities of the transcription.
Trait Implementations§
Source§impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl Clone for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
Source§fn clone(
&self,
) -> RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
fn clone( &self, ) -> RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
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 Default for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl Default for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
Source§fn default() -> RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
fn default() -> RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl RefUnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl Send for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl Sync for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl Unpin for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
impl UnwindSafe for RealtimeServerEventConversationItemInputAudioTranscriptionCompleted
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