Action: classifai_azure_openai_embeddings_single_embedding_similarity
Fires after the embeddings similarity has been run for a single chunk.
Parameters
| Name | Type | Description |
|---|---|---|
| $similarity | `bool | float` |
| $embedding | array | Post embedding data. |
| $chunk | array | Term chunk embedding data. |
| $term_id | int | ID of term we're comparing. |
| $tax | string | Taxonomy of term. |
| $consider_threshold | bool | Whether to consider the threshold or not. |
Since
- 3.3.1
Source
Defined in includes/Classifai/Providers/Azure/Embeddings.php at line 716