apply_filters( 'classifai_ollama_key_takeaways_auto_run', $run, $post_id ) → {bool}
Decide if we should automatically run the key takeaways generation.
By default, we will always run the generation. If you only want to run when triggered manually, you can filter the return value to false.
Parameters:
Name | Type | Description |
---|---|---|
$run |
bool | Whether to run the key takeaways generation. |
$post_id |
int | ID of post we are summarizing. |
- Since:
- 3.5.0
- Source:
Returns:
Whether to run the key takeaways generation.
- Type
- bool