VoiceLiveModelFactory.SessionUpdateResponseContentPartDone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returned when a content part is done streaming in an assistant message item. Also emitted when a Response is interrupted, incomplete, or cancelled.
public static Azure.AI.VoiceLive.SessionUpdateResponseContentPartDone SessionUpdateResponseContentPartDone(string eventId = default, string responseId = default, string itemId = default, int outputIndex = 0, int contentIndex = 0, Azure.AI.VoiceLive.VoiceLiveContentPart part = default);
static member SessionUpdateResponseContentPartDone : string * string * string * int * int * Azure.AI.VoiceLive.VoiceLiveContentPart -> Azure.AI.VoiceLive.SessionUpdateResponseContentPartDone
Public Shared Function SessionUpdateResponseContentPartDone (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 part As VoiceLiveContentPart = Nothing) As SessionUpdateResponseContentPartDone
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.
- part
- VoiceLiveContentPart
The content part that is done.
Returns
A new SessionUpdateResponseContentPartDone instance for mocking.