A cli app for communicating with chatGPT
Project description
GPTChatMate v1.3.1
I python cli front-end for the chatGPT API.
Installation
Note: This app requires sqlite3
version >3.35.0
.
pip install gpt-chat-mate
Configuration
Running the app for the first time will produce a .config.json
file locally with default config options.
db_filename
- the filename to use for the sqlite database.
gpt_model
- which GPT model to use for the chat.
print_style
- the pygments style to use for the GPT output.
token_limit
- the limit on the number of tokens
that the app will send in a single API call.
Note: the user will still be shown the full conversation history even if the token limits the conversation sent
to the API.
openai_req_timeout
- The OpenAI API request can sometimes hang for an insane amount of time, so this sets a timeout.
The default is 60.
Usage
Install via pip, and run via the package name.
gpt-chat-mate
Commands
chat optional[<ID>]
- Start a new chat or continue an existing one by providing the ID.
delete <ID>
- Delete an existing chat.
list
- List existing chats stored in the database.
help
- List available commands.
exit
- Exit the program.
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 gpt_chat_mate-1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df176f61949d0f40929f7680649ab1af5e794d5a9cc45ed5d90357b6308a55df |
|
MD5 | c3a009fa9ea71ce406b1b80eaeec1137 |
|
BLAKE2b-256 | bb320d486658a8553d42bbc8fd24d5e5dfcabd5f5d3f9f86afbdcf02d78c6caf |