Table of Contents

Class AudioConfig

Namespace
OpenAI.Chat
Assembly
OpenAI-DotNet.dll
public sealed class AudioConfig
Inheritance
AudioConfig
Inherited Members

Constructors

AudioConfig()

public AudioConfig()

AudioConfig(Voice, AudioFormat)

public AudioConfig(Voice voice, AudioFormat format = AudioFormat.Pcm16)

Parameters

voice Voice
format AudioFormat

Properties

Format

[JsonInclude]
[JsonPropertyName("format")]
public AudioFormat Format { get; }

Property Value

AudioFormat

Voice

[JsonInclude]
[JsonPropertyName("voice")]
public string Voice { get; }

Property Value

string

Operators

implicit operator AudioConfig(Voice)

public static implicit operator AudioConfig(Voice voice)

Parameters

voice Voice

Returns

AudioConfig