This project was first intended to host the demonstration for this Meetup event: https://www.meetup.com/fr-FR/lyonjug/events/293949285/
However, it can also be used as a reference for simple demonstrations of the ChatGPT model (using the OpenAI API or LangChain).
This project was tested with Python 3.8.10 on a Linux machine.
Start by creating a virtual environment:
python3 -m venv venv
source venv/bin/activateThen install the dependencies:
pip install -r requirements.txtFinally, copy the .env.template file to .env and fill in the required values (your OpenAI API key).
cp .env.template .envMake sure to setup the venv as the default environment in your IDE.
You should now be able to run demo.ipynb!