A CLI tool for ChatGPT.
Project description
ChatGPT CLI Client
Installation
Manual Installation
git clone https://github.com/hansololz/rubberduck-ai.git
cd rubberduck-ai
python setup.py install
Installation (pip)
pip install rubberduck-ai
Authentication
Authentication Token
The CLI tool requires Open AI authentication token. Token can be obtained by going to https://platform.openai.com/account/api-keys.
Authentication Methods
Choose one of these options to authenticate the CLI tool:
- Set the environment variable:
OPENAI_API_KEY=<AUTHENTICATION_TOKEN>. - Use a command argument:
rda --openai-api-key=<AUTHENTICATION_TOKEN>. - Enter the API key when prompted while running the CLI tool.
Usage
Evaluation Loop
Run the application:
rda
Supported Commands
- .n .new: Create new session
- .p .print: Print current session
- .s .sessions: Change chat session
- cd clear ls: Session supported bash commands
- cd cls dir: Session supported cmd commands
Single Prompt
Process a single prompt with:
rda <SINGLE_PROMPT> --openai-api-key=<AUTHENTICATION_TOKEN>
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
rubberduck-ai-0.6.0.tar.gz
(23.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rubberduck-ai-0.6.0.tar.gz.
File metadata
- Download URL: rubberduck-ai-0.6.0.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d76ec0da39ddbd8fc869a0a546caa0c5b1540f504e53746a61072f523f92d62
|
|
| MD5 |
d7f67f21b7e2be0928951606e0e93db2
|
|
| BLAKE2b-256 |
688492aaba7e31d1acc0c73736863e9fe1f5524abca07873451ec5f36136d4e3
|
File details
Details for the file rubberduck_ai-0.6.0-py3-none-any.whl.
File metadata
- Download URL: rubberduck_ai-0.6.0-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
105e5c8aef39047dde2cd34c7e240388fc8620cf29319fc89fed882f66f0e8df
|
|
| MD5 |
4e204cab4e20a3f568f58eba767bcaf6
|
|
| BLAKE2b-256 |
c753ed14492ad7f7cf75c6b179011e497f5dad55ca5f8b4c74fd0ebafbfef5af
|