Skip to main content

Filter: classifai_openai_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
$this->max_termsintThe default maximum terms.

Since

  • 3.1.0

Source

Defined in includes/Classifai/Providers/OpenAI/Embeddings.php at line 217

Returns

The maximum terms.

Ready to Get Started?

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