langchain/libs/community/tests/integration_tests
fayvor 3b956b3a97
community: Update Replicate LLM and fix tests (#27655)
**Description:** 
- Fix bug in Replicate LLM class, where it was looking for parameter
names in a place where they no longer exist in pydantic 2, resulting in
the "Field required" validation error described in the issue.
- Fix Replicate LLM integration tests to:
  - Use active models on Replicate.
- Use the correct model parameter `max_new_tokens` as shown in the
[Replicate
docs](https://replicate.com/docs/guides/language-models/how-to-use#minimum-and-maximum-new-tokens).
  - Use callbacks instead of deprecated callback_manager.

**Issue:** #26937 

**Dependencies:** n/a

**Twitter handle:** n/a

---------

Signed-off-by: Fayvor Love <fayvor@gmail.com>
Co-authored-by: Chester Curme <chester.curme@gmail.com>
2024-10-30 16:07:08 +00:00
..
adapters all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
agent community[patch]: Release 0.2.11 (#24989) 2024-08-02 20:08:44 +00:00
cache community: add SingleStoreDB semantic cache (#23218) 2024-07-05 09:26:06 -04:00
callbacks infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
chains all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
chat_message_histories infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
chat_models community: Add Naver chat model & embeddings (#25162) 2024-10-24 20:54:13 +00:00
cross_encoders langchain[minor], community[minor]: add CrossEncoderReranker with HuggingFaceCrossEncoder and SagemakerEndpointCrossEncoder (#13687) 2024-03-31 20:51:31 +00:00
document_compressors community[minor]: add Volcengine Rerank (#22700) 2024-06-10 13:41:05 -07:00
document_loaders community[patch]: add to pypdf tests and run in CI (#26663) 2024-09-19 14:45:49 +00:00
document_transformers infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
embeddings all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
examples community: support advanced text extraction options for pdf documents (#20265) 2024-07-17 20:47:09 +00:00
graph_vectorstores community: Cassandra Vector Store: modernize implementation (#27253) 2024-10-22 18:11:11 +00:00
graphs Sanitize backticks from neo4j labels and types for import (#23367) 2024-06-24 19:05:31 +00:00
indexes multiple: rely on asyncio_mode auto in tests (#27200) 2024-10-15 16:26:38 +00:00
llms community: Update Replicate LLM and fix tests (#27655) 2024-10-30 16:07:08 +00:00
memory infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
prompts multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
retrievers multiple: rely on asyncio_mode auto in tests (#27200) 2024-10-15 16:26:38 +00:00
smith/evaluation multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
storage multiple: rely on asyncio_mode auto in tests (#27200) 2024-10-15 16:26:38 +00:00
tools community[patch]: Add missing annotations (#24890) 2024-07-31 18:13:44 +00:00
utilities multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
vectorstores all: test 3.13 ci (#27197) 2024-10-25 12:56:58 -07:00
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
.env.example community: add support for 'cloud' parameter in JiraAPIWrapper (#23057) 2024-07-05 15:11:10 +00:00
conftest.py infra: Use dotenv in langchain-community's integration tests (#16137) 2024-01-17 18:18:26 -08:00
test_compile.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_dalle.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_document_transformers.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_long_context_reorder.py community[patch]: deprecate langchain_community Chroma in favor of langchain_chroma (#24474) 2024-07-22 11:00:13 -04:00
test_nuclia_transformer.py multiple: langchain 0.2 in master (#21191) 2024-05-08 16:46:52 -04:00
test_pdf_pagesplitter.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00