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
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.19.tar.gz
(13.7 kB
view details)
Built Distribution
gpyt-0.2.19-py3-none-any.whl
(18.8 kB
view details)
File details
Details for the file gpyt-0.2.19.tar.gz
.
File metadata
- Download URL: gpyt-0.2.19.tar.gz
- Upload date:
- Size: 13.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 | 9fdf4caa19053719158924c750dc92cbdebff4199b08ace44f621f3a0e4e4c20 |
|
MD5 | f0bf7aea2a0c96462c476b9f83647ccf |
|
BLAKE2b-256 | 38f790080b84b6773ae6d45767a968b1ec21510a11e2ec6aa0bfdd4df8767ea7 |
File details
Details for the file gpyt-0.2.19-py3-none-any.whl
.
File metadata
- Download URL: gpyt-0.2.19-py3-none-any.whl
- Upload date:
- Size: 18.8 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 | 44a80ea01107a60bc45fffe7e42d915610e0949573694a62002c60840d58f726 |
|
MD5 | 4872977753ac2d7f85708e8187ebd5b4 |
|
BLAKE2b-256 | 3c8c19d3b1e249f35381f2bbe52e4ace62e4d5a59cae48c0b00a6970fbe43d74 |