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.16.tar.gz
(12.8 kB
view details)
Built Distribution
gpyt-0.2.16-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file gpyt-0.2.16.tar.gz
.
File metadata
- Download URL: gpyt-0.2.16.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 | e44d20b227fe9e680114a07121c39e3bea70e947d85dd0352d6f2b647c789e31 |
|
MD5 | 6da4bf9d33ad92f446e6b999c80f2412 |
|
BLAKE2b-256 | b9b8e2895da1ea12c22657c9a11b3bd4a4a8a7559b6e31a63de7be50dbcac6f8 |
File details
Details for the file gpyt-0.2.16-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.16-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 | e9cc8fc9d7543f70f7f3799ee6749d1fa6cfd501b6f8f65b9c02c4f9ebc4d5fa |
|
MD5 | bcfa45a55f03f0a433237a7c161083d9 |
|
BLAKE2b-256 | a5e3a44ace9f58d68bf62cceb3577751e72454592946a18b329028683b80cd43 |