Instance Propertymacpaw.openai 0.3.8OpenAI
id
Unique identifier for this audio response.
let id: String
Unique identifier for this audio response.
let id: String
import OpenAI
struct Audio
struct ChatResult
struct Choice
struct Message
@frozen struct String
A Unicode string value that is a collection of characters.
init(from decoder: any Decoder) throws
let data: String
Base64 encoded audio bytes generated by the model, in the format specified in the request.
let expiresAt: Int
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
let transcript: String
Transcript of the audio generated by the model.
enum CodingKeys