Skip to main content

A chat gpt command line client with extra features"

Project description

CLI Companion

CLI Companion is a command line tool that you can use to ask questions and get responses back from a virtual companion. You can also review previous questions and responses.

Installation

First you need get an api key for chat-gpt. Then you create an environment variable named $CHATKEY

bash

export CHATKEY=<your-key>

fish

set CHATKEY=<your-key>

Using pip

pip install chat-companion

Using Poetry

poetry add chat-companion

Usage

run companion --help

To see the list of commands.

custom commands
===============
generate_response  proof_read   review     talk     
help               resummarize  summarize  translate

Talk

To ask a question, use the talk subcommand. For example:

companion talk "What is your name?"

Review

To review previous questions and responses, use the review subcommand. This will bring up a list of previous questions. You can then select a question to view the response.

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

chat_companion-0.2.0.tar.gz (23.4 kB view details)

Uploaded Source

Built Distribution

chat_companion-0.2.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file chat_companion-0.2.0.tar.gz.

File metadata

  • Download URL: chat_companion-0.2.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.9 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for chat_companion-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd55444efdd42b7d8efce15e869a635cb4aa342f08eb077113039c44c49791ab
MD5 2fca40fbc13d41d9a6875968dba9e641
BLAKE2b-256 9f685c120c1da5d122f1675ef4f9f31e7b0ab2aee1d71d8685f22cecae06fb1d

See more details on using hashes here.

File details

Details for the file chat_companion-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chat_companion-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.9 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for chat_companion-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce17868a965cad2900da56b65d37df0a5fcbb7b25a4838025a31f86e5bf361d3
MD5 a2add2f110ec42d9379854038dfba5a7
BLAKE2b-256 3b17dfa45b3ff0ab28d3bc14ba25aed55d3b159ce00c7a4f4a5f1a57e575a431

See more details on using hashes here.

Supported by

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