Skip to main content

GPT on the command line.

Project description

gpyt

GPT in your terminal.

Note WIP


Try out the new (experimental and buggy) FREE model using GPT4Free:

$ gpyt --free

^ NO API KEY required

OR Try out PaLM 2 (requires Google MakerSuite API KEY)

$ gpyt --palm

If you have access, you can try out GPT4

$ gpyt --gpt4

Uses Textual.

Demo

gpyt demo

Markdown Support

markdown support

markdown support (showing table)

Installation & Usage

  1. $ pip install gpyt

  2. add OPENAI_API_KEY="<your_openai_api_key>" in a .env at $HOME or export OPENAI_API_KEY=<your_key>

  3. $ gpyt

Or try this optional method for running gpyt if you don't have an api key:

  1. $ gpyt --free

Or try this optional method for running PaLM 2, Google's premier LLM:

  1. $ gpyt --palm
    • Be sure to set an api key at ~/.env with the field PALM_API_KEY

Or try out GPT4 w/ gpyt!

  1. $ gpyt --gpt4

Keybindings

  • ctrl-b -> Toggle Dark/Light Mode
  • ctrl-n -> Open Past Conversations Sidebar
  • ctrl-c -> Quit
  • ctrl-o -> Model Selection Menu
  • ctrl-t -> Open External Editor (for input)
  • ctrl-x -> hide input box (helpful for small screens)

TODO

  • add gpt jailbreaks (DAN-esque)
  • add special flags like -t (terse) or -v (verbose) or -d (detailed) or -i

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpyt-0.2.20.tar.gz (14.0 kB view hashes)

Uploaded Source

Built Distribution

gpyt-0.2.20-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page