InputAudio

class InputAudio(val data: String, val format: String)(source)

Represents the audio data and format configuration for audio content in the OpenAI chat completion API.

Constructors

Link copied to clipboard
constructor(data: String, format: String)

Properties

Link copied to clipboard

Base64 encoded audio data.

Link copied to clipboard

The format of the encoded audio data. Currently, it supports "wav" and "mp3".