forked from langchain-ai/langchainjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Feat: Added Retriever Callbacks (langchain-ai#1990)
* init retriever callbacks * fixed a bunch of namings * fixed lc_namespaces * fixed parameters for vectorstore function calls to add callbacks * changed secrets * fixed lc serializable values * fixed lc_namespace in BaseRetriever * fixed hyde lc_namespace * fix namespaces * added tests, added retriever callbacks to tracer. * added clients to serialization. prolly handle later. * added auth bearer to lc_secrets in base remote retriever * update import_type * fixed linting * Adds retriever callback handlers to LangChain tracer * fixed naming, delete comment * changed time_weighted getSalientDocuments parameter type from callbacks to run parameter. Changed base retriever _getRelevantDocuments to regular function that throws not implemented * Remove unnecessary overrides, change comment * Tag vector store retriever callbacks with vector store type * Remove stray .only * Fix build --------- Co-authored-by: jacoblee93 <[email protected]>
- Loading branch information
1 parent
4b3111b
commit 460e110
Showing
65 changed files
with
977 additions
and
99 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
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
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
Oops, something went wrong.