-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathpyproject.toml
83 lines (74 loc) · 1.85 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
[project]
name = "ragbuilder"
dynamic = ["version"]
description = "RagBuilder SDK - Create optimal Production-ready RAG pipelines"
authors = [
{name = "Ashwin Aravind", email = "[email protected]"},
{name = "Aravind Parameswaran", email = "[email protected]"},
]
requires-python = ">=3.7"
readme = "README.md"
license = {text = "Apache-2.0"}
dependencies = [
"chromadb",
"datasets>=2.18.0",
"fastapi>=0.100.0",
"jinja2",
"langchain>=0.1.0",
"langchain-community==0.2.7",
"langchain-core==0.2.20",
"langchain-huggingface==0.0.3",
"langchain-openai==0.1.17",
"opentelemetry-api>=1.23.0",
"opentelemetry-sdk>=1.23.0",
"opentelemetry-exporter-otlp>=1.23.0",
"optuna",
"platformdirs",
"pydantic>=2.0.0",
"python-dotenv",
"ragas==0.1.7",
"rerankers",
"rich>=13.0.0",
"sentence-transformers",
"tenacity==8.4.2",
"rank-bm25",
"uvicorn>=0.30.0",
]
# Optional dependencies
[project.optional-dependencies]
graph = [
"neo4j>=5.23.0",
"langchain-community[neo4j]"
]
vectorstores = [
"elasticsearch>=8.0.0",
"faiss-cpu>=1.7.4",
"pinecone-client>=3.0.0",
"pymilvus>=2.3.0",
"qdrant-client>=1.7.0",
"weaviate-client>=3.25.0",
]
# Document processing
document_processors = [
"pymupdf>=1.23.0",
"python-docx>=1.0.0",
"pikepdf>=8.11.0",
"pandoc>=2.3",
"pypdf>=3.17.0",
"markdown>=3.5.0",
"beautifulsoup4>=4.12.0",
"unstructured[all-docs]>=0.11.0",
]
all = [
"ragbuilder[graph]",
"ragbuilder[vectorstores]",
"ragbuilder[document_processors]",
]
[project.scripts]
ragbuilder = "ragbuilder.ragbuilder:main"
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "src/ragbuilder/_version.py"
version_scheme = "python-simplified-semver"