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
Eugene Yurtsev f92006de3c
multiple: langchain 0.2 in master (#21191)
0.2rc 

migrations

- [x] Move memory
- [x] Move remaining retrievers
- [x] graph_qa chains
- [x] some dependency from evaluation code potentially on math utils
- [x] Move openapi chain from `langchain.chains.api.openapi` to
`langchain_community.chains.openapi`
- [x] Migrate `langchain.chains.ernie_functions` to
`langchain_community.chains.ernie_functions`
- [x] migrate `langchain/chains/llm_requests.py` to
`langchain_community.chains.llm_requests`
- [x] Moving `langchain_community.cross_enoders.base:BaseCrossEncoder`
->
`langchain_community.retrievers.document_compressors.cross_encoder:BaseCrossEncoder`
(namespace not ideal, but it needs to be moved to `langchain` to avoid
circular deps)
- [x] unit tests langchain -- add pytest.mark.community to some unit
tests that will stay in langchain
- [x] unit tests community -- move unit tests that depend on community
to community
- [x] mv integration tests that depend on community to community
- [x] mypy checks

Other todo

- [x] Make deprecation warnings not noisy (need to use warn deprecated
and check that things are implemented properly)
- [x] Update deprecation messages with timeline for code removal (likely
we actually won't be removing things until 0.4 release) -- will give
people more time to transition their code.
- [ ] Add information to deprecation warning to show users how to
migrate their code base using langchain-cli
- [ ] Remove any unnecessary requirements in langchain (e.g., is
SQLALchemy required?)

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
5 months ago
..
agent_toolkits community[patch]: import flattening fix (#20110) 5 months ago
agents multiple: langchain 0.2 in master (#21191) 5 months ago
callbacks community[minor]: add UpTrainCallbackHandler (#19956) 5 months ago
chains multiple: langchain 0.2 in master (#21191) 5 months ago
chat_loaders community[patch]: import flattening fix (#20110) 5 months ago
chat_message_histories core[patch],community[patch]: Move file chat history back to community (#20834) 5 months ago
chat_models premai[patch]:Standardized model init args (#21308) 5 months ago
cross_encoders community[patch]: `cross_encoders` flatten namespaces (#20183) 6 months ago
data multiple: langchain 0.2 in master (#21191) 5 months ago
docstore community[patch]: import flattening fix (#20110) 5 months ago
document_compressors community[mionr]: add Jina Reranker in retrievers module (#19406) 5 months ago
document_loaders community[minor]: Oraclevs integration (#21123) 5 months ago
document_transformers community[patch]: import flattening fix (#20110) 5 months ago
embeddings community: add SambaNova embeddings integration (#21227) 5 months ago
examples community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
graphs community[minor]: add graph store implementation for apache age (#20582) 5 months ago
indexes community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
llms community: minor changes sambanova integration (#21231) 5 months ago
query_constructors multiple: langchain 0.2 in master (#21191) 5 months ago
retrievers multiple: langchain 0.2 in master (#21191) 5 months ago
storage community[patch]: import flattening fix (#20110) 5 months ago
tools community[minor]: add mojeek search util (#20922) 5 months ago
utilities community[minor]: Oraclevs integration (#21123) 5 months ago
utils community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
vectorstores community[patch]: Fix in memory vectorstore to take into account ids when adding docs (#21384) 5 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
conftest.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_cache.py multiple: langchain 0.2 in master (#21191) 5 months ago
test_dependencies.py multiple: langchain 0.2 in master (#21191) 5 months ago
test_document_transformers.py multiple: langchain 0.2 in master (#21191) 5 months ago
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 9 months ago
test_sql_database.py community[minor]: Add lazy_table_reflection param to SqlDatabase (#18742) 7 months ago
test_sql_database_schema.py infra: mv SQLDatabase tests to community (#17276) 8 months ago
test_sqlalchemy.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago