apply_filters( 'classifai_googleai_gemini_api_excerpt_request_body', $body, $post_id ) → {array}
Filter the request body before sending to Gemini API.
Parameters:
Name | Type | Description |
---|---|---|
$body |
array | Request body that will be sent to Gemini API. |
$post_id |
int | ID of post we are summarizing. |
- Since:
- 3.0.0
- Source:
Returns:
Request body.
- Type
- array