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
commandchat-0.0.12.tar.gz
(9.9 kB
view details)
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.12.tar.gz.
File metadata
- Download URL: commandchat-0.0.12.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2d30c324b237efb445604cebbba25b581ad55568d1ba9e247bbcc11285d70ad
|
|
| MD5 |
4af999c30700527a0b2d32417c35bbc4
|
|
| BLAKE2b-256 |
c972ad36859da1aa1b86024bac002bc703b05fefef54c753436c299de65ddbb2
|
File details
Details for the file commandchat-0.0.12-py3-none-any.whl.
File metadata
- Download URL: commandchat-0.0.12-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9877d5b00ebb8f70e3b59445f0432119b4a9c07c3670c37c15253c5f2b7ee873
|
|
| MD5 |
c078e783873e69f1304b138bc965bf68
|
|
| BLAKE2b-256 |
da7dccc26dcd174c688932284155d75ed13e34eeaf61b01c51eed4e78664429c
|