-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add prefect config and dockerfile for llm ingestion
pin requests version for prefect-docker to work
- Loading branch information
Showing
4 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM prefecthq/prefect:2-python3.10 | ||
|
||
ENV EMBEDDING_CACHE_NAMESPACE=llm_zoomcamp | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y gcc python3-dev | ||
|
||
RUN pip install -U pip | ||
|
||
WORKDIR /usr/src | ||
|
||
COPY ingest/requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY ingest/llm/ingest_llm.py ingest/llm/ | ||
COPY ingest/readers ingest/readers | ||
COPY ingest/utils ingest/utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
slack-sdk==3.27.1 | ||
langchain==0.1.11 | ||
google-api-python-client==2.121.0 | ||
slack-sdk==3.30.0 | ||
langchain==0.1.20 | ||
google-api-python-client==2.134.0 | ||
google-auth-httplib2==0.2.0 | ||
google-auth-oauthlib==1.2.0 | ||
sentence-transformers==2.5.1 | ||
prefect-gcp==0.5.6 | ||
GitPython==3.1.42 | ||
pymilvus==2.3.6 | ||
llama-index-core==0.10.18.post1 | ||
llama-index-readers-web==0.1.6 | ||
llama-index-readers-github==0.1.7 | ||
llama-index-vector-stores-milvus==0.1.6 | ||
sentence-transformers==3.0.1 | ||
prefect-gcp==0.5.12 | ||
GitPython==3.1.43 | ||
pymilvus==2.4.4 | ||
llama-index-core==0.10.48 | ||
llama-index-readers-web==0.1.19 | ||
llama-index-readers-github==0.1.9 | ||
llama-index-vector-stores-milvus==0.1.20 | ||
llama-index-embeddings-langchain==0.1.2 | ||
trafilatura==1.7.0 | ||
nbconvert==7.16.2 | ||
ipython==8.22.2 | ||
upstash-redis==1.0.0 | ||
trafilatura==1.10.0 | ||
nbconvert==7.16.4 | ||
ipython==8.25.0 | ||
upstash-redis==1.1.0 | ||
jupyter-notebook-parser==0.1.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ prefect-docker | |
langchain-openai | ||
upstash-redis | ||
jupyter-notebook-parser | ||
requests==2.31.0 |