-
Notifications
You must be signed in to change notification settings - Fork 41
/
pyproject.toml
82 lines (74 loc) · 1.99 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
[tool.poetry]
name = "renumics-rag"
version = "0.1.0"
description = "Renumics RAG: Explore and Visualize RAG Data"
authors = ["Renumics GmbH <info@renumics.com>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "assistant" },
]
[tool.poetry.scripts]
create-db = "assistant.cli.create_db:app"
answer = "assistant.cli.answer:app"
retrieve = "assistant.cli.retrieve:app"
explore = "assistant.cli.explore:app"
app = "assistant.cli.app:app"
[tool.poetry.dependencies]
python = ">=3.8.1,<3.9.7 || >3.9.7,<3.12"
typing-extensions = "^4.9.0"
typer = "^0.9.0"
langchain = "^0.2.3"
langchain-community = "^0.2.4"
langchain-core = "^0.2.5"
chromadb = "^0.4.22"
pysqlite3-binary = {version = "^0.5.2.post2", platform = 'linux'}
beautifulsoup4 = "^4.12.3"
lxml = "^5.1.0"
streamlit = "^1.30.0"
pyyaml = "^6.0.1"
pydantic = "^2.5.3"
langchain-openai = {version = "^0.1.8", optional = true}
transformers = {version = "^4.37.1", optional = true}
bitsandbytes = {version = "^0.42.0", optional = true}
unstructured = "^0.11.8"
markdown = "^3.5.2"
pypdf = "^4.0.1"
pandas = "^2.0.3"
renumics-spotlight = {version = "^1.6.5", optional = true}
docx2txt = "^0.8"
[tool.poetry.extras]
openai = ["langchain-openai"]
hf = ["transformers", "bitsandbytes"]
exploration = ["renumics-spotlight"]
all = ["langchain-openai", "transformers", "bitsandbytes", "renumics-spotlight"]
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.0.1"
black = "^23.12.1"
ruff = "^0.1.14"
mypy = "^1.7.1"
pandas-stubs = "^2.0.2.230605"
types-pyyaml = "^6.0.12.12"
types-tqdm = "^4.66.0.20240106"
ipython = "^8.12.3"
notebook = "^7.0.8"
langchain-experimental = "*"
opentelemetry-exporter-otlp-proto-grpc = "<1.23"
[tool.ruff.lint]
extend-select = [
"I",
]
[tool.mypy]
ignore_missing_imports = false
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"transformers",
"sentence_transformers",
"torch.*",
"renumics.*"
]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"