-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
121 lines (112 loc) · 3.01 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[tool.poetry]
name = "lovecraft"
version = "0.1.1"
description = "Converse with H.P. Lovecraft via Retrieval Augmented Generation."
authors = ["Russell Jurney <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/rjurney/lovecraft"
packages = [{include = "lovecraft"}]
keywords = [
"lovecraft",
"retrieval augmented generation",
"rag",
"openai",
"gpt-4",
"llm",
"language model",
"nlp",
"natural language processing",
"ai",
"artificial intelligence",
"conversational ai",
"H.P. Lovecraft",
"OpenSearch"
]
classifiers = [
"Development Status :: 1 - Planning",
"Environment :: Console",
"Framework :: Flake8",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
]
include = ["LICENSE"]
[project]
name = "lovecraft"
[tool.poetry.dependencies]
python = "^3.11"
langchain = "^0.1.11"
langchain-openai = "^0.0.8"
openai = "^1.13.3"
bs4 = "^0.0.2"
beautifulsoup4 = "^4.12.3"
streamlit = "^1.31.1"
scrapy = "^2.11.1"
lxml = "^5.1.0"
opensearch-py = "^2.4.2"
langchain-community = "^0.0.27"
sentence-transformers = "^2.5.1"
langsmith = "^0.1.23"
langchainhub = "^0.1.15"
pypdf = "^4.1.0"
pillow = "^10.2.0"
types-beautifulsoup4 = "^4.12.0.20240229"
types-tqdm = "^4.66.0.20240106"
click = "^8.1.7"
tenacity = "^8.3.0"
diskcache = "^5.6.3"
diskcache-stubs = "^5.6.3.4.20240513"
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
flake8 = "^7.0.0"
isort = "^5.13.2"
mypy = "^1.8.0"
pre-commit = "^3.6.2"
ipython = "^8.22.2"
pytest = "^8.1.1"
twine = "^5.1.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ["py310"]
include = ["lovecraft", "tests"]
[tool.isort]
profile = "black"
src_paths = ["lovecraft", "tests"]
[tool.mypy]
python_version = "3.11"
mypy_path = ["lovecraft", "tests"]
warn_return_any = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
ignore_errors = false
[[tool.mypy.overrides]]
module = "scrapy.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = [
"tests",
]