From 85fad769dad7feee758f80de94c3d21187b81ef5 Mon Sep 17 00:00:00 2001 From: Evan Lin Date: Wed, 8 Nov 2023 16:38:04 +0800 Subject: [PATCH] Update requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 requirements.txt 文件中,你可以指定 pydantic 的版本。根據你的需求和衝突,你需要 pydantic 版本在 2.0.3 以上但小於 3,你也需要 line-bot-sdk 3.5.0。 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 98e6c7f..cde27b8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ uvicorn[standard] langchain==0.0.303 embedchain==0.0.92 openai==0.28.1 -pydantic==1.10.10 +pydantic>=2.0.3,<3 embedchain[dataloaders]