Click here to try it out. There is also an article explaining the code here.
Install all packages in requirements.txt: pip install -r requirements.txt
.
Add environment variables to a .env
, that is OPENAI_API_KEY
and the MONGODB_CONNECTION_STRING
(if you want to use the database, otherwise you can remove all code that utilizes the db).
Thereafter, run streamlit run main.py
to start the app.