A command line based chatbot using ChatGPT API
- markdown rendering
- switch between single line and multiline mode
- easy to clear chat context
- easy to change API parameter(s)
- Install Python3 on your system.
- Run
pip install -r requirements.txtto install the required dependencies. - Apply for an API key from openai.com.
- Create a .apikey file in the source code folder and enter your API key.
- Run
python3 chat.pyto start the chatbot.