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/community/tests/unit_tests/retrievers
ccurme c010ec8b71
patch: deprecate (a)get_relevant_documents (#20477)
- `.get_relevant_documents(query)` -> `.invoke(query)`
- `.get_relevant_documents(query=query)` -> `.invoke(query)`
- `.get_relevant_documents(query, callbacks=callbacks)` ->
`.invoke(query, config={"callbacks": callbacks})`
- `.get_relevant_documents(query, **kwargs)` -> `.invoke(query,
**kwargs)`

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
5 months ago
..
document_compressors community[patch]: remove llmlingua extended tests (#18344) 7 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_base.py patch: deprecate (a)get_relevant_documents (#20477) 5 months ago
test_bm25.py Community[Patch] Remove docs form bm25 repr (#16110) 8 months ago
test_imports.py community[minor]: Added integrations for ThirdAI's NeuralDB as a Retriever (#17334) 5 months ago
test_knn.py community[patch]: Added missing from_documents method to KNNRetriever. (#18411) 6 months ago
test_remote_retriever.py patch: deprecate (a)get_relevant_documents (#20477) 5 months ago
test_svm.py patch: deprecate (a)get_relevant_documents (#20477) 5 months ago
test_tfidf.py community[patch]: Patch tdidf retriever (CVE-2024-2057) (#18695) 7 months ago
test_you.py patch: deprecate (a)get_relevant_documents (#20477) 5 months ago