-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UserWarning: Relevance scores must be between 0 and 1 #19
Comments
This one might also be interesting, because it discusses potential similar [sic!] woes with other vector stores. At least, it tells us that not every store is getting it right from the very beginning, wrt. what LangChain or other applications might want or expect. |
Hi. CrateDB 5.8.0 added a |
We are addressing this leftover issue on the upstream patch now. |
About
When running the test cases, there is a warning now. Most probably, it has been introduced by changing the style of the similarity search query through GH-15, which in turn changed the value range of the returned CrateDB-native
_score
values.Evaluation
CrateDB's
_score
values are computed by CrateDB on behalf of different criteria of the input SQL query expression, execution plan, or actual execution. In this manner, they don't directly convey any useful information about the actual vector search similarity distance.Suggestion
Use a corresponding function provided by CrateDB to compute the similarity distance independently of the CrateDB-native
_score
value./cc @ckurze, @seut, @matriv
The text was updated successfully, but these errors were encountered: