-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathpyproject.toml
62 lines (54 loc) Β· 1.89 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[tool.poetry]
name = "langkit"
version = "0.0.35"
description = "A language toolkit for monitoring LLM interactions"
authors = ["WhyLabs.ai <[email protected]>"]
homepage = "https://docs.whylabs.ai/docs/large-language-model-monitoring"
license = "Apache-2.0"
readme = "DESCRIPTION.md"
[tool.poetry.dependencies]
python = ">=3.8,<4"
pandas = "*"
whylogs = "^1.5.0"
# optional dependencies
torch = {version = "*", optional = true}
numpy = {version = "*", optional = true}
xformers = {version = "*", platform="!macos", python=">=3.8.0,<4", optional = true}
datasets = {version ="^2.12.0", optional = true}
openai = {version =">=0.27.6, <2.0.0", optional = true}
nltk = {version ="^3.8.1", optional = true}
sentence-transformers = {version ="^2.2.2", optional = true}
evaluate = {version = "^0.4.0", optional = true}
ipywidgets = {version = "^8.1.1", optional = true}
vadersentiment = {version = "^3.3.2", optional = true}
presidio-analyzer = {version = "^2.2.351", optional = true}
h5py = {version = "^3.10.0", optional = true}
detoxify = {version = "^0.5.2", optional = true}
whylabs-textstat = "^0.7.4"
[tool.poetry.group.dev.dependencies]
ipykernel = { version = ">=6.25.2", python = ">=3.8.1,<4" }
pytest = { version ="^7.3.1", python = ">=3.8.1,<4" }
mypy = { version ="^1.4.1", python = ">=3.8.1,<4" }
flake8 = { version = "^6.1.0", python = ">=3.8.1,<4" }
black = { version = "^23.9.1", python = ">=3.8.1,<4" }
pre-commit = { version = "^3.4.0", python = ">=3.8.1,<4" }
types-setuptools = { version = ">=68.2.0.0", python = ">=3.8.1,<4" }
bump2version = { version = "^1.0.1", python = ">=3.8.1,<4" }
[tool.poetry.extras]
all = [
"torch",
"numpy",
"datasets",
"openai",
"nltk",
"vadersentiment",
"sentence-transformers",
"evaluate",
"ipywidgets",
"presidio-analyzer",
"h5py",
"detoxify",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"