OpenAIAudio

class OpenAIAudio(val data: String? = null, val expiresAt: Long? = null, val id: String, val transcript: String? = null)(source)

Data about a previous audio response from the model.

Constructors

Link copied to clipboard
constructor(data: String? = null, expiresAt: Long? = null, id: String, transcript: String? = null)

Properties

Link copied to clipboard
val data: String?

Base64 encoded audio bytes generated by the model, in the format specified in the request.

Link copied to clipboard

The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.

Link copied to clipboard
val id: String

Unique identifier for this audio response.

Link copied to clipboard

Transcript of the audio generated by the model.