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
Markdown Support
Installation & Usage
-
$ pip install gpyt
-
add
OPENAI_API_KEY="<your_openai_api_key>"
in a.env
at $HOME orexport OPENAI_API_KEY=<your_key>
-
$ gpyt
Or try this optional method for running gpyt if you don't have an api key:
$ gpyt --free
Or try this optional method for running PaLM 2, Google's premier LLM:
$ gpyt --palm
- Be sure to set an api key at
~/.env
with the fieldPALM_API_KEY
- Be sure to set an api key at
Or try out GPT4 w/ gpyt!
$ gpyt --gpt4
Keybindings
ctrl-b
-> Toggle Dark/Light Modectrl-n
-> Open Past Conversations Sidebarctrl-c
-> Quitctrl-o
-> Model Selection Menuctrl-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
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 gpyt-0.2.23.tar.gz
.
File metadata
- Download URL: gpyt-0.2.23.tar.gz
- Upload date:
- Size: 14.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e995339cf75a415883f4c306fa86efff78248ef08da6e540141b25d522f1eef6 |
|
MD5 | 4d05a93d61b872eaa09c4ced31e3763b |
|
BLAKE2b-256 | 550461e042858c09071d8a9dd5aa6032d426ddb9c9bd3b103d219f1e55d43bd4 |
File details
Details for the file gpyt-0.2.23-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.23-py3-none-any.whl
- Upload date:
- Size: 20.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab1cdade5c2e97f621b3317e5ed1f296a06cbb420f9df5af3766a6f5e4f2a2fc |
|
MD5 | 29f6a2fd8d4041705184df6cd9a537ca |
|
BLAKE2b-256 | 402a30c9f19dfe5def7310330d67bd790afb48f2dfd76a1297630afc2e653f8e |