IMPROVEMENT Allow openai v1 in all templates that require it (#13489)

- pyproject change
- lockfiles
This commit is contained in:
Erick Friis
2023-11-16 17:10:08 -08:00
committed by GitHub
parent d7f014cd89
commit 9dfad613c2
108 changed files with 6543 additions and 713 deletions

View File

@@ -1379,13 +1379,13 @@ sympy = "*"
[[package]]
name = "openai"
version = "1.1.1"
description = "Client library for the openai API"
version = "1.3.2"
description = "The official Python library for the openai API"
optional = false
python-versions = ">=3.7.1"
files = [
{file = "openai-1.1.1-py3-none-any.whl", hash = "sha256:1496418b132c88352bcfffa8c24e83a69f0e01b1484cbb7bb48f722aad8fd6e1"},
{file = "openai-1.1.1.tar.gz", hash = "sha256:80e49cb21d8445f6d51339b8af7376fc83302c78ab78578b78133ef89634869d"},
{file = "openai-1.3.2-py3-none-any.whl", hash = "sha256:97e2febbedc5f1308444d961df63aafb649efebf900d59dd3676fdede9bcd7b6"},
{file = "openai-1.3.2.tar.gz", hash = "sha256:7904d8f029339931805a8962d88e955f9223a983a8fbd06e01ae40e14735362b"},
]
[package.dependencies]
@@ -2600,4 +2600,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[metadata]
lock-version = "2.0"
python-versions = ">=3.8.1,<4.0"
content-hash = "2123903dd3bc282c836f66e694f11de87ad9d018aea654a74164854ad303db3d"
content-hash = "5c9c6ca508bc1e7e4a41628cfbe3d55813f94e4b422a5c122b05af8341ce5d50"

View File

@@ -10,7 +10,7 @@ readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
langchain = ">=0.0.325"
openai = "^0.28.1"
openai = "<2"
tiktoken = ">=0.5.1"
chromadb = ">=0.4.14"