From fa6468ff229d5092e9b559f2db324f2d46b8a1f0 Mon Sep 17 00:00:00 2001 From: angus-langchain Date: Thu, 23 Jan 2025 13:39:25 -0800 Subject: [PATCH] Revert "Revert "Point chat-langchain at go multipart endpoint (#409)" (#410)" (#411) This reverts commit a1856a7c9524828bc378f3ed211ce23777aa1556. --- poetry.lock | 42 +++++++++++++++++++++--------------------- pyproject.toml | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/poetry.lock b/poetry.lock index 9928fdae..10802f00 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1500,20 +1500,20 @@ files = [ [[package]] name = "langchain" -version = "0.3.13" +version = "0.3.15" description = "Building applications with LLMs through composability" optional = false python-versions = "<4.0,>=3.9" files = [ - {file = "langchain-0.3.13-py3-none-any.whl", hash = "sha256:dd3549a28dc28b5d4769122b60fad0890aee86928d1bdbba3f9349d9f023315d"}, - {file = "langchain-0.3.13.tar.gz", hash = "sha256:3d618a8e7e496704dc4407d224218ff28baf9416c1241e7bdcdd117e6c70daa8"}, + {file = "langchain-0.3.15-py3-none-any.whl", hash = "sha256:2657735184054cae8181ac43fce6cbc9ee64ca81a2ad2aed3ccd6e5d6fe1f19f"}, + {file = "langchain-0.3.15.tar.gz", hash = "sha256:1204d67f8469cd8da5621d2b39501650a824d4c0d5a74264dfe3df9a7528897e"}, ] [package.dependencies] aiohttp = ">=3.8.3,<4.0.0" -langchain-core = ">=0.3.26,<0.4.0" +langchain-core = ">=0.3.31,<0.4.0" langchain-text-splitters = ">=0.3.3,<0.4.0" -langsmith = ">=0.1.17,<0.3" +langsmith = ">=0.1.17,<0.4" numpy = [ {version = ">=1.22.4,<2", markers = "python_version < \"3.12\""}, {version = ">=1.26.2,<3", markers = "python_version >= \"3.12\""}, @@ -1565,22 +1565,22 @@ langchain-community = ["langchain-community (>=0.3.0,<0.4.0)"] [[package]] name = "langchain-community" -version = "0.3.13" +version = "0.3.15" description = "Community contributed LangChain integrations." optional = false python-versions = "<4.0,>=3.9" files = [ - {file = "langchain_community-0.3.13-py3-none-any.whl", hash = "sha256:d6f623d59d44ea85b9cafac8ca6e9970c343bf892a9a3252b3f25e30df339be2"}, - {file = "langchain_community-0.3.13.tar.gz", hash = "sha256:8abe05b4ab160018dbd368f7b4dc79ef6a66178a461b47c4ce401d430337e0c2"}, + {file = "langchain_community-0.3.15-py3-none-any.whl", hash = "sha256:5b6ac359f75922a826566f94eb9a9b5c763cc78f395f0baf2f5638e62fdae1dd"}, + {file = "langchain_community-0.3.15.tar.gz", hash = "sha256:c2fee46a0ea1b94c475bd4263edb53d5615dbe37c5263480bf55cb8e465ac235"}, ] [package.dependencies] aiohttp = ">=3.8.3,<4.0.0" dataclasses-json = ">=0.5.7,<0.7" httpx-sse = ">=0.4.0,<0.5.0" -langchain = ">=0.3.13,<0.4.0" -langchain-core = ">=0.3.27,<0.4.0" -langsmith = ">=0.1.125,<0.3" +langchain = ">=0.3.15,<0.4.0" +langchain-core = ">=0.3.31,<0.4.0" +langsmith = ">=0.1.125,<0.4" numpy = [ {version = ">=1.22.4,<2", markers = "python_version < \"3.12\""}, {version = ">=1.26.2,<3", markers = "python_version >= \"3.12\""}, @@ -1593,18 +1593,18 @@ tenacity = ">=8.1.0,<8.4.0 || >8.4.0,<10" [[package]] name = "langchain-core" -version = "0.3.28" +version = "0.3.31" description = "Building applications with LLMs through composability" optional = false python-versions = "<4.0,>=3.9" files = [ - {file = "langchain_core-0.3.28-py3-none-any.whl", hash = "sha256:a02f81ca53a8eed757133797e5a602ca80c1324bbecb0c5d86ef7bd3d6625372"}, - {file = "langchain_core-0.3.28.tar.gz", hash = "sha256:407f7607e6b3c0ebfd6094da95d39b701e22e59966698ef126799782953e7f2c"}, + {file = "langchain_core-0.3.31-py3-none-any.whl", hash = "sha256:882e64ad95887c951dce8e835889e43263b11848c394af3b73e06912624bd743"}, + {file = "langchain_core-0.3.31.tar.gz", hash = "sha256:5ffa56354c07de9efaa4139609659c63e7d9b29da2c825f6bab9392ec98300df"}, ] [package.dependencies] jsonpatch = ">=1.33,<2.0" -langsmith = ">=0.1.125,<0.3" +langsmith = ">=0.1.125,<0.4" packaging = ">=23.2,<25" pydantic = [ {version = ">=2.5.2,<3.0.0", markers = "python_full_version < \"3.12.4\""}, @@ -1774,13 +1774,13 @@ orjson = ">=3.10.1" [[package]] name = "langsmith" -version = "0.2.10" +version = "0.3.1rc1" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." optional = false python-versions = "<4.0,>=3.9" files = [ - {file = "langsmith-0.2.10-py3-none-any.whl", hash = "sha256:b02f2f174189ff72e54c88b1aa63343defd6f0f676c396a690c63a4b6495dcc2"}, - {file = "langsmith-0.2.10.tar.gz", hash = "sha256:153c7b3ccbd823528ff5bec84801e7e50a164e388919fc583252df5b27dd7830"}, + {file = "langsmith-0.3.1rc1-py3-none-any.whl", hash = "sha256:3cb5bba02ae26d8efd40a27b4c498544d33b3abec8c17b46d69f458c8593e496"}, + {file = "langsmith-0.3.1rc1.tar.gz", hash = "sha256:a21ca745c5014973eb7ec33142758ebde06bbe34f374915f5bb99fe080eb194c"}, ] [package.dependencies] @@ -1793,11 +1793,11 @@ pydantic = [ ] requests = ">=2,<3" requests-toolbelt = ">=1.0.0,<2.0.0" -zstandard = {version = ">=0.23.0,<0.24.0", optional = true, markers = "extra == \"compression\""} +zstandard = ">=0.23.0,<0.24.0" [package.extras] -compression = ["zstandard (>=0.23.0,<0.24.0)"] langsmith-pyo3 = ["langsmith-pyo3 (>=0.1.0rc2,<0.2.0)"] +pytest = ["pytest (>=7.0.0)", "rich (>=13.9.4,<14.0.0)"] [[package]] name = "langsmith-pyo3" @@ -3980,4 +3980,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "953da6f5b2b2a33801a04e52082b6eb7cd539987954001dbabc60af6198ebcfc" +content-hash = "572ac14a45a33855cf2fbbdf10ad690d92b7e93c362eca859b6061610e6c4574" diff --git a/pyproject.toml b/pyproject.toml index e28b287b..187573be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ packages = [{ include = "backend" }] [tool.poetry.dependencies] python = "^3.11" langchain = ">=0.3.0,<0.4.0" -langsmith = { version = "0.2.10", extras = ["langsmith-pyo3", "compression"] } +langsmith = { version = "0.3.1rc1", extras = ["langsmith-pyo3"] } langchain-cohere = ">=0.3.0,<0.4.0" langchain-google-genai = ">=2.0.0,<3.0.0" langchain-core = ">=0.3.10,<0.4.0"