Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
MLWordEmbedding
In the same vein - the sample code uses the line
`self.cosineDistance(vector, queryVector)'
which doesn't correlate to anything that intellisence offers.
I am able to determine the distance between two strings directly with ' embedding.distance(between: string1, and: string2)' - but this is inefficient because I am ending up repeatedly recalculating the vectors for the sentence embeddings for the text corpus.