Skip to content

Commit

Permalink
fix: update llm demo requirements & dockers (#7080)
Browse files Browse the repository at this point in the history
Co-authored-by: Pawel Podhajski <[email protected]>
GitOrigin-RevId: 6875f1b9e1057e6270b61159546fcc53b7ddf0d7
  • Loading branch information
2 people authored and Manul from Pathway committed Aug 6, 2024
1 parent 86da984 commit 13c5a90
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions examples/pipelines/demo-document-indexing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM python:3.11
FROM pathwaycom/pathway:latest

WORKDIR /app

RUN apt-get update \
&& apt-get install -y python3-opencv \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*


COPY requirements.txt .

RUN pip install --pre -U --no-cache-dir -r requirements.txt
Expand Down
1 change: 0 additions & 1 deletion examples/pipelines/demo-document-indexing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pathway[all]~=0.11.0
python-dotenv==1.0.1
mpmath==1.3.0
2 changes: 1 addition & 1 deletion examples/pipelines/demo-question-answering/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM pathwaycom/pathway:latest

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion examples/pipelines/demo-question-answering/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ This data source is the part of commercial Pathway offering. You can try it onli
## How to run the project

### Locally
If you are on Windows, please refer to [running with docker](#Running-with-Docker) section below.
If you are on Windows, please refer to [running with docker](#With-Docker) section below.

To run locally, change your directory in the terminal to this folder. Then, run the app with `python`.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pathway[all]>=0.11.0
python-dotenv==1.0.1
mpmath==1.3.0
2 changes: 1 addition & 1 deletion examples/pipelines/gpt_4o_multimodal_rag/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM pathwaycom/pathway:latest

WORKDIR /app

Expand Down
1 change: 0 additions & 1 deletion examples/pipelines/gpt_4o_multimodal_rag/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pathway[all]>=0.13.0
python-dotenv==1.0.1
mpmath==1.3.0
1 change: 1 addition & 0 deletions examples/pipelines/local/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM pathwaycom/pathway:latest

WORKDIR /app
COPY . .
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion examples/pipelines/slides_ai_search/Dockerfile.app
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM pathwaycom/pathway:0.13.2-slim
FROM pathwaycom/pathway:0.14.1-slim

ENV DOCKER_BUILDKIT=1
ENV PYTHONUNBUFFERED=1
Expand Down

0 comments on commit 13c5a90

Please sign in to comment.