Skip to content

OpenAI.Embedding.DistanceFrom

Andrew Lambert edited this page Jan 21, 2024 · 2 revisions

OpenAI.Embedding.DistanceFrom

Method signature

 Function DistanceFrom(OtherEmbedding As OpenAI.Embedding) As Double

Remarks

Compares this embedding to the other embedding. Returns a Double between -1.0 and +1.0 where +1.0 means completely identical and -1.0 means completely different.

Clone this wiki locally