Skip to content

Weaviate's cosine similarity vs cosine distance #825

@anna-charlotte

Description

@anna-charlotte

I think, as of right now we mix up cosine similarity and cosine distance in here.
In docarray/array/storage/weaviate/find.py in FindMixin._find_similar_vectors cosine_similarity is set as follows:

image

As far as I understood, we need to follow one of the two:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions