Filter: classifai_xai_grok_excerpt_prompt
Filter the prompt we will send to xAI Grok.
Parameters
Name | Type | Description |
---|---|---|
$prompt | string | Prompt we are sending to xAI Grok. Gets added before post content. |
$post_id | int | ID of post we are summarizing. |
$excerpt_length | int | Length of final excerpt. |
Since
- 3.3.0
Source
Defined in includes/Classifai/Providers/XAI/Grok.php
at line 501
Returns
Prompt.