SessionUpdateConversationItemCreated Class
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 conversation item is created. There are several scenarios that produce this event:
- The server is generating a Response, which if successful will produce
either one or two Items, which will be of type
message(roleassistant) or typefunction_call. - The input audio buffer has been committed, either by the client or the
server (in
server_vadmode). The server will take the content of the input audio buffer and add it to a new user message Item. - The client has sent a
conversation.item.createevent to add a new Item to the Conversation.
public class SessionUpdateConversationItemCreated : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionUpdateConversationItemCreated>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionUpdateConversationItemCreated>
type SessionUpdateConversationItemCreated = class
inherit SessionUpdate
interface IJsonModel<SessionUpdateConversationItemCreated>
interface IPersistableModel<SessionUpdateConversationItemCreated>
Public Class SessionUpdateConversationItemCreated
Inherits SessionUpdate
Implements IJsonModel(Of SessionUpdateConversationItemCreated), IPersistableModel(Of SessionUpdateConversationItemCreated)
- Inheritance
- Implements
Properties
| EventId |
Gets the EventId. (Inherited from SessionUpdate) |
| Item |
Gets the Item. |
| PreviousItemId |
The ID of the preceding item in the Conversation context, allows the client to understand the order of the conversation. |