mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
afa2d85405
- Description: Added missing `from_documents` method to `KNNRetriever`, providing the ability to supply metadata to LangChain `Document`s, and to give it parity to the other retrievers, which do have `from_documents`. - Issue: None - Dependencies: None - Twitter handle: None Co-authored-by: Victor Adan <vadan@netroadshow.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> |
||
---|---|---|
.. | ||
document_compressors | ||
__init__.py | ||
test_base.py | ||
test_bm25.py | ||
test_imports.py | ||
test_knn.py | ||
test_remote_retriever.py | ||
test_svm.py | ||
test_tfidf.py | ||
test_you.py |