Filter: classifai_openai_embeddings_should_classify
Filter whether ClassifAI should classify an item.
Default is true, return false to skip classifying.
Parameters
| Name | Type | Description |
|---|---|---|
| $should_classify | bool | Whether the item should be classified. Default true, return false to skip. |
| $id | int | The ID of the item to be considered for classification. |
| $type | string | The type of item to be considered for classification. |
Since
- 2.2.0
Source
- Defined in
includes/Classifai/Providers/OpenAI/Embeddings.phpat line 626 - Defined in
includes/Classifai/Providers/OpenAI/Embeddings.phpat line 1414
Returns
Whether the item should be classified.