Skip to main content

Filter: classifai_ollama_content_prompt

Filter the prompt we will send to Ollama.

Parameters​

NameTypeDescription
$promptstringPrompt we are sending to Ollama. Gets added before summary.
$post_idintID of post.
$argsarrayArguments passed to endpoint.

Since​

  • 3.4.0

Source​

Defined in includes/Classifai/Providers/Localhost/Ollama.php at line 726

Returns​

Prompt.

Ready to Get Started?

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