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

Uploaded Source

Built Distributions

rubberduck_ai-0.5.4-py3.11.egg (44.9 kB view details)

Uploaded Source

rubberduck_ai-0.5.4-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rubberduck-ai-0.5.4.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.4.tar.gz
Algorithm Hash digest
SHA256 daa2db39bf2cb559aad071db5f3764933350f4b951eae1c67faa96e5f5ef533d
MD5 7e78ebfd3f69ca8ae213eb8404992d27
BLAKE2b-256 d55621a5704d21ca391ac1c7438314c163ff89dea8d9d9f4f516852bc2e210ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rubberduck_ai-0.5.4-py3.11.egg
  • Upload date:
  • Size: 44.9 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.4-py3.11.egg
Algorithm Hash digest
SHA256 4d5c8e3708ee846c5af86ab55959230bcc5e8474040d793d1a0e760e7a8328a1
MD5 db088b109af369e2b97feadda7a96267
BLAKE2b-256 eabffbb94c36dd4938be8ca7ac7e0f6409b40967aa30a926433231d2756c67ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rubberduck_ai-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1bb8a6100b439132d62591e221f88dbd3301d565cbc4563db89bd90de2a9b8d6
MD5 1e5f2aee26e18058ca284c6a613764a0
BLAKE2b-256 3c5000faed298a2f06a13ab69aa1431a438592f337813d85b6057f0d629f1892

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