다음을 통해 공유


SessionUpdateConversationItemInputAudioTranscriptionCompleted Class

Definition

This event is the output of audio transcription for user audio written to the user audio buffer. Transcription begins when the input audio buffer is committed by the client or server (in server_vad mode). Transcription runs asynchronously with Response creation, so this event may come before or after the Response events.

VoiceLive API models accept audio natively, and thus input transcription is a separate process run on a separate ASR (Automatic Speech Recognition) model. The transcript may diverge somewhat from the model's interpretation, and should be treated as a rough guide.

public class SessionUpdateConversationItemInputAudioTranscriptionCompleted : Azure.AI.VoiceLive.SessionUpdate, System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionUpdateConversationItemInputAudioTranscriptionCompleted>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionUpdateConversationItemInputAudioTranscriptionCompleted>
type SessionUpdateConversationItemInputAudioTranscriptionCompleted = class
    inherit SessionUpdate
    interface IJsonModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>
    interface IPersistableModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>
Public Class SessionUpdateConversationItemInputAudioTranscriptionCompleted
Inherits SessionUpdate
Implements IJsonModel(Of SessionUpdateConversationItemInputAudioTranscriptionCompleted), IPersistableModel(Of SessionUpdateConversationItemInputAudioTranscriptionCompleted)
Inheritance
SessionUpdateConversationItemInputAudioTranscriptionCompleted
Implements

Properties

ContentIndex

The index of the content part containing the audio.

EventId

Gets the EventId.

(Inherited from SessionUpdate)
ItemId

The ID of the user message item containing the audio.

Transcript

The transcribed text.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SessionUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IJsonModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<SessionUpdate>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdate>.Write(ModelReaderWriterOptions) (Inherited from SessionUpdate)
IPersistableModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SessionUpdateConversationItemInputAudioTranscriptionCompleted>.Write(ModelReaderWriterOptions)

Applies to