class OpenAI::Audio
def initialize(client:)
def initialize(client:) @client = client end
def speech(parameters: {})
def speech(parameters: {}) @client.json_post(path: "/audio/speech", parameters: parameters) end
def transcribe(parameters: {})
def transcribe(parameters: {}) @client.multipart_post(path: "/audio/transcriptions", parameters: parameters) end
def translate(parameters: {})
def translate(parameters: {}) @client.multipart_post(path: "/audio/translations", parameters: parameters) end