Skip to content
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

fix(pgvector): similarity_search should return embeddings ordered by distance #275

Open
b0xtch opened this issue Dec 25, 2024 · 0 comments

Comments

@b0xtch
Copy link

b0xtch commented Dec 25, 2024

Describe the bug
The similarity search does not return the correct results, rather it returns DESC which don't make sense.

This PR seems to be the culprit, I reverted and am now getting the correct answers.
#224

To Reproduce
Steps to reproduce the behavior:

  1. Run one of the postgres examples you wont get the most relevant or closest response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant