A CLI tool for ChatGPT.
Project description
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 Distributions
Hashes for rubberduck_ai-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f0b68cc49b199ba39b54db5904bca017af83247b58bd22d350f9bc65c30829b |
|
MD5 | 741cb8eaf254d642f1582d26a086e857 |
|
BLAKE2b-256 | 62d4b87ad1915ca51d3d52bafa4688b7c9f4b9f053b9156fe0656f3c75a44f34 |