use command to chat with openai models
Project description
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
defaultif you don't specify it):occ configure -profile - You can use the command
occ chatto chat with the chat-GPT modelgpt-3.5-turbo.
To be implemented
- You can use the
occ image -desccommand 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 -yyycommand 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.comorxoto@outlook.be
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file commandchat-0.0.14.tar.gz.
File metadata
- Download URL: commandchat-0.0.14.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca3bc84f9a5ba36aeaf77923c6198ed0ea5c300342c090142e4982d2e0f5d44e
|
|
| MD5 |
cf5e3164f92a790fc1424feff2c33a8f
|
|
| BLAKE2b-256 |
200422631a4798e66e5e0a8c4bdebb112849745003b37206d790377cea6b153f
|
Provenance
The following attestation bundles were made for commandchat-0.0.14.tar.gz:
Publisher:
publish-to-pypi.yml on cxoto/openai-commandchat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
commandchat-0.0.14.tar.gz -
Subject digest:
ca3bc84f9a5ba36aeaf77923c6198ed0ea5c300342c090142e4982d2e0f5d44e - Sigstore transparency entry: 1224376125
- Sigstore integration time:
-
Permalink:
cxoto/openai-commandchat@8e4a7370cfd4aab06d8eec905c4e36f38f19a9e5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/cxoto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8e4a7370cfd4aab06d8eec905c4e36f38f19a9e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file commandchat-0.0.14-py3-none-any.whl.
File metadata
- Download URL: commandchat-0.0.14-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fc6be27fe245dbfadbb3baa59ba0e586d750aeaaa0ff9d82c3a8638cf0f09e3
|
|
| MD5 |
59a7a719f885a6190d7de968a21a99a8
|
|
| BLAKE2b-256 |
037c3dc9c8f8740378ff6fdc2984bbb08aee2538074095f9817e47face3b2521
|
Provenance
The following attestation bundles were made for commandchat-0.0.14-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on cxoto/openai-commandchat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
commandchat-0.0.14-py3-none-any.whl -
Subject digest:
9fc6be27fe245dbfadbb3baa59ba0e586d750aeaaa0ff9d82c3a8638cf0f09e3 - Sigstore transparency entry: 1224376168
- Sigstore integration time:
-
Permalink:
cxoto/openai-commandchat@8e4a7370cfd4aab06d8eec905c4e36f38f19a9e5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/cxoto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8e4a7370cfd4aab06d8eec905c4e36f38f19a9e5 -
Trigger Event:
push
-
Statement type: