Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lfunderburk committed Oct 28, 2024
2 parents 167d973 + 2c876e2 commit 332f106
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Building-Natural-Language-Pipelines
Building Natural Language Pipelines published by Packt
# Building RAG Applications
Supplementary material for the book "Building Natural Language Pipelines published by Packt"
Author: Laura Funderburk

## Chapter breakdown

* [ch2](./ch2/) - "Diving deep into Large Language Models (LLMs)"
* [ch3](./ch3/) - "Introduction to Haystack by deepset"
* [ch4](./ch4/) - "Bringing components together: Haystack pipelines for different use cases"
* [ch5](./ch5/) - "Haystack pipeline development with custom components"
* [ch6](./ch6/) - "Setting up a reproducible project: question and answer pipeline"

## Setting up

Expand All @@ -9,7 +18,7 @@ Set up a virtual environment and install the required packages:

If you have completed the following, you may discard this information. Otherwise, as a reminder and to ease installation, you can follow the instructions below.

Throughout this book we will be using `pip` and `conda` for package management. We will also create an isolated `conda` environment with Python 3.10.
Throughout this book we will be using `pip`, `conda` and `just` for package management. We will also create an isolated `conda` environment with Python 3.10.

We recommend that you install Miniconda and VSCode. We also recommend that you install GitHub (GitBash for Windows or Git for Linux and Mac) to make the process of accessing the material locally easier.

Expand All @@ -21,22 +30,19 @@ To obtain the code and exercises, clone the repository:

Open VSCode, Click File-> New Window, then Terminal ->New Terminal. Ensure your terminal is of type “Bash” or “Command line”.


Within the terminal, type each of the commands (a command is identified by the $ sign) below, one by one. Then press enter.

```bash

$ git clone https://github.com/PacktPublishing/Building-Natural-Language-Pipelines.git

$ cd building-natural-language-pipelines/
$ cd building-RAG-applications/

$ conda create –-name llm-pipelines python==3.12

$ conda activate llm-pipelines

$ pip install poetry, haystack-ai

$ poetry install
$ pip install poetry, haystack-ai, ipykernel, ipytthon
```

Enable the Jupyter Notebook extension on VSCode through the extension marketplace. When you open a notebook, press on ‘Select Kernel’ and click on `llm-pipeline` as our environment.
Expand All @@ -45,11 +51,5 @@ Enable the Jupyter Notebook extension on VSCode through the extension marketplac

Please refer to the instructions in this [README](./ch6/README.md) for how to set up for advanced chapters

## Chapter breakdown

* [ch2](./ch2/) - "Diving deep into Large Language Models (LLMs)"
* [ch3](./ch3/) - "Introduction to Haystack by deepset"
* [ch4](./ch4/) - "Bringing components together: Haystack pipelines for different use cases"
* [ch5](./ch5/) - "Haystack pipeline development with custom components"
* [ch6](./ch6/) - "Setting up a reproducible project: question and answer pipeline"

0 comments on commit 332f106

Please sign in to comment.