forked from explodinggradients/ragas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.29 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
[project]
name = "ragas"
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",
]
[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"]