A CLI tool for ChatGPT.
Project description
# ChatGPT command-line client
## Installation
### Manual Installation
git clone https://github.com/hansololz/rubberduck-ai.git cd rubberduck-ai python3 setup.py install
### Installation (pip)
pip3 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
Built Distribution
File details
Details for the file rubberduck-ai-0.3.1.tar.gz
.
File metadata
- Download URL: rubberduck-ai-0.3.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28920c0bc2883bbf76d7a7296e66d41af2091e6cee5f31fe7c7bef838e29abf6 |
|
MD5 | 646a41339327bbc6b423e028109cad26 |
|
BLAKE2b-256 | 799faadda3c8beaa83e82ae50014b460245698f689cea9c0d044195157b426bb |
File details
Details for the file rubberduck_ai-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: rubberduck_ai-0.3.1-py3-none-any.whl
- Upload date:
- Size: 19.4 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 | 13a72acaf2ceece1a97b29f2c07d34d04ddab38b5d5b70b779525ae9046b2521 |
|
MD5 | d9df20caad9ba66fb12fd1108eb55b96 |
|
BLAKE2b-256 | 6c872b722681e766ed6c46e6c286cdc517a7e1622c2815adf0de78219a974ff6 |