Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 793 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 793 Bytes

chatgpt-langchain-demos

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).

Setup

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/activate

Then install the dependencies:

pip install -r requirements.txt

Finally, copy the .env.template file to .env and fill in the required values (your OpenAI API key).

cp .env.template .env

Make sure to setup the venv as the default environment in your IDE.

You should now be able to run demo.ipynb!