Updated MPPTextEmbedder Documentation

This commit is contained in:
Prianka Liz Kariat 2023-02-03 12:48:06 +05:30
parent 20002f191a
commit 6ca1efdd55

View File

@ -86,7 +86,8 @@ NS_SWIFT_NAME(TextEmbedder)
- (instancetype)init NS_UNAVAILABLE; - (instancetype)init NS_UNAVAILABLE;
/** Utility function to compute[cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity) /**
* Utility function to compute[cosine similarity](https://en.wikipedia.org/wiki/Cosine_similarity)
* between two `MPPEmbedding` objects. * between two `MPPEmbedding` objects.
* *
* @param embedding1 One of the two `MPPEmbedding`s between whom cosine similarity is to be * @param embedding1 One of the two `MPPEmbedding`s between whom cosine similarity is to be