Filter: classifai_openai_text_to_speech_request_body
Filter the request body before sending to OpenAI.
Parameters
| Name | Type | Description |
|---|---|---|
| $request_body | array | The request body that will be sent to OpenAI. |
| $post_id | int | Post ID. |
| $post_content | string | Post content. |
Since
- 3.7.1
Source
Defined in includes/Classifai/Providers/OpenAI/TextToSpeech.php at line 414
Returns
The filtered request body.