-
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
all semantic search items will have a score of 0 #17
Comments
@johnqiuwan Thanks for reaching out! Could you provide more details on the problem and some reproducable code example? |
Thank you for the quick reply! Sample code to process the semantic search
Context:
Already checked:
Problem: Expected behavior Versions:
Additional context |
Does any updates on this @vladvildanov , thank you |
@johnqiuwan By default Redis calculates scores based on terms frequency and it's occurrences in the document. Could you try to use other scorers available by default in Redis? It feels like it's something related to server-side https://redis.io/docs/latest/develop/interact/search-and-query/advanced-concepts/scoring/ |
Thank you for the updates! I have looked the doc from the link you gave, but I am still not make sure why all return items has score of 0. It seems to me is a bug, but the items will update if the embedding updated. This is kind of strange to me , lol I am appreciated your time and your amazing work. |
Thank you so much! Let me know if you find something or feel free to contribute 👌 |
Hello there, I'm facing the same issue, with pretty much the same schema than you @johnqiuwan. I've tried as you said @vladvildanov to force another scorer than default TFIDF, but I'm still getting 0 as result. BTW, this could be an idea for improving your library, just adding a scorer parameter to the
It would allow user to set a different scorer. Anyway, as a workaround I was able to retrieve the
The difference is that the lower the vector_score is, the closer the sentence is to the result. Hope this could help! And thanks for your work @vladvildanov |
@tfortin Thank you for your feedback! I will take a look in near time |
I have followed the doc to do the Realtime search query. The setup is smooth, and the query has no error.
However, I noticed that all the result of the semantic search query items will have a score of 0
Is that normal ?
The text was updated successfully, but these errors were encountered: