Skip to main content

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
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


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.5.5.tar.gz (11.4 kB view details)

Uploaded Source

Built Distributions

rubberduck_ai-0.5.5-py3.11.egg (45.0 kB view details)

Uploaded Source

rubberduck_ai-0.5.5-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file rubberduck-ai-0.5.5.tar.gz.

File metadata

  • Download URL: rubberduck-ai-0.5.5.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for rubberduck-ai-0.5.5.tar.gz
Algorithm Hash digest
SHA256 203edbf9f7606f1458719ea4164cd022e431dbf011e8c4d0d27fa3860ea96360
MD5 26675d2e88a5d81be1ac20bcdad1b66f
BLAKE2b-256 4f91d8902c54537adfeeccadd9ae5a85899fe321031c11cb25671d6d6778653a

See more details on using hashes here.

File details

Details for the file rubberduck_ai-0.5.5-py3.11.egg.

File metadata

  • Download URL: rubberduck_ai-0.5.5-py3.11.egg
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for rubberduck_ai-0.5.5-py3.11.egg
Algorithm Hash digest
SHA256 96153592385b5f0eccf38da2bcaf65e2669ed35e34d4dd4e5b22b540e7c288f3
MD5 5a2980c904728b711e17edd27c375d33
BLAKE2b-256 8db4a9e2020d045e956a8f03cb7e0dc1a6cc2e9bbc831891201cbff3f8d1bd18

See more details on using hashes here.

File details

Details for the file rubberduck_ai-0.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for rubberduck_ai-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 98fa1b7d5e94a6161bbdbd7a02525fc1cb1acd1ed18fa7d2ffd51d69976afee5
MD5 36b90bf412232968ed9789fd1f50fbfc
BLAKE2b-256 0d993b79c17bea62705b1043fd9849467af8677020ca8d229bdd49962bca5757

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page