Return matches above a similarity score? #32625
-
Hi... I'm progressing on using Milvus in my course materials (using Java). I have a question about filtering the responses based on the similarity score. I can easily return the (at most) top N matches. Still, I need to return the (at most) top N matches with similarity scores above a threshold (eg, .80). I know I can filter on a column, but I couldn't find info on how to filter on the similarity score. I certainly can do this manually, but I wanted to know if Milvus had this capability inherently. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I discovered withParms() and now trying to decipher the docs on what "radius of a search circle" means... I'm good for now, but just a suggestion to have someone review your docs for clarity. |
Beta Was this translation helpful? Give feedback.
"give me results that are 90% similar to my embedding vector" ------------------ I think it is hard to determine the meaning of "90% similar".
For L2 metric, how do you define similarity by percent? The distance range is unlimited: [0.0, +∞], then what is "90% similar"? From 0.0 to 1000? Or 0.0 to 99999?
For IP/COSINE metric, yes the range is limited, can we say [0.8, 1.0] is "90% similar"?