Skip to main content

Action: classifai_azure_openai_embeddings_post_sort_embeddings_similarity

Fires after the embeddings similarity has been run and sorted.

Parameters

NameTypeDescription
$sorted_resultsarrayThe sorted embeddings similarity results.
$embeddings_similarityarrayThe embeddings similarity results.
$post_idintID of post to set terms on.
$embeddingsarrayEmbeddings data.
$linkboolWhether to link the terms or not.

Since

  • 3.3.1

Source

Defined in includes/Classifai/Providers/Azure/Embeddings.php at line 533

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.