-
Notifications
You must be signed in to change notification settings - Fork 768
/
pyproject.toml
99 lines (91 loc) · 1.83 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
[project]
name = "ragas"
requires-python = ">=3.9"
dependencies = [
"numpy",
"datasets",
"tiktoken",
"langchain",
"langchain-core",
"langchain-community",
"langchain_openai",
"nest-asyncio",
"appdirs",
"pydantic>=2",
"openai>1",
"pysbd>=0.3.4",
]
dynamic = ["version", "readme"]
[project.optional-dependencies]
all = [
"sentence-transformers",
"transformers",
"nltk",
"rouge_score",
"rapidfuzz",
"pandas",
"datacompy",
"llama_index",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material",
"mkdocs-material[imaging]",
"mkdocstrings[python]",
"mkdocs-glightbox",
"mkdocs-autorefs",
"mkdocs-gen-files",
"mkdocs-literate-nav",
"mkdocs-section-index",
"mkdocs-git-committers-plugin-2",
"mkdocs-git-revision-date-localized-plugin",
]
dev = [
"rich",
"ruff",
"isort",
"black[jupyter]",
"pyright",
"llama_index",
"notebook",
"sphinx-autobuild",
"sentence-transformers",
"transformers",
"fastembed",
"graphene",
"rouge_score",
"nltk",
"rapidfuzz",
"pandas",
"datacompy",
]
test = [
"pytest",
"pytest-xdist[psutil]",
"pytest-asyncio",
"llama_index",
"nbmake",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.ruff]
exclude = ["*.ipynb"]
[tool.ruff.lint]
ignore = ["E501"]
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/ragas/_version.py"
[tool.pytest.ini_options]
addopts = "-n 0"
asyncio_default_fixture_loop_scope = "function"
[pytest]
testpaths = ["tests"]
[dependency-groups]
dev = [
"arize-phoenix>=6.1.0",
"openinference-instrumentation-langchain>=0.1.29",
]