Filter: classifai_azure_openai_embeddings_max_terms

apply_filters( 'classifai_azure_openai_embeddings_max_terms', $terms ) → {int}

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:
Name Type Description
$terms int

The default maximum terms.

Since:
  • 3.1.0
Source:
Returns:

The maximum terms.

Type
int