-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
116 lines (98 loc) · 2.77 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "langevals"
version = "0.1.7"
description = "A platform to evaluate LLM outputs using various evaluators."
authors = [ "Rogerio Chaves <[email protected]>",]
license = "MIT"
[[tool.poetry.source]]
name = "pytorch_cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.poetry.dependencies]
pytest = "^8.1.2"
python = "^3.11"
fastapi = "^0.111.0"
pydantic = "^2.4.0"
python-dotenv = "1.0.1"
mangum = "^0.17.0"
pandas = "^2.2.2"
markdown = "^3.6"
uvicorn = "^0.22.0"
gunicorn = "^22.0.0"
nest-asyncio = "^1.6.0"
[[tool.poetry.dependencies.torch]]
version = "^2.2.2+cpu"
optional = true
source = "pytorch_cpu"
markers = "sys_platform == 'linux'"
[[tool.poetry.dependencies.torch]]
version = "^2.2.2"
optional = true
source = "pypi"
markers = "sys_platform != 'linux'"
[tool.poetry.scripts]
langevals-server = "langevals.server:main"
[tool.poetry.dev-dependencies]
toml = "^0.10.2"
grevillea = "^0.0.1"
litellm = "^1.53.7"
instructor = "^1.2.2"
pytest-xdist = "^3.5.0"
flaky = "^3.8.1"
[tool.poetry.extras]
azure = [ "langevals-azure",]
openai = [ "langevals-openai",]
example = [ "langevals-example",]
ragas = [ "langevals-ragas",]
lingua = [ "langevals-lingua",]
huggingface = [ "langevals-huggingface",]
langevals = [ "langevals-langevals",]
all = [ "langevals-azure", "langevals-langevals", "langevals-example", "langevals-legacy", "langevals-lingua", "langevals-ragas", "langevals-presidio", "langevals-huggingface", "langevals-openai",]
presidio = [ "langevals-presidio",]
legacy = [ "langevals-legacy",]
[tool.poetry.dependencies.langevals-core]
path = "langevals_core"
develop = true
[tool.poetry.dependencies.langevals-azure]
path = "evaluators/azure"
develop = true
optional = true
[tool.poetry.dependencies.langevals-openai]
path = "evaluators/openai"
develop = true
optional = true
[tool.poetry.dependencies.langevals-example]
path = "evaluators/example"
develop = true
optional = true
[tool.poetry.dependencies.langevals-ragas]
path = "evaluators/ragas"
develop = true
optional = true
[tool.poetry.dependencies.langevals-lingua]
path = "evaluators/lingua"
develop = true
optional = true
[tool.poetry.dependencies.langevals-huggingface]
path = "evaluators/huggingface"
develop = true
optional = true
[tool.poetry.dependencies.langevals-langevals]
path = "evaluators/langevals"
develop = true
optional = true
[tool.poetry.dependencies.langevals-presidio]
path = "evaluators/presidio"
develop = true
optional = true
[tool.poetry.dependencies.langevals-legacy]
path = "evaluators/legacy"
develop = true
optional = true
[tool.poetry.plugins.pytest11]
pass_rate_plugin = "langevals.pytest_plugins.pass_rate_plugin"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.4"