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
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
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.17.tar.gz
(13.1 kB
view details)
Built Distribution
gpyt-0.2.17-py3-none-any.whl
(18.3 kB
view details)
File details
Details for the file gpyt-0.2.17.tar.gz
.
File metadata
- Download URL: gpyt-0.2.17.tar.gz
- Upload date:
- Size: 13.1 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 | ebcae6f1aff7629aabf27f69cb38d1a97bb6297496b7f5e7f40cf26795993fa7 |
|
MD5 | 73fb71f98fef99aac7a9e3531b2d6345 |
|
BLAKE2b-256 | 3fb70bc65adc06ac320c0b4917b93264c28f577ca42f23aedfa17e46d466213d |
File details
Details for the file gpyt-0.2.17-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.17-py3-none-any.whl
- Upload date:
- Size: 18.3 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 | cbb958f81c2166dd3aa7c6e7dabecfdf2ccea7025f634813cede95940a1166d6 |
|
MD5 | 9e571636583812f068727c6594bf2f55 |
|
BLAKE2b-256 | 2e9ec05d550daac9bc1e20c57363ac3034799a734735274cd79ae70614354f2c |