SessionUpdateConversationItemTruncated 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 an earlier assistant audio message item is truncated by the
client with a conversation.item.truncate event.
public class SessionUpdateConversationItemTruncated : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionUpdateConversationItemTruncated>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionUpdateConversationItemTruncated>
type SessionUpdateConversationItemTruncated = class
inherit SessionUpdate
interface IJsonModel<SessionUpdateConversationItemTruncated>
interface IPersistableModel<SessionUpdateConversationItemTruncated>
Public Class SessionUpdateConversationItemTruncated
Inherits SessionUpdate
Implements IJsonModel(Of SessionUpdateConversationItemTruncated), IPersistableModel(Of SessionUpdateConversationItemTruncated)
- Inheritance
- Implements
Remarks
This event is used to synchronize the server's understanding of the audio with the client's playback.
This action will truncate the audio and remove the server-side text transcript to ensure there is no text in the context that hasn't been heard by the user.
Properties
| AudioEnd |
The duration up to which the audio was truncated. |
| ContentIndex |
The index of the content part that was truncated. |
| EventId |
Gets the EventId. |
| ItemId |
The ID of the assistant message item that was truncated. |