Class InteractionAudioResponseFormat
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Audio output format (type: audio).
public sealed class InteractionAudioResponseFormat : InteractionResponseFormat
- Inheritance
-
InteractionAudioResponseFormat
- Inherited Members
- Extension Methods
Constructors
InteractionAudioResponseFormat()
Initializes a new instance of the InteractionAudioResponseFormat class.
public InteractionAudioResponseFormat()
Properties
BitRate
Bit rate in bits per second (compressed formats only).
[JsonPropertyName("bit_rate")]
public int? BitRate { get; set; }
Property Value
- int?
Delivery
The delivery mode (see InteractionDeliveryModes).
[JsonPropertyName("delivery")]
public string? Delivery { get; set; }
Property Value
MimeType
The MIME type (audio/mp3, audio/ogg_opus, audio/l16, audio/wav, audio/alaw, audio/mulaw).
[JsonPropertyName("mime_type")]
public string? MimeType { get; set; }
Property Value
SampleRate
Sample rate in Hz.
[JsonPropertyName("sample_rate")]
public int? SampleRate { get; set; }
Property Value
- int?