This repository provides a tutorial on transitioning from manual to automatic prompting techniques for Large Language Models (LLMs). Follow the steps below to set up your environment and get started.
Important Note for Windows Users: Open your repository in VS Code. If you haven't already, create and configure a Dev Container. Refer to the Quick Start: Open an Existing Folder in a Container guide for detailed instructions. Once done, ensure you reopen your project in the Dev Container before proceeding with the remaining setup steps. Wait for the container to fully initialize and load.
Run the following command to automatically set up a virtual environment and install dependencies:
bash scripts/create_venv.sh
Note: This script will:
- Download a standalone Python executable (if needed).
- Create a virtual environment.
- Install all required dependencies.
You may be prompted to enter your password to run the script with sudo
. This is necessary for installing system-level dependencies.
If you prefer to use an existing Python installation, follow these steps:
- Create a virtual environment:
python -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
Once the environment is set up, you can start exploring the tutorial materials. Refer to the notebooks/
directory for detailed instructions and examples.
Happy prompting! 🚀