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