Filter: classifai_whisper_transcribe_request_body

apply_filters( 'classifai_whisper_transcribe_request_body', $body, $file_path, $args ) → {array}

Filter the request body before sending to OpenAI.

Parameters:
Name Type Description
$body array

Request body that will be sent to OpenAI.

$file_path string

Path of the attachment we are transcribing.

$args args

Additional args.

Since:
  • 2.2.0
Source:
Returns:

Request body.

Type
array