VoiceLiveModelFactory.ServerEventResponseAudioTranscriptAnnotationAdded Method

Definition

Returned when an audio transcript annotation is added to a response.

public static Azure.AI.VoiceLive.ServerEventResponseAudioTranscriptAnnotationAdded ServerEventResponseAudioTranscriptAnnotationAdded(string eventId = default, string responseId = default, string itemId = default, int outputIndex = 0, int contentIndex = 0, int annotationIndex = 0, BinaryData annotation = default);
static member ServerEventResponseAudioTranscriptAnnotationAdded : string * string * string * int * int * int * BinaryData -> Azure.AI.VoiceLive.ServerEventResponseAudioTranscriptAnnotationAdded
Public Shared Function ServerEventResponseAudioTranscriptAnnotationAdded (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 annotationIndex As Integer = 0, Optional annotation As BinaryData = Nothing) As ServerEventResponseAudioTranscriptAnnotationAdded

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.

annotationIndex
Int32

The index of the annotation.

annotation
BinaryData

The annotation object.

Returns

A new ServerEventResponseAudioTranscriptAnnotationAdded instance for mocking.

Applies to