Filter: classifai_threshold
Filter the threshold for the similarity calculation.
Parameters
| Name | Type | Description |
|---|---|---|
| $threshold | float | The threshold to use. |
| $taxonomy | string | The taxonomy to get the threshold for. |
Since
- 2.5.0
Source
- Defined in
includes/Classifai/Providers/OpenAI/Embeddings.phpat line 462 - Defined in
includes/Classifai/Providers/Localhost/OllamaEmbeddings.phpat line 356 - Defined in
includes/Classifai/Providers/Azure/Embeddings.phpat line 344
Returns
The threshold to use.