forked from neokd/NeoGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (94 loc) · 2.25 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
100
101
102
103
104
105
106
107
[tool.poetry]
name = "neogpt"
version = "0.1.0-beta"
description = "NeoGPT: Chat effortlessly with Documents, YouTube Videos,Code, and Social Media Chats. Your go-to for quick and smart interactions! 🤖💬"
authors = ["Neokd"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<=3.12"
pdfminer-six = "^20231228"
colorama = "^0.4.6"
langchain = "^0.1.0"
youtube-transcript-api = "^0.6.2"
pytube = "^15.0.0"
streamlit = "^1.29.0"
unstructured = {extras = ["all-docs"], version = "^0.11.8"}
torch = "^2.1.2"
duckduckgo-search = "^4.1.1"
llama-cpp-python = "^0.2.27"
google-api-python-client = "2.95.0"
faiss-cpu = "^1.7.4"
chromadb = "^0.4.22"
rank-bm25 = "^0.2.2"
html2text = "^2020.1.16"
openai = "^1.6.1"
langchain-experimental = "0.0.42"
langchain-community = "^0.0.9"
langchain-openai = "^0.0.2"
[tool.poetry.group.docs.dependencies]
mkdocs-material = "^9.4.8"
mkdocs = "^1.5.3"
mkdocs-git-revision-date-localized-plugin = "^1.2.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
exclude = ["neogpt/models/**"]
[tool.ruff]
target-version = 'py311'
[tool.ruff.lint]
select = [
"E", # pycodestyle
"W", # pycodestyle
"F", # Pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"I", # isort
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"Q", # flake8-quotes
"UP", # pyupgrade
"PT", # flake8-pytest-style
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # "Line too long"
"PT011", # "pytest.raises() should specify expected exception"
"SIM102", # "Use a single `if` statement instead of nested `if` statements"
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"F401",
"F841",
"B024",
"B027"
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
exclude = [
"E501", # "Line too long"
"PT011", # "pytest.raises() should specify expected exception"
"SIM102", # "Use a single `if` statement instead of nested `if` statements"
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"F401",
"F841",
"B024",
"B027"
]
[tool.poetry.scripts]
neogpt = "neogpt.main:main"