Skip to main content

use command to chat with openai models

Project description

English | 中文

openai-commandchat

Quick start

Use this command line to install the python packages:

pip3 install commandchat

Or use the following command line to guide you to a specific python version, if you have multiple versions of python locally

python3.x -m pip3 install commandchat

Features

  • You can set the api_key for openai with a simple command, and you can distinguish the key for your multiple accounts with a profile (default default if you don't specify it): occ configure -profile
  • You can use the command occ chat to chat with the chat-GPT model gpt-3.5-turbo.

To be implemented

  • You can use the occ image -desc command with chat-GPT's model to describe the image you want to generate, giving you back a link to the image.
  • You can use the occ xxx -yyy command to chat with a specified model of chat-GPT to complete a task you specify or give you advice.
  • Others not yet thought of

Requirements

A terminal with Python and pip installed:

  • Installed python environment and python version >= 3.9
  • Install the openai package

Installing

pip3 install commandchat

Uninstall

pip3 uninstall commandchat

Feedback or questions

  • You can send an email to: xxx.tao.c@gmail.com or xoto@outlook.be

License

MIT

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

commandchat-0.0.13.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commandchat-0.0.13-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file commandchat-0.0.13.tar.gz.

File metadata

  • Download URL: commandchat-0.0.13.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for commandchat-0.0.13.tar.gz
Algorithm Hash digest
SHA256 159a3822e954b4ba7c5bf696b5a731a72235c1af387c23c82f843dc075f4bb63
MD5 8640b7b68c8d5c4dda3a6f0681679c77
BLAKE2b-256 36fd9b79a7d35d824b70a92350084f3907283f84b9dfbcea0fe482867a40525c

See more details on using hashes here.

Provenance

The following attestation bundles were made for commandchat-0.0.13.tar.gz:

Publisher: publish-to-pypi.yml on cxoto/openai-commandchat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file commandchat-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: commandchat-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for commandchat-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 05954a6ce884efc5f491573305b171770e9a538c3ee8a256d3a9ded814b50604
MD5 007c5920759b7fb84c1188bdc66f223e
BLAKE2b-256 6d8bebd69f8119d1d2060c3d4b8e3d64baa4b5c92d5ad1421e72dacb1849f766

See more details on using hashes here.

Provenance

The following attestation bundles were made for commandchat-0.0.13-py3-none-any.whl:

Publisher: publish-to-pypi.yml on cxoto/openai-commandchat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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