Skip to main content

Filter: classifai_whisper_transcribe_request_body

Filter the request body before sending to OpenAI.

Parameters

NameTypeDescription
$bodyarrayRequest body that will be sent to OpenAI.
$file_pathstringPath of the attachment we are transcribing.
$argsarrayAdditional args.

Since

  • 2.2.0

Source

Defined in includes/Classifai/Providers/OpenAI/SpeechToText.php at line 306

Returns

Request body.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.