Add distance:
parameter to the similarity_search()
and similarity_search_by_vector()
#249
Labels
thoughtbot-open-summit-2024
https://thoughtbot.com/events/open-summit
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
Langchain::Vectorsearch::Base#similarity_search_by_vector()
to acceptdistance:
.The text was updated successfully, but these errors were encountered: