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
default
if you don't specify it):occ configure -profile
- You can use the command
occ chat
to chat with the chat-GPT modelgpt-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
orxoto@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
commandchat-0.0.4.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file commandchat-0.0.4.tar.gz
.
File metadata
- Download URL: commandchat-0.0.4.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f849ac487d1d0c57c47fdb584dc2926e47c7a6df9f4e18b94367042fc898f03b |
|
MD5 | 13487cf2e23d876e2d4312a6d9c20b79 |
|
BLAKE2b-256 | 36d4dbdbefb027fc7640b111c8fe1c296805412365d9231b2b84b48ec2ca18f9 |
File details
Details for the file commandchat-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: commandchat-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b532963638bb15fcb1f2b60d4ade339adc5d03f734277f2a7f13f7e65fd1337 |
|
MD5 | dd4c0182927c6a81fec3de9c01fccaf9 |
|
BLAKE2b-256 | e710910e2ad7a4c79b5b18edf83f9d530d0b667dc9fadcf4333210bb14497a73 |