Share via


VoiceLiveModelFactory.SessionUpdateResponseAudioTranscriptDone Method

Definition

Returned when the model-generated transcription of audio output is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

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

Parameters

eventId
String
responseId
String

The ID of the response.

itemId
String

The ID of the item.

outputIndex
Int32

The index of the output item in the response.

contentIndex
Int32

The index of the content part in the item's content array.

transcript
String

The final transcript of the audio.

Returns

A new SessionUpdateResponseAudioTranscriptDone instance for mocking.

Applies to