Skip to content

hellojxt/CatGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CatGPT

Personally customized ChatGPT

Usage

First, install the requirements:

pip install -r requirements.txt

And set the environment variable OPENAI_API_KEY to your OpenAI API key (recommended to add it to your .bashrc or .zshrc file in Linux/MacOS, for Windows users, you can use check this.) Then, run the script:

python terminal.py

Or, if you want to use the web interface:

python web.py username port

and then go to http://localhost:port in your browser. For proxy, see Mac-Linux.sh and Windows.bat.

Special feature

  • You can click the cat icon to change the system prompt.
  • You can use the slider to change the temperature/Top-P/presence penalty (larger values will make the model more creative, but also more likely to generate nonsense).
  • You can click the Render/Source button to switch between the rendered and source code of the page.

About

Developed using gpt-3.5-turbo API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages