Updated MPPTextEmbedder Documentation

This commit is contained in:
Prianka Liz Kariat 2023-02-03 12:49:00 +05:30
parent 6ca1efdd55
commit a512e6b5f5

View File

@ -102,7 +102,6 @@ NS_SWIFT_NAME(TextEmbedder)
+ (nullable NSNumber *)cosineSimilarityBetweenEmbedding1:(MPPEmbedding *)embedding1 + (nullable NSNumber *)cosineSimilarityBetweenEmbedding1:(MPPEmbedding *)embedding1
andEmbedding2:(MPPEmbedding *)embedding2 andEmbedding2:(MPPEmbedding *)embedding2
error:(NSError **)error NS_SWIFT_NAME(cosineSimilarity(embedding1:embedding2:)); error:(NSError **)error NS_SWIFT_NAME(cosineSimilarity(embedding1:embedding2:));
// NS_SWIFT_NAME(cosineSimilarity(embedding1: embedding2:));
+ (instancetype)new NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE;