Class InputAudio
- Namespace
- OpenAI
- Assembly
- OpenAI-DotNet.dll
public sealed class InputAudio
- Inheritance
-
InputAudio
- Inherited Members
Constructors
InputAudio()
public InputAudio()
InputAudio(byte[], InputAudioFormat)
public InputAudio(byte[] data, InputAudioFormat format)
Parameters
data
byte[]format
InputAudioFormat
InputAudio(ReadOnlyMemory<byte>, InputAudioFormat)
public InputAudio(ReadOnlyMemory<byte> memory, InputAudioFormat format)
Parameters
memory
ReadOnlyMemory<byte>format
InputAudioFormat
InputAudio(ReadOnlySpan<byte>, InputAudioFormat)
public InputAudio(ReadOnlySpan<byte> span, InputAudioFormat format)
Parameters
span
ReadOnlySpan<byte>format
InputAudioFormat
InputAudio(string, InputAudioFormat)
public InputAudio(string data, InputAudioFormat format)
Parameters
data
stringformat
InputAudioFormat
Properties
Data
[JsonInclude]
[JsonPropertyName("data")]
public string Data { get; }
Property Value
Format
[JsonInclude]
[JsonPropertyName("format")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public InputAudioFormat Format { get; }
Property Value
Methods
AppendFrom(InputAudio)
public void AppendFrom(InputAudio other)
Parameters
other
InputAudio
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.