Filter: classifai_whisper_transcribe_request_body
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 | array | Additional args. |
Since
- 2.2.0
Source
Defined in includes/Classifai/Providers/OpenAI/SpeechToText.php
at line 306
Returns
Request body.