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
open-coder-0.5.8.tar.gz
(23.0 kB
view hashes)
Built Distribution
open_coder-0.5.8-py3-none-any.whl
(26.2 kB
view hashes)
Close
Hashes for open_coder-0.5.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a478a5239c70993d2c7e7fc83084fcc1e9ba88625335902a0244d80375c51431 |
|
MD5 | 0845fc391df5c360c1670255b3bac014 |
|
BLAKE2b-256 | 01657045a3ccb31ec00d84f424ae83ffe7ee635743e2d58741858cd1c814590c |