Share via


VoiceLiveModelFactory.SessionUpdateResponseTextDone Method

Definition

Returned when the text value of a "text" content part is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.

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

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.

text
String

The final text content.

Returns

A new SessionUpdateResponseTextDone instance for mocking.

Applies to