Restrict openai package version below 1.0.0 to avoid breaking changes

This commit is contained in:
Debanjum Singh Solanky 2023-10-09 19:30:58 -07:00
parent f6f7a62d80
commit 148e8f468f

View file

@ -41,7 +41,7 @@ dependencies = [
"defusedxml == 0.7.1",
"fastapi == 0.77.1",
"jinja2 == 3.1.2",
"openai >= 0.27.0",
"openai >= 0.27.0, < 1.0.0",
"tiktoken >= 0.3.2",
"tenacity >= 8.2.2",
"pillow == 9.3.0",