Action: classifai_openai_embeddings_post_sort_embeddings_similarity
Fires after the embeddings similarity has been run and sorted.
Parameters
| Name | Type | Description |
|---|---|---|
| $sorted_results | array | The sorted embeddings similarity results. |
| $embeddings_similarity | array | The embeddings similarity results. |
| $ | \intpost_id | ID of post to set terms on. |
| $embeddings | array | Embeddings data. |
| $link | bool | Whether to link the terms or not. |
Since
- 3.3.1
Source
Defined in includes/Classifai/Providers/OpenAI/Embeddings.php at line 754