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>
2024-04-22 11:14:53 -04:00
..
document_compressors community[patch]: remove llmlingua extended tests (#18344) 2024-02-29 13:51:29 -08:00
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_base.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
test_bm25.py Community[Patch] Remove docs form bm25 repr (#16110) 2024-01-17 00:00:55 -08:00
test_imports.py community[minor]: Added integrations for ThirdAI's NeuralDB as a Retriever (#17334) 2024-04-16 16:36:55 -07:00
test_knn.py community[patch]: Added missing from_documents method to KNNRetriever. (#18411) 2024-03-28 23:18:50 +00:00
test_remote_retriever.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
test_svm.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00
test_tfidf.py community[patch]: Patch tdidf retriever (CVE-2024-2057) (#18695) 2024-03-06 15:49:04 -05:00
test_you.py patch: deprecate (a)get_relevant_documents (#20477) 2024-04-22 11:14:53 -04:00