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.22.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

gpyt-0.2.22-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file gpyt-0.2.22.tar.gz.

File metadata

  • Download URL: gpyt-0.2.22.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for gpyt-0.2.22.tar.gz
Algorithm Hash digest
SHA256 3fa8c9c76120da352cd39baa2ba3f8d5dba0a55350a4c3f3025d7e12c97d5fea
MD5 908b2d52ff7c4a7325a9e5fd4c9a77f1
BLAKE2b-256 5db1484f4bc1d97a89006ddc71e4f567b2de3aaffa93a166ddd969f1b7febb35

See more details on using hashes here.

File details

Details for the file gpyt-0.2.22-py3-none-any.whl.

File metadata

  • Download URL: gpyt-0.2.22-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.0 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for gpyt-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 34f9c78b34bd5f352efeab660e6f0675f417a2b5847b7cfe7653e6e593df798b
MD5 bdc5211e57094541a9745803dcf0ea12
BLAKE2b-256 f30d341eee1e96da6a6ddba1f6b5fa5dc3dd4b4488ee494c1950ea0bbaac4918

See more details on using hashes here.

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