Skip to main content

Filter: classifai_ollama_embeddings_max_terms

Filter the max number of terms.

Default for this is 5000 but this filter can be used to change this, either decreasing to help with performance or increasing to ensure we consider more terms.

Parameters

NameTypeDescription
$termsintThe default maximum terms.

Since

  • 3.3.0

Source

Defined in includes/Classifai/Providers/Localhost/OllamaEmbeddings.php at line 201

Returns

The maximum terms.

Ready to Get Started?

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