Learn R Programming

openaiRtools (version 0.2.2)

AudioClient: Audio Client

Description

Top-level client for the OpenAI Audio API, providing access to transcription, translation, and text-to-speech services. Access via client$audio.

Arguments

Sub-clients

$transcriptions

AudioTranscriptionsClient — Whisper speech-to-text

$translations

AudioTranslationsClient — Whisper audio translation to English

$speech

SpeechClient — Text-to-speech (TTS)

Methods


Method new()

Usage

AudioClient$new(parent)


Method clone()

The objects of this class are cloneable with this method.

Usage

AudioClient$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.