A simple implementation of chatGPT, based on this post
Live demo
Installation guide
- install Python
- install Pip
- install packages using Pip: Openai, Streamlit
- set values in config.py: API key is required for connection to OpenAI API; USER name is Your displayed name, SAI name is Bot's name; SAI identity is the input you may provide before chatting, i.e. to modify memory or personality of SAI.
- deploy with command: py -m streamlit run aibot.py
Future plans:
- saving settings and chat history locally;
- tabs allowing for multiple conversations;