This repository contains different examples and usecases showcased in the book Developing Apps with GPT-4 and ChatGPT.
Check the branches and releases for different versions of the OpenAI API.
Install the requirements for all the examples with:
pip install -r requirements.txt
Each example contains either a jupyter notebook, or a python file that can be run with:
python [example_folder]/run.py
Some examples require some additional setup.
Start Redis with
docker-compose up
The gradio interface is available at the address displayed in the output.