-
Notifications
You must be signed in to change notification settings - Fork 236
/
pyproject.toml
89 lines (76 loc) · 2.63 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
[tool.poetry]
name = "llm-app"
version = "0.3.6"
description = "LLM-App is a library for creating responsive AI applications leveraging OpenAI/Hugging Face APIs to provide responses to user queries based on live data sources. Build your own LLM application in 30 lines of code, no vector database required."
authors = [
"Jan Chorowski <[email protected]>",
"Kamil Piechowiak <[email protected]>",
"Jakub Kowalski <[email protected]>",
"Michał Bartoszkiewicz <[email protected]>",
"Mohamed Malhou <[email protected]>",
"Sergey Kulik <[email protected]>",
"Adrian Kosowski <[email protected]>",
"Mateusz Lewandowski <[email protected]>",
"Olivier Ruas <[email protected]>",
]
license = "MIT"
readme = "README.md"
keywords = ["Pathway", "LLM"]
package-mode = false
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
]
[tool.poetry.urls]
"Homepage" = "https://github.com/pathwaycom/llm-app"
"Source Code" = "https://github.com/pathwaycom/llm-app"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
pathway = "^0.12.0"
openai = "^1.2.4"
requests = "^2.31.0"
diskcache = "^5.6.1"
streamlit = "^1.26.0"
sentence-transformers = { version = "^2.2.2", optional = true }
torch = { version = "~2.2.1", optional = true }
unstructured = { extras = ["all-docs"], version = "^0.11.8", optional = true }
tiktoken = { version = "^0.6.0", optional = true }
psycopg = { version = "^3.1.12", optional = true }
litellm = "^1.18.0"
transformers = { version = "^4.39.0", optional = true }
[tool.poetry.extras]
local = ["torch", "sentence-transformers", "transformers"]
unstructured = ["unstructured", "tiktoken"]
unstructured_to_sql = ["tiktoken", "psycopg", "unstructured"]
[tool.poetry.group.examples]
optional = true
[tool.poetry.group.examples.dependencies]
click = "^8.1.6"
python-dotenv = "^1.0.0"
[tool.poetry.group.linters]
optional = true
[tool.poetry.group.linters.dependencies]
black = "^24.2.0"
isort = "^5.13.2"
mypy = "~1.10.0"
flake8 = "~7.0.0"
pytest = "^8.0.2"
types-requests = "^2.31.0"
types-PyYAML = "^6.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py310", "py311"]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.10"
exclude = ["examples/data", "examples/pipelines/adaptive-rag", "examples/pipelines/private-rag", "examples/pipelines/demo-document-indexing"]
ignore_missing_imports = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true