Table of Contents

Class AudioResponse

Namespace
OpenAI.Audio
Assembly
OpenAI-DotNet.dll
public sealed class AudioResponse : BaseResponse
Inheritance
AudioResponse
Inherited Members

Properties

Duration

The duration of the input audio.

[JsonInclude]
[JsonPropertyName("duration")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Duration { get; }

Property Value

double?

Language

The language of the input audio.

[JsonInclude]
[JsonPropertyName("language")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Language { get; }

Property Value

string

Segments

Segments of the transcribed text and their corresponding details.

[JsonInclude]
[JsonPropertyName("segments")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public TranscriptionSegment[] Segments { get; }

Property Value

TranscriptionSegment[]

Text

The transcribed text.

[JsonInclude]
[JsonPropertyName("text")]
public string Text { get; }

Property Value

string

Words

Extracted words and their corresponding timestamps.

[JsonInclude]
[JsonPropertyName("words")]
public TranscriptionWord[] Words { get; }

Property Value

TranscriptionWord[]