Skip to main content

Filter: classifai_googleai_gemini_api_excerpt_prompt

Filter the prompt we will send to Gemini API.

Parameters

NameTypeDescription
$promptstringPrompt we are sending to Gemini API. Gets added before post content.
$post_idintID of post we are summarizing.
$excerpt_lengthintLength of final excerpt.

Since

  • 3.0.0

Source

Defined in includes/Classifai/Providers/GoogleAI/GeminiAPI.php at line 241

Returns

Prompt.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.