-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
84 lines (74 loc) · 1.93 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
[tool.poetry]
name = "langchain_study"
version = "0.1.0"
description = ""
authors = ["Masato Shimizu <[email protected]>"]
readme = "README.md"
packages = [{ include = "langchain_study", from = "src" }]
[tool.poetry.dependencies]
python = "3.11.7"
notebook = "7.3.2"
openai = "1.59.9"
langchain = "0.1.7"
pymupdf = "1.25.2"
slack-bolt = "1.22.0"
momento = "1.25.0"
boto3 = "1.36.6"
streamlit = "1.41.1"
duckduckgo-search = "4.5.0"
spacy = "3.8.4"
tiktoken = "0.8.0"
chromadb = "0.6.3"
chainlit = "1.3.2"
langchain-community = "0.0.20"
wikipedia = "1.4.0"
langchain-openai = "0.0.6"
redis = "5.2.1"
langchainhub = "0.1.21"
google-search-results = "2.4.2"
faiss-cpu = "1.9.0.post1"
langchain-experimental = "0.0.51"
lancedb = "0.17.0"
pandas = "2.2.3"
python-dotenv = "1.0.1"
pyarrow = "14.0.2"
unstructured = { extras = ["local-inference"], version = "0.16.15" }
[tool.poetry.group.dev.dependencies]
pytest = "7.4.4"
taskipy = "1.14.1"
mypy = "1.14.1"
ruff = "0.9.3"
[tool.mypy]
python_version = "3.11"
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.ruff]
target-version = "py311"
select = ["ALL"]
ignore = ["T201"]
[tool.ruff.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.per-file-ignores]
"**/{modelio,retrieval,memory,chains,agents,callbacks}/*" = [
"T201", # allow print
"D100", # allow missing-module-docstring
"D101", # allow missing-function-docstring
"D102", # allow undocumented-public-method
"D103", # allow undocumented-public-function
"D104", # allow undocumented-private-method
"E501", # allow line-too-long
]
"notebooks/*" = [
"T201", # allow print
]
[tool.ruff.pep8-naming]
classmethod-decorators = ["classmethod", "validator"]
[tool.taskipy.tasks]
test = "pytest tests"
mypy = "mypy src tests"
ruff = "task ruff-check && task ruff-format"
ruff-check = "ruff check src --fix"
ruff-format = "ruff format src"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"