Skip to content

xuyungit/xchatcmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xchatcmd

A command line based chatbot using ChatGPT API

Features

  • markdown rendering
  • switch between single line and multiline mode
  • easy to clear chat context
  • easy to change API parameter(s)

Usage

  1. Install Python3 on your system.
  2. Run pip install -r requirements.txt to install the required dependencies.
  3. Apply for an API key from openai.com.
  4. Create a .apikey file in the source code folder and enter your API key.
  5. Run python3 chat.py to start the chatbot.

About

A command line based chatbot using ChatGPT API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages