Package: terminalgpt
Welcome to terminalGPT, the terminal-based ChatGPT personal assistant app!
With terminalGPT, 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 is here to assist you. Simply enter your query and TerminalGPT will provide you with the best answer possible based on its extensive knowledge base.Why?Some advantages of using TerminalGPT 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 with your IDE terminal, which means you won't have to constantly switch between your browser and your IDE when you have questions.TerminalGPT's answers are tailored to your machine's operating system, distribution, and chip-set architectureDoesn'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-requisitesPython 3.6 or higherAn OpenAI Account and API key.Sign up athttps://beta.openai.com/signupusing email or Google/Microsoft account.Go tohttps://beta.openai.com/account/api-keysor click on "View API keys" in the menu to get your API key.InstallationInstall the latest TerminalGPT with pip install.pipinstallterminalgpt-U--userorpip3installterminalgpt-U--userNow you haveterminalgptcommand available in your terminal. Run the following install command to configure the app.terminalgptinstallEnter 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 --modelflag later.Choose a printing style ('markdown' is recommended and suggested by default)That's it! You're ready to use TerminalGPT!
You can now start a new conversation withterminalgpt newor load a previous conversation withterminalgpt load. Also you can reinstall withterminalgpt installor delete previous conversations withterminalgpt delete.UsageTL;DRUsage: terminalgpt [OPTIONS] COMMAND [ARGS]...

  *~ TerminalGPT - 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|gpt-4-1106-preview]
                                  Choose a model to use.
  -s, --style [markdown|plain]    Output style.
  -t, --token-limit INTEGER       Set the token limit. this will override the
                                  default token limit for the chosen model.
  --help                          Show this message and exit.

Commands:
  delete    Choose a previous conversation to delete.
  install   Installing the OpenAI API key and setup some default settings.
  load      Choose a previous conversation to load.
  new       Start a new conversation.
  one-shot  One shot question answer.NewStart a new conversation:terminalgptnewOne-ShotOne shot question to get a fast answer in the terminal.terminalgptone-shot"What is the meaning of life?"LoadLoad previous conversations:terminalgptloadDeleteDelete previous conversations:terminalgptdelete