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
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
Keybindings
ctrl-b
-> Toggle Dark/Light Modectrl-n
-> Open Past Conversations Sidebarctrl-c
-> Quitctrl-o
-> Model Selection Menu
TODO
-
copy
to copy GPT's response to clipboard - add gpt jailbreaks (DAN-esque)
- add special flags like -t (terse) or -v (verbose) or -d (detailed) or -i
- (informal) or -f (for file input) or --dan (for jailbreak)
- model select CLI
- add API_KEY from CLI
- gpt4free integration (
for 3.5and 4) - refactor the f**k out of
app.py
- copy/pasting with mouse
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
gpyt-0.2.15.tar.gz
(12.8 kB
view details)
Built Distribution
gpyt-0.2.15-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file gpyt-0.2.15.tar.gz
.
File metadata
- Download URL: gpyt-0.2.15.tar.gz
- Upload date:
- Size: 12.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 | 39eca5030248a9c95e3569dc7047ed101670dc1c8a95968968be1339e00efe78 |
|
MD5 | 5dc79b5fbf4cb36e36938e90f8fba633 |
|
BLAKE2b-256 | 3da338c9c42feaeb14b502f1bb463bc03ea131365a7055bcd591fa0c17948a4b |
File details
Details for the file gpyt-0.2.15-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.15-py3-none-any.whl
- Upload date:
- Size: 18.0 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 | 305d39966a8db4f45bd67669159c47c92d49b684706455a8e76b91458a5f753c |
|
MD5 | aea98a90d74fca3a32fd360e24fb0c57 |
|
BLAKE2b-256 | 78f5860521b050549fa7ccc5a089f3e65252bf29fdd3c69eac69839d88e3062d |