do_action( 'classifai_ollama_embeddings_pre_sort_embeddings_similarity', $embeddings_similarity, $post_id, $embeddings, $link )
Fires after the embeddings similarity has been run but before results are sorted.
Parameters:
Name | Type | Description |
---|---|---|
$embeddings_similarity |
array | The embeddings similarity results. |
$post_id |
int | 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: