-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
95 lines (85 loc) · 1.7 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
[project]
name = "rag-with-haystack"
version = "0.1"
description = "Reproducible RAG system with Python"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["llm", "rag", "nlp", "pipelines"]
authors = [
{name = "Laura Funderburk"}
]
classifiers = [
"Development Status :: 1 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"haystack-ai>=0.2",
"elasticsearch-haystack",
"python-dotenv",
"bs4",
"sentence-transformers>=3.0.0",
"ipykernel",
"ipython",
"trafilatura",
"wandb",
"ragas-haystack",
"bytewax>=0.21",
"bytewax-redis",
"fastapi>=0.115",
"uvicorn",
"transformers[torch,sentencepiece]",
"pip-tools",
"prometheus-client>=0.21",
"gunicorn",
"spacy",
"langgraph",
"websockets",
"certifi",
"matplotlib",
"langchain",
"langchain-openai"
]
[build-system]
requires = ["setuptools>=43.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = {find = {exclude = ["ch*", "venvs", "tests", "docs"]}}
[tool.pytest.ini_options]
addopts = "-v"
testpaths = [
"pytests"
]
[tool.mypy]
disallow_untyped_defs = true
check_untyped_defs = true
[tool.ruff.lint]
select = [
"A",
"B",
"D",
"DTZ",
"E",
"EM",
"F",
"I",
"PL",
"W",
]
ignore = [
"D105",
"E731",
"PLR",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.per-file-ignores]
"examples/*.py" = ["D"]
"test_*.py" = ["D"]