Skip to main content

Filter: classifai_openai_embeddings_should_classify

Filter whether ClassifAI should classify an item.

Default is true, return false to skip classifying.

Parameters

NameTypeDescription
$should_classifyboolWhether the item should be classified. Default true, return false to skip.
$idintThe ID of the item to be considered for classification.
$typestringThe type of item to be considered for classification.

Since

  • 2.2.0

Source

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

Returns

Whether the item should be classified.

Ready to Get Started?

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