Notebooks for the live trainining about llm app development
Conda
conda create -n oreilly-chatgpt-apps python=3.11conda activate oreilly-chatgpt-appspip install -r requirements.txtPip
Create a Virtual Environment:
Navigate to your project directory. Make sure you have python 3.11 installed!
If using Python 3’s built-in venv:
python -m venv oreilly-chatgpt-apps
If you’re using virtualenv:
virtualenv oreilly-chatgpt-apps
Activate the Virtual Environment:
.\oreilly-chatgpt-apps\Scripts\activate
source oreilly-chatgpt-apps/bin/activate
Install Dependencies from requirements.txt:
pip install python-dotenv
pip install -r requirements.txt
Setup your openai API key
Remember to deactivate the virtual environment once you’re done by simply typing:
deactivate
.env.example file to .env and add your OpenAI API key.pip install jupyterpython3 -m ipykernel install --user --name=oreilly-chatgpt-appsHere are the notebooks available in the notebooks/ folder: