AI chat assistant in your terminal powered by OpenAI ChatGPT models.
Project description
[TerminalGPT-Pro]
Welcome to TerminalGPT-Pro, the terminal-based ChatGPT personal assistant app! With TerminalGPT-Pro, you can easily interact with the OpenAI GPT-3.5 and GPT-4 language models.
Whether you need help with a quick question or want to explore a complex topic, TerminalGPT-Pro is here to assist you. Simply enter your query and TerminalGPT-Pro will provide you with the best answer possible based on its extensive knowledge base.
Why?
Some advantages of using TerminalGPT-Pro over the chatGPT browser-based app:
- It doesn't disconnect like the browser-based app, so you can leave it running in a terminal session on the side without losing context.
- It's highly available and can be used whenever you need it.
- It's faster with replies than the browser-based app.
- You can use TerminalGPT-Pro with your IDE terminal, which means you won't have to constantly switch between your browser and your IDE when you have questions.
- TerminalGPT-Pro's answers are tailored to your machine's operating system, distribution, and chip-set architecture
- Doesn't use your conversation data for training the model (unlike the browser-based app).
- Your conversations are stored locally on your machine, so only you can access them.
Pre-requisites
- Python 3.6 or higher
- An OpenAI Account and API key.
- Sign up at https://beta.openai.com/signup using email or Google/Microsoft account.
- Go to https://beta.openai.com/account/api-keys or click on "View API keys" in the menu to get your API key.
Installation
- Install the latest TerminalGPT-Pro with pip install.
pip install terminalgpt-pro -U --user
- Now you have
terminalgpt-pro
command available in your terminal. Run the following install command to configure the app.
terminalgpt-pro install
-
Enter your OpenAI API key when prompted and press enter.
-
Choose one of the models below as the default model. it can be overridden with the
-m --model
flag later. -
Choose a printing style ('markdown' is recommended)
That's it! You're ready to use TerminalGPT!
You can now start a new conversation with terminalgpt-pro new
or load a previous conversation with terminalgpt-pro load
. Also you can reinstall with terminalgpt-pro install
or delete previous conversations with terminalgpt-pro delete
.
Usage
TL;DR
Usage: terminalgpt-pro [OPTIONS] COMMAND [ARGS]...
*~ TerminalGPT-Pro - Your Personal Terminal Assistant ~*
Options:
--version Show the version and exit.
-m, --model [gpt-3.5-turbo|gpt-3.5-turbo-16k|gpt-4|gpt-4-32k]
Choose a model to use. [default:gpt-3.5-turbo]
-s, --style [markdown|plain] Output style. [default: markdown]
--help Show this message and exit.
Commands:
delete Choose a previous conversation to delete.
install Creating a secret api key for the chatbot.
load Choose a previous conversation to load.
new Start a new conversation.
one-shot One shot question answer.
New
Start a new conversation:
terminalgpt-pro new
One-Shot
One shot question to get a fast answer in the terminal.
terminalgpt-pro one-shot "What is the meaning of life?"
Load
Load previous conversations:
terminalgpt-pro load
Delete
Delete previous conversations:
terminalgpt-pro delete
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
File details
Details for the file terminalgpt-pro-0.1.12.tar.gz
.
File metadata
- Download URL: terminalgpt-pro-0.1.12.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60b0efb1af71f7b40d2dcaf2d306bf181212d9d174bca537f44117f7aa94d8be |
|
MD5 | 187f12541ff1dcea3b981b4b1223f473 |
|
BLAKE2b-256 | a718173647c0783ed21a96acd8289c9df14f5ad78ea39286ba85b5b365b68e31 |
File details
Details for the file terminalgpt_pro-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: terminalgpt_pro-0.1.12-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed8c859bd8e93c1f3906dd6055c0a7beb89efb61cab11d3e99d17d769bf13f9 |
|
MD5 | 234b7d53715d451b91c2b104db2ffb09 |
|
BLAKE2b-256 | 6cd1632fcc6a459382d57d6febf121264ac421cdd756d6bf806bca92408fdbc4 |