apply_filters( 'classifai_whisper_transcribe_request_body', $body, $attachment_id ) → {array}
Filter the request body before sending to Whisper.
Parameters:
Name | Type | Description |
---|---|---|
$body |
array | Request body that will be sent to Whisper. |
$attachment_id |
int | ID of attachment we are transcribing. |
- Since:
- 2.2.0
- Source:
Returns:
Request body.
- Type
- array