AudioTranscription Class

Definition

Result information for an operation that transcribed spoken audio into written text.

public class AudioTranscription : System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.AudioTranscription>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.AudioTranscription>
type AudioTranscription = class
    interface IJsonModel<AudioTranscription>
    interface IPersistableModel<AudioTranscription>
Public Class AudioTranscription
Implements IJsonModel(Of AudioTranscription), IPersistableModel(Of AudioTranscription)
Inheritance
AudioTranscription
Implements

Properties

Duration

The total duration of the audio processed to produce accompanying transcription information.

Language

The spoken language that was detected in the transcribed audio data. This is expressed as a two-letter ISO-639-1 language code like 'en' or 'fr'.

Segments

A collection of information about the timing, probabilities, and other detail of each processed audio segment.

Text

The transcribed text for the provided audio data.

Words

A collection of information about the timing of each processed word.

Explicit Interface Implementations

IJsonModel<AudioTranscription>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AudioTranscription>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AudioTranscription>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AudioTranscription>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AudioTranscription>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to