Skip to content

Commit 5a2169d

Browse files
committed
Split data dependencies into a new group
1 parent 5facd7a commit 5a2169d

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

docker/api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ARG UNIQUE_IDENTIFIER=promptly
2323

2424
# Install processors
2525
RUN poetry install --no-root --only processors
26+
RUN poetry install --no-root --only data
2627

2728
RUN python -m nltk.downloader -d /usr/local/share/nltk_data 'punkt'
2829
RUN python -m nltk.downloader -d /usr/local/share/nltk_data 'averaged_perceptron_tagger'

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,8 @@ faiss-cpu = "^1.8.0"
7575
[tool.poetry.group.processors]
7676

7777
[tool.poetry.group.processors.dependencies]
78-
scrapy = "^2.11.2"
79-
unstructured = {version = "0.15.0", python=">=3.10,<3.13"}
8078
google-generativeai = "0.7.2"
81-
scrapy-playwright = {version ="^0.0.33"}
8279
pillow-heif = {version ="^0.15.0"}
83-
opencv-python-headless = {version ="^4.10.0.84"}
84-
unstructured-inference = {version ="^0.7.23"}
85-
unstructured-pytesseract = {version ="^0.3.12"}
86-
python-docx = {version ="^1.1.0"}
8780
cohere = {version ="5.5.4"}
8881
google-cloud-speech = {version ="^2.26.0"}
8982
mysqlclient = {version ="^2.2.4"}
@@ -93,29 +86,40 @@ pydub = {version = "^0.25.1" }
9386
boto3 = {version = "^1.26.122" }
9487
botocore = {version = "^1.29.122" }
9588
yt-dlp = "^2024.5.27"
96-
pdf2image = {version = "^1.16.3" }
97-
pdfminer-six = {version = "^20221105" }
9889
markdown = {version = "^3.4.4" }
99-
python-pptx = {version = "^0.6.21" }
100-
python-magic = {version = "^0.4.27" }
10190
anthropic = "^0.30.0"
10291
pypdf = "^4.2.0"
10392
pikepdf = "^9.0.0"
104-
llama-index-readers-file = "0.1.30"
105-
llama-index-vector-stores-chroma = "^0.1.10"
10693
websockets = "^12.0"
107-
chromadb = "^0.5.3"
10894
pynacl = "^1.5.0"
109-
llama-index-core = "^0.10.51"
11095
beautifulsoup4 = {version = "^4.12.2" }
11196
sqlalchemy = "^2.0.31"
11297
websockify = "^0.12.0"
113-
spacy = "^3.7.5"
98+
playwright = "1.45.0"
99+
100+
[tool.poetry.group.data]
101+
102+
[tool.poetry.group.data.dependencies]
103+
chromadb = "^0.5.3"
104+
llama-index-readers-file = "0.1.30"
105+
llama-index-vector-stores-chroma = "^0.1.10"
106+
llama-index-core = "^0.10.51"
114107
llama-index-vector-stores-pinecone = {version="^0.1.8", python=">=3.10,<3.13"}
115108
llama-index-vector-stores-qdrant = {version="^0.2.13", python=">=3.10,<3.13"}
116109
llama-index-embeddings-azure-openai = "^0.1.11"
117110
llama-index-embeddings-openai = "^0.1.11"
118-
playwright = "1.45.0"
111+
opencv-python-headless = {version ="^4.10.0.84"}
112+
pdf2image = {version = "^1.16.3" }
113+
pdfminer-six = {version = "^20221105" }
114+
python-docx = {version ="^1.1.0"}
115+
python-magic = {version = "^0.4.27" }
116+
python-pptx = {version = "^0.6.21" }
117+
scrapy = "^2.11.2"
118+
scrapy-playwright = {version ="^0.0.33"}
119+
spacy = "^3.7.5"
120+
unstructured = {version = "0.15.0", python=">=3.10,<3.13"}
121+
unstructured-inference = {version ="^0.7.23"}
122+
unstructured-pytesseract = {version ="^0.3.12"}
119123
weaviate-client = "^4.7.1"
120124

121125

0 commit comments

Comments
 (0)