-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2dcf10
commit e41163b
Showing
18 changed files
with
141 additions
and
130 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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 @@ | ||
# Base image | ||
FROM python:3.10-slim | ||
|
||
# Set working directory | ||
WORKDIR /app | ||
|
||
# Copy application code | ||
COPY . /app | ||
|
||
# Install dependencies | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
# Expose API port | ||
EXPOSE 8000 | ||
|
||
# Run the application | ||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"] |
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
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from ch7.api_dockerization.indexing_dataflow import run_pipeline_with_symbol |
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,110 @@ | ||
. | ||
├── LICENSE | ||
├── README.md | ||
├── __init__.py | ||
├── ch2 | ||
│ ├── README.md | ||
│ ├── __init__.py | ||
│ ├── jupyter-notebooks | ||
│ │ ├── images | ||
│ │ ├── interacting-with-llms-haystack2.0.ipynb | ||
│ │ ├── interacting-with-llms-hugging-face.ipynb | ||
│ │ ├── interacting-with-llms-openai.ipynb | ||
│ │ ├── llm-augmentation.ipynb | ||
│ │ ├── llm-overview.ipynb | ||
│ │ └── pipeline-diagrams | ||
│ └── scripts | ||
│ ├── __init__.py | ||
│ ├── huggingfaceendpoints.py | ||
│ └── pipelines.py | ||
├── ch3 | ||
│ ├── README.md | ||
│ └── jupyter-notebooks | ||
│ ├── audio-files | ||
│ ├── components.ipynb | ||
│ ├── data-processing-components.ipynb | ||
│ ├── data_classes.ipynb | ||
│ ├── embedding-components.ipynb | ||
│ ├── images | ||
│ └── writing-components.ipynb | ||
├── ch4 | ||
│ ├── README.md | ||
│ └── jupyter-notebooks | ||
│ ├── extraction-and-processing-pipelines.ipynb | ||
│ ├── images | ||
│ ├── indexing-pipelines.ipynb | ||
│ ├── markdown_pages | ||
│ ├── retriever-pipelines-with-llm.ipynb | ||
│ ├── retriever-pipelines.ipynb | ||
│ └── textfile-pages | ||
├── ch5 | ||
│ ├── README.md | ||
│ └── jupyter-notebooks | ||
│ ├── custom-component-error-handling.ipynb | ||
│ ├── custom-component-logging-threading.ipynb | ||
│ ├── custom-component-logging.ipynb | ||
│ ├── custom-component-scalability.ipynb | ||
│ ├── custom-components.ipynb | ||
│ ├── images | ||
│ └── tests | ||
├── ch6 | ||
│ ├── README.md | ||
│ ├── adding-evaluation | ||
│ │ ├── query_pipeline.py | ||
│ │ ├── query_pipeline_ragas.png | ||
│ │ └── wandb | ||
│ ├── adding-observability | ||
│ │ ├── indexing_pipeline.py | ||
│ │ ├── query_pipeline.png | ||
│ │ ├── query_pipeline.py | ||
│ │ └── wandb | ||
│ ├── benzinga_pipeline.png | ||
│ ├── case-I-q-and-a-dataset | ||
│ │ ├── benzinga_pipeline.png | ||
│ │ ├── indexingpipeline.py | ||
│ │ ├── query_pipeline.png | ||
│ │ └── querypipeline.py | ||
│ ├── case-II-q-and-a-complex | ||
│ │ ├── answer_generation_pipeline.png | ||
│ │ ├── indexing_complex_knowledge.png | ||
│ │ └── rag-tutorials.ipynb | ||
│ ├── docker-compose.yml | ||
│ ├── feedback-loop-guardrails | ||
│ │ └── query_pipeline.py | ||
│ ├── news_out.jsonl | ||
│ ├── query_pipeline.png | ||
│ └── query_pipeline_ragas.png | ||
├── ch7 | ||
│ ├── api_dockerization | ||
│ │ ├── Dockerfile | ||
│ │ ├── README.md | ||
│ │ ├── app.py | ||
│ │ ├── benzinga_pipeline.png | ||
│ │ ├── config.yaml | ||
│ │ ├── dataflow-dag.png | ||
│ │ ├── indexing_dataflow.py | ||
│ │ ├── news_out.jsonl | ||
│ │ ├── querying.py | ||
│ │ └── requirements.txt | ||
│ ├── benzinga_pipeline.png | ||
│ └── pipeline-serialization | ||
├── just | ||
├── justfile | ||
├── mistral-7b-v1.0.yaml | ||
├── pyproject.toml | ||
├── repo_structure.txt | ||
├── requirements | ||
│ ├── dev.in | ||
│ ├── dev.txt | ||
│ ├── doc.txt | ||
│ ├── lib-py3.10.txt | ||
│ ├── lib-py3.11.txt | ||
│ ├── lib-py3.12.txt | ||
│ ├── lib-py3.9.txt | ||
│ ├── requirements.in | ||
│ └── requirements.txt | ||
├── tests | ||
└── venvs | ||
└── dev | ||
|
||
34 directories, 74 files |