Filter: classifai_chatgpt_excerpt_prompt

apply_filters( 'classifai_chatgpt_excerpt_prompt', $prompt, $post_id, $excerpt_length ) → {string}

Filter the prompt we will send to ChatGPT.

Parameters:
Name Type Description
$prompt string

Prompt we are sending to ChatGPT. Gets added before post content.

$post_id int

ID of post we are summarizing.

$excerpt_length int

Length of final excerpt.

Since:
  • 2.0.0
Source:
Returns:

Prompt.

Type
string