Audio

@SerialName(value = "input_audio")
class Audio(val inputAudio: OpenAIContentPart.InputAudio) : OpenAIContentPart(source)

Audio content part in the OpenAI chat completion API.

Constructors

Link copied to clipboard
constructor(inputAudio: OpenAIContentPart.InputAudio)

Properties

Link copied to clipboard

Contains the encoded audio data and format information. The audio data should be base64 encoded and the format can be either "wav" or "mp3"