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.6.tar.gz (7.9 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.6-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commandchat-0.0.6.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for commandchat-0.0.6.tar.gz
Algorithm Hash digest
SHA256 79b221c9ec7fc4a7e6d8bae7e5e238aeb00e518ba62030a3b9656667a22040ad
MD5 adc21d11fad6f2e04f6c612e135f1137
BLAKE2b-256 2ca95cb5d7bc085ff1de3644036b8090e597344b6a9c0799d9a5e19e5949e403

See more details on using hashes here.

File details

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

File metadata

  • Download URL: commandchat-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for commandchat-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f461c27f4f9d1a0a35b3b130d68b3ce81d6e53a4d06f2154ce67935feb47f718
MD5 0bc982dfbfe32f3230204c40073fbcd2
BLAKE2b-256 1e66b53748b7065c96c3619c92236450eb7efe33bdc69c669ae5ca34293badb6

See more details on using hashes here.

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