This repository contains different examples and usecases showcased in the book Developing Apps with GPT-4 and ChatGPT - 2nd Edition.
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 -d
The gradio interface is available at the address displayed in the output.
Customize if needed the docker-compose.yml file and start weaviate with
docker-compose up -d
Alternatively, run:
docker run -p 8080:8080 -p 50051:50051 cr.weaviate.io/semitechnologies/weaviate:1.24.9