-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Maximal Marginal Relevance method to MongoDBAtlasVectorSearch (#…
…2071) * Refactored MongoDBAtlasVectorSearch to use abstract similaritySearchVectorWithScore for MMR Co-authored-by: Simone DM <simone.dellamarca@mongodb.com> * Fixed formatting * Fixed formatting * Fixed formatting * Added optional maxMarginalRelevanceSearch method to base vectorstore * Change max marginal relevance args * Docs --------- Co-authored-by: Simone DM <simone.dellamarca@mongodb.com> Co-authored-by: jacoblee93 <jacoblee93@gmail.com>
- Loading branch information
1 parent
66ec957
commit 96c9fe5
Showing
3 changed files
with
151 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
96c9fe5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
langchainjs-docs – ./
langchainjs-docs-ruddy.vercel.app
langchainjs-docs-git-main-langchain.vercel.app
langchainjs-docs-langchain.vercel.app
js.langchain.com