forked from SciPhi-AI/R2R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
80 lines (70 loc) · 2.15 KB
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
[build-system]
requires = ["poetry-core", "setuptools", "wheel"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "r2r"
version = "0.1.34"
description = "SciPhi R2R"
authors = ["Owen Colegrove <[email protected]>"]
license = "MIT"
readme = "README.md"
include = ["config.json"]
[tool.poetry.dependencies]
# Python Versions
python = ">=3.9,<3.13"
# Required dependencies
bs4 = "^0.0.2"
fastapi = "^0.109.2"
fire = "^0.5.0"
gunicorn = "^21.2.0"
litellm = "^1.34.0"
openai = "^1.11.1"
pydantic = "^2.6.3"
pypdf = "^4.2.0"
python-dotenv = "^1.0.1"
python-multipart = "^0.0.9"
requests = "^2.31.0"
types-requests = "^2.31.0"
uvicorn = "^0.27.0.post1"
vecs = "^0.4.0"
# Optional dependencies
tiktoken = {version = "^0.5.2", optional = true}
datasets = {version = "^2.16.1", optional = true}
qdrant_client = {version = "^1.7.0", optional = true}
psycopg2-binary = {version = "^2.9.9", optional = true}
numpy = {version = "^1.26.4", optional = true}
sentry-sdk = {version = "^1.40.4", optional = true}
deepeval = {version ="^0.20.88", optional = true}
parea-ai = {version = "^0.2.86", optional = true}
ionic-api-sdk = {version = "0.9.3", optional = true}
boto3 = {version = "^1.34.71", optional = true}
exa-py = {version = "^1.0.9", optional = true}
llama-cpp-python = {version = "^0.2.57", optional = true}
sentence-transformers = {version = "^2.6.1", optional = true}
[tool.poetry.extras]
embedding = ["tiktoken"]
streaming = ["datasets"]
qdrant = ["qdrant_client"]
postgres = ["psycopg2-binary"]
monitoring = ["sentry-sdk"]
deepeval = ["deepeval"]
eval = ["parea-ai"]
ionic = ["ionic-api-sdk"]
reducto = ["boto3"]
exa = ["exa-py"]
sentence_transformers = ["sentence-transformers"]
local_llm = ["llama-cpp-python", "sentence-transformers"]
all = ["tiktoken", "datasets", "qdrant_client", "psycopg2-binary", "sentry-sdk", "parea-ai", "boto3", "exa-py", "llama-cpp-python"]
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
flake8 = "6.1.0"
isort = "5.12.0"
mypy = "^1.5.1"
[tool.black]
line-length = 79
[tool.mypy]
ignore_missing_imports = true
exclude = 'playground/.*|deprecated/.*|dump/.*|docs/source|vecs/*'
[[tool.mypy.overrides]]
module = "yaml"
ignore_missing_imports = true