ServerEventResponseAudioTranscriptAnnotationAdded 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 audio transcript annotation is added to a response.
public class ServerEventResponseAudioTranscriptAnnotationAdded : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.ServerEventResponseAudioTranscriptAnnotationAdded>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.ServerEventResponseAudioTranscriptAnnotationAdded>
type ServerEventResponseAudioTranscriptAnnotationAdded = class
inherit SessionUpdate
interface IJsonModel<ServerEventResponseAudioTranscriptAnnotationAdded>
interface IPersistableModel<ServerEventResponseAudioTranscriptAnnotationAdded>
Public Class ServerEventResponseAudioTranscriptAnnotationAdded
Inherits SessionUpdate
Implements IJsonModel(Of ServerEventResponseAudioTranscriptAnnotationAdded), IPersistableModel(Of ServerEventResponseAudioTranscriptAnnotationAdded)
- Inheritance
- Implements
Properties
| Name | Description |
|---|---|
| Annotation |
The annotation object. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| AnnotationIndex |
The index of the annotation. |
| ContentIndex |
The index of the content part in the item's content array. |
| EventId |
Gets the EventId. (Inherited from SessionUpdate) |
| ItemId |
The ID of the item. |
| OutputIndex |
The index of the output item in the response. |
| ResponseId |
The ID of the response. |