Learn R Programming

openaiRtools (version 0.2.2)

AudioTranscriptionsClient: Audio Transcriptions Client

Description

Transcribes audio files to text using OpenAI's Whisper model. Access via client$audio$transcriptions.

Arguments

Methods


Method new()

Usage

AudioTranscriptionsClient$new(parent)


Method create()

Usage

AudioTranscriptionsClient$create(
  file,
  model = "whisper-1",
  language = NULL,
  prompt = NULL,
  response_format = NULL,
  temperature = NULL,
  timestamp_granularities = NULL
)


Method clone()

The objects of this class are cloneable with this method.

Usage

AudioTranscriptionsClient$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.