This repository contains a collection of Python Jupyter notebooks demonstrating OpenAI's API for using chatGPT from Python.
https://scads.github.io/prompt-engineering-tutorial-2023
It is maintained using Jupyter lab and build using Jupyter book.
To edit this book, install depencencies like this:
pip install jupyterlab
pip install jupyter-book
pip install jupyterlab-spellchecker
git clone https://github.com/scads/prompt-engineering-tutorial-2023
cd prompt-engineering-tutorial-2023
jupyter lab
To build the book (on Windows), you can run this from the same folder:
build.bat