Share via


VoiceLiveModelFactory.SessionUpdateConversationItemInputAudioTranscriptionCompleted Method

Definition

This event is the output of audio transcription for user audio written to the user audio buffer. Transcription begins when the input audio buffer is committed by the client or server (in server_vad mode). Transcription runs asynchronously with Response creation, so this event may come before or after the Response events. VoiceLive API models accept audio natively, and thus input transcription is a separate process run on a separate ASR (Automatic Speech Recognition) model. The transcript may diverge somewhat from the model's interpretation, and should be treated as a rough guide.

public static Azure.AI.VoiceLive.SessionUpdateConversationItemInputAudioTranscriptionCompleted SessionUpdateConversationItemInputAudioTranscriptionCompleted(string eventId = default, string itemId = default, int contentIndex = 0, string transcript = default);
static member SessionUpdateConversationItemInputAudioTranscriptionCompleted : string * string * int * string -> Azure.AI.VoiceLive.SessionUpdateConversationItemInputAudioTranscriptionCompleted
Public Shared Function SessionUpdateConversationItemInputAudioTranscriptionCompleted (Optional eventId As String = Nothing, Optional itemId As String = Nothing, Optional contentIndex As Integer = 0, Optional transcript As String = Nothing) As SessionUpdateConversationItemInputAudioTranscriptionCompleted

Parameters

eventId
String
itemId
String

The ID of the user message item containing the audio.

contentIndex
Int32

The index of the content part containing the audio.

transcript
String

The transcribed text.

Returns

A new SessionUpdateConversationItemInputAudioTranscriptionCompleted instance for mocking.

Applies to