Set cosine similary as default for Milvus

Created on 4 June 2024, 7 months ago
Updated 4 July 2024, 6 months ago

Problem/Motivation

Currently the Milvus database is using Euclidean distance when checking for similarity, while the pg_vector and pinecone is using cosine similarity. This causes some confusion, since it creates very different results.

In the future adding options to run whichever you choose should be possible since they all have their use cases, but for now its good if they are consistent at least.

Steps to reproduce

Proposed resolution

Set the Milvus collection creation to be cosine similarity by default.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024