-
Would someone know, if there is a part of documentation that would be able to explain the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You should learn some knowledge about VectorSearch The score represents the similarity of the vectors. The similarity is measured by the score calculated by L2 (Euclidean distance), IP (inner product) or COSINE (cosine similarity). The output parameter score represents the similarity calculation score. |
Beta Was this translation helpful? Give feedback.
-
Thanks for clarifying this @CrazyWr! I assume |
Beta Was this translation helpful? Give feedback.
-
I'm not sure about this, I think it depends on which VectorStore you use, as far as I know Azure, pgvector, chroma use L2 by default |
Beta Was this translation helpful? Give feedback.
You should learn some knowledge about VectorSearch
The score represents the similarity of the vectors. The similarity is measured by the score calculated by L2 (Euclidean distance), IP (inner product) or COSINE (cosine similarity). The output parameter score represents the similarity calculation score.
Among them, the smaller the score calculated by Euclidean distance (L2), the more similar the search value is; while the larger the score calculated by cosine similarity (COSINE) and inner product (IP), the more similar the search value is.