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

Add distance: parameter to the similarity_search() and similarity_search_by_vector() #249

Open
1 task
andreibondarev opened this issue Jul 11, 2023 · 0 comments
Labels
thoughtbot-open-summit-2024 https://thoughtbot.com/events/open-summit

Comments

@andreibondarev
Copy link
Collaborator

andreibondarev commented Jul 11, 2023

Description

We'd like to be able to specify distance threshold when executing similarity search. The vector search systems should not be returning records that do not match the threshold.

Tasks

  • Allow Langchain::Vectorsearch::Base#similarity_search_by_vector() to accept distance:.
@andreibondarev andreibondarev added the thoughtbot-open-summit-2024 https://thoughtbot.com/events/open-summit label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
thoughtbot-open-summit-2024 https://thoughtbot.com/events/open-summit
Projects
None yet
Development

No branches or pull requests

1 participant