diff --git a/README.md b/README.md index acced54..2997d8e 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ python cli_demo.py We provide methods to deploy local API based on OpenAI API (thanks to @hanpenggit). Before you start, install the required packages: ```bash -pip install fastapi uvicorn openai pydantic sse_starlette +pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette ``` Then run the command to deploy your API: diff --git a/README_CN.md b/README_CN.md index 38b7fc8..b4ef71e 100644 --- a/README_CN.md +++ b/README_CN.md @@ -387,7 +387,7 @@ python cli_demo.py 我们提供了OpenAI API格式的本地API部署方法(感谢@hanpenggit)。在开始之前先安装必要的代码库: ```bash -pip install fastapi uvicorn openai pydantic sse_starlette +pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette ``` 随后即可运行以下命令部署你的本地API: diff --git a/README_JA.md b/README_JA.md index a196d53..08ff2ef 100644 --- a/README_JA.md +++ b/README_JA.md @@ -395,7 +395,7 @@ python cli_demo.py OpenAI API をベースにローカルAPIをデプロイする方法を提供する(@hanpenggit に感謝)。始める前に、必要なパッケージをインストールしてください: ```bash -pip install fastapi uvicorn openai pydantic sse_starlette +pip install fastapi uvicorn openai pydantic>=2.3.0 sse_starlette ``` それから、API をデプロイするコマンドを実行します: