From cfb08bb11a86ba23cf7fd2c0d003022ab4d55e38 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Sun, 3 Dec 2023 16:05:20 -0700 Subject: [PATCH] bump pydantic to 2.x --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7069a7c9..6a78c1b1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ ratelimit = "*" beautifulsoup4 = "*" cohere = "*" huggingface-hub = "*" -pydantic = "1.10.12" +pydantic = "2.*" tenacity = "*" Pillow = "*" chromadb = "*" diff --git a/requirements.txt b/requirements.txt index 576650cd..378b2f05 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ faiss-cpu openai==0.28.0 attrs datasets -pydantic==1.10.12 +pydantic>2 soundfile huggingface-hub google-generativeai