Share via


VoiceLiveModelFactory.SessionUpdateInputAudioBufferCommitted Method

Definition

Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode. The item_id property is the ID of the user message item that will be created, thus a conversation.item.created event will also be sent to the client.

public static Azure.AI.VoiceLive.SessionUpdateInputAudioBufferCommitted SessionUpdateInputAudioBufferCommitted(string eventId = default, string previousItemId = default, string itemId = default);
static member SessionUpdateInputAudioBufferCommitted : string * string * string -> Azure.AI.VoiceLive.SessionUpdateInputAudioBufferCommitted
Public Shared Function SessionUpdateInputAudioBufferCommitted (Optional eventId As String = Nothing, Optional previousItemId As String = Nothing, Optional itemId As String = Nothing) As SessionUpdateInputAudioBufferCommitted

Parameters

eventId
String
previousItemId
String

The ID of the preceding item after which the new item will be inserted.

itemId
String

The ID of the user message item that will be created.

Returns

A new SessionUpdateInputAudioBufferCommitted instance for mocking.

Applies to