No project description provided
Project description
Simple-ChatGPT-CLI
I believe many others have implement more sophisticated ChatGPT CLI tool. But this is a super simple one without fancy features that I created with Python for my own use case. My motivation was that using OpenAI API could be much cheaper than subscribing ChatGPT Plus, and is claimed to be more privacy friendly by some legal experts.
I'm not planning adding fancy features unless I start to feel some feature would be a big plus to my productivity in my own use case. But everyone are welcomed to use this basic version or fork it to add their own features.
Installation
pip install simple-chatgpt-cli
Usage
You can run the program with
chatgpt
You must either set/save the key following the CLI prompts (recommended) or set an environment variable OPENAI_API_KEY
.
Tips
Use #multiline
to enter multiline mode. This is useful when you want to enter messages with line breaks.
Use #startover
to start a new conversation whenever you switch to a new topic and the bot doesn't need previous context anymore. This helps reduce your OpenAI bill.
The program will remind you this if you come back to an idle conversation after more than 5 minutes.
Development
This project was initialized by my Python project boilerplate. So you will need all the prerequisites of that project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for simple_chatgpt_cli-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e57c2a22b09d91c0de9ecf6224707200749f4d8f779112ff7eae84419a2c2ad0 |
|
MD5 | b01b55e7b460dceb10af5bb2fd0412f2 |
|
BLAKE2b-256 | 167ba43fe3e6665809b6a40aab1dd5f6b0af1f238ce2f9404c086c67d6646fd3 |