Instance Propertymacpaw.openai 0.3.8OpenAI
expiresAt
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 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 expiresAt: Int
s6OpenAI10ChatResultV6ChoiceV7MessageV5AudioV9expiresAtSivp
What are these?4JJT5
import OpenAI
struct Audio
struct ChatResult
struct Choice
struct Message
@frozen struct Int
A signed integer value type.
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 id: String
Unique identifier for this audio response.
let transcript: String
Transcript of the audio generated by the model.
enum CodingKeys