diff --git a/poetry.lock b/poetry.lock index 537db11788a916f7bfee233f2b54e45584000a54..ff02290fb03843ac40a33a0b6e7313e8e12acba0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -30,6 +30,18 @@ test-prod = ["parameterized", "pytest", "pytest-subtests", "pytest-xdist"] test-trackers = ["comet-ml", "dvclive", "tensorboard", "wandb"] testing = ["bitsandbytes", "datasets", "deepspeed", "evaluate", "parameterized", "pytest", "pytest-subtests", "pytest-xdist", "scikit-learn", "scipy", "timm", "tqdm", "transformers"] +[[package]] +name = "aenum" +version = "3.1.15" +description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants" +optional = true +python-versions = "*" +files = [ + {file = "aenum-3.1.15-py2-none-any.whl", hash = "sha256:27b1710b9d084de6e2e695dab78fe9f269de924b51ae2850170ee7e1ca6288a5"}, + {file = "aenum-3.1.15-py3-none-any.whl", hash = "sha256:e0dfaeea4c2bd362144b87377e2c61d91958c5ed0b4daf89cb6f45ae23af6288"}, + {file = "aenum-3.1.15.tar.gz", hash = "sha256:8cbd76cd18c4f870ff39b24284d3ea028fbe8731a58df3aa581e434c575b9559"}, +] + [[package]] name = "aiohttp" version = "3.9.1" @@ -1595,6 +1607,23 @@ cachetools = "*" numpy = "*" requests = "*" +[[package]] +name = "gradientai" +version = "1.4.0" +description = "Gradient AI API" +optional = true +python-versions = ">=3.8.1,<4.0.0" +files = [ + {file = "gradientai-1.4.0-py3-none-any.whl", hash = "sha256:58b74151e4bee534d438509303bcca3a9b84d17dafff31c206353489b54fcbfa"}, + {file = "gradientai-1.4.0.tar.gz", hash = "sha256:98b9e0894530c6b7c675a113010dca7f7f7c399e02c46c0fb5532bf9fc1609f4"}, +] + +[package.dependencies] +aenum = ">=3.1.11" +pydantic = ">=1.10.5,<2.0.0" +python-dateutil = ">=2.8.2" +urllib3 = ">=1.25.3" + [[package]] name = "greenlet" version = "3.0.2" @@ -4584,6 +4613,7 @@ files = [ {file = "pymongo-4.6.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b8729dbf25eb32ad0dc0b9bd5e6a0d0b7e5c2dc8ec06ad171088e1896b522a74"}, {file = "pymongo-4.6.1-cp312-cp312-win32.whl", hash = "sha256:3177f783ae7e08aaf7b2802e0df4e4b13903520e8380915e6337cdc7a6ff01d8"}, {file = "pymongo-4.6.1-cp312-cp312-win_amd64.whl", hash = "sha256:00c199e1c593e2c8b033136d7a08f0c376452bac8a896c923fcd6f419e07bdd2"}, + {file = "pymongo-4.6.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:6dcc95f4bb9ed793714b43f4f23a7b0c57e4ef47414162297d6f650213512c19"}, {file = "pymongo-4.6.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:13552ca505366df74e3e2f0a4f27c363928f3dff0eef9f281eb81af7f29bc3c5"}, {file = "pymongo-4.6.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:77e0df59b1a4994ad30c6d746992ae887f9756a43fc25dec2db515d94cf0222d"}, {file = "pymongo-4.6.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:3a7f02a58a0c2912734105e05dedbee4f7507e6f1bd132ebad520be0b11d46fd"}, @@ -7675,6 +7705,7 @@ docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.link testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] [extras] +gradientai = ["gradientai"] langchain = ["langchain"] local-models = ["optimum", "sentencepiece", "transformers"] postgres = ["asyncpg", "pgvector", "psycopg-binary"] @@ -7683,4 +7714,4 @@ query-tools = ["guidance", "jsonpath-ng", "lm-format-enforcer", "rank-bm25", "sc [metadata] lock-version = "2.0" python-versions = ">=3.8.1,<4.0" -content-hash = "982b611c1eddae457204585aa911e31e39ac78aef1d4806533392f241ce98bdf" +content-hash = "70b2643fbccf429bbcfac844e6652a1da25ab4e615b65493848bf09372244af1" diff --git a/pyproject.toml b/pyproject.toml index 2e50b42c124703b8a55ea0ea8c9509e4b6ce7e58..292573a6412b9d57e6f0792f03acad884104f8d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,7 @@ tiktoken = ">=0.3.3" typing-extensions = ">=4.5.0" typing-inspect = ">=0.8.0" requests = ">=2.31.0" # Pin to avoid CVE-2023-32681 in requests 2.3 to 2.30 +gradientai = {optional = true, version = ">=1.4.0"} asyncpg = {optional = true, version = "^0.28.0"} pgvector = {optional = true, version = "^0.1.0"} psycopg-binary = {optional = true, version = "^3.1.12"} @@ -78,6 +79,9 @@ spacy = {optional = true, version = "^3.7.1"} aiohttp = "^3.8.6" [tool.poetry.extras] +gradientai = [ + "gradientai", +] langchain = [ "langchain", ]