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.14.tar.gz
(12.7 kB
view details)
Built Distribution
gpyt-0.2.14-py3-none-any.whl
(17.9 kB
view details)
File details
Details for the file gpyt-0.2.14.tar.gz
.
File metadata
- Download URL: gpyt-0.2.14.tar.gz
- Upload date:
- Size: 12.7 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 | 6ecefe797b1b74f23dda86621e5d943b6cba41e643786f7d2bf48169d52228c8 |
|
MD5 | c5d2822f6cc6fb0cda627eae93cf91a7 |
|
BLAKE2b-256 | 8b7c320a1734daf947cafce4c2aa058631ef8c6393dc7f534cee8921759d850f |
File details
Details for the file gpyt-0.2.14-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.14-py3-none-any.whl
- Upload date:
- Size: 17.9 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 | b7fc3f4b585066f252a4bedb482fa50dfd8703ab2d56700da6bbf09a6c832f6b |
|
MD5 | 4a8295058685ab0f56edd0131a781365 |
|
BLAKE2b-256 | 322b334142e81fac19b6c56cc2c350b1d50f2aec20a321ce8ff2d28dd4d8fdc4 |