-
Book Overview & Buying
-
Table Of Contents
Building Natural Language and LLM Pipelines
By :
We will use the same technical setup introduced in Chapter 2. The Jupyter notebooks for this chapter can be found in the ch4/ folder within the following repository: https://github.com/PacktPublishing/Building-Natural-Language-and-LLM-Pipelines.
There is a pyproject.toml file dedicated to this chapter. It is recommended that you open the ch4 folder in a standalone VS Code window and install the dependencies:
$ cd ch4/
$ uv sync
$ source .venv/bin/activate
To activate that virtual environment as the kernel in the Jupyter notebook, click Select Kernel, then Python Environments, and then choose the path pointing to the folder’s virtual environment, called rag-with-haystack-ch4, or the relative path to the virtual environment, .venv/bin/python.
We will introduce the notebooks progressively, so you can select the discussed notebook using the relative path to it via the URL provided.