You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Sky 12d65f17ff
community[patch]: surrealdb provide functions for MMR (Maximal Marginal Relevance) (#21185)
This PR contains 4 added functions:

- max_marginal_relevance_search_by_vector
- amax_marginal_relevance_search_by_vector
- max_marginal_relevance_search
- amax_marginal_relevance_search

I'm no langchain expert, but tried do inspect other vectorstore sources
like chroma, to build these functions for SurrealDB. If someone has some
changes for me, please let me know. Otherwise I would be happy, if these
changes are added to the repository, so that I can use the orignal repo
and not my local monkey patched version.

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
4 months ago
..
cli infra: rm unused # noqa violations (#22049) 4 months ago
community community[patch]: surrealdb provide functions for MMR (Maximal Marginal Relevance) (#21185) 4 months ago
core infra: rm unused # noqa violations (#22049) 4 months ago
experimental infra: rm unused # noqa violations (#22049) 4 months ago
langchain infra: rm unused # noqa violations (#22049) 4 months ago
partners infra: rm unused # noqa violations (#22049) 4 months ago
standard-tests core, standard tests, partner packages: add test for model params (#21677) 4 months ago
text-splitters text-splitters[patch]: Extend TextSplitter:keep_separator functionality (#21130) 4 months ago