From 14313b5fb4b51f0abef378a680a15f0af12c43f1 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Thu, 21 Mar 2024 18:25:11 -0600 Subject: [PATCH] fix langchain deps see (https://github.com/langchain-ai/langchain/issues/18996) --- pyproject.toml | 7 ++++--- requirements.txt | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f41b3db3..2c3c2e63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,14 +30,15 @@ transformers = "*" asyncio = ">=3.4.3,<4.0" einops = "0.7.0" google-generativeai = "0.3.1" -langchain-experimental = "0.0.10" -langchain-community = "0.0.29" +langchain-core==0.1.22 +langchain-community==0.0.20 +langsmith==0.0.87 +langchain-openai==0.0.5 faiss-cpu = "1.7.4" backoff = "2.2.1" datasets = "*" optimum = "1.15.0" diffusers = "*" -langchain = "0.1.7" toml = "*" pypdf = "4.0.1" accelerate = "*" diff --git a/requirements.txt b/requirements.txt index c7ac8bcb..b5301e7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,10 @@ torch==2.1.1 transformers pandas -langchain==0.1.7 -langchain-experimental +langchain-core==0.1.22 +langchain-community==0.0.20 +langsmith==0.0.87 +langchain-openai==0.0.5 httpx==0.24.1 Pillow==9.4.0 datasets==2.14.5 @@ -21,7 +23,6 @@ addict backoff==2.2.1 ratelimit==2.2.1 termcolor==2.2.0 -langchain-community timm torchvision==0.16.1 rich==13.5.2