langchain/libs
volodymyr-memsql 493afe4d8d
community[patch]: add hybrid search to singlestoredb vectorstore (#20793)
Implemented the ability to enable full-text search within the
SingleStore vector store, offering users a versatile range of search
strategies. This enhancement allows users to seamlessly combine
full-text search with vector search, enabling the following search
strategies:

* Search solely by vector similarity.
* Conduct searches exclusively based on text similarity, utilizing
Lucene internally.
* Filter search results by text similarity score, with the option to
specify a threshold, followed by a search based on vector similarity.
* Filter results by vector similarity score before conducting a search
based on text similarity.
* Perform searches using a weighted sum of vector and text similarity
scores.

Additionally, integration tests have been added to comprehensively cover
all scenarios.
Updated notebook with examples.

CC: @baskaryan, @hwchase17

---------

Co-authored-by: Volodymyr Tkachuk <vtkachuk-ua@singlestore.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-04-24 21:34:50 +00:00
..
cli templates: readme langsmith not private beta (#20173) 2024-04-12 13:08:10 -07:00
community community[patch]: add hybrid search to singlestoredb vectorstore (#20793) 2024-04-24 21:34:50 +00:00
core docs, multiple: de-beta with_structured_output (#20850) 2024-04-24 19:34:57 +00:00
experimental experimental[minor]: upgrade the prompt injection model (#20783) 2024-04-23 10:23:39 -04:00
langchain core[minor],langchain[patch]: Move base indexing interface and logic to core (#20667) 2024-04-24 13:18:42 -04:00
partners docs, multiple: de-beta with_structured_output (#20850) 2024-04-24 19:34:57 +00:00
standard-tests standard-tests: split tool calling test (#20803) 2024-04-23 20:59:45 +00:00
text-splitters text-splitters[minor]: Add lua code splitting (#20421) 2024-04-13 22:42:51 +00:00