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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for commandchat-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e72f02834d4be1abb416c5b92f824a9abf97885767f8cc02cdaaa17e77a27cc |
|
MD5 | 315d6f70fa42b7cf3400e28d09277f02 |
|
BLAKE2b-256 | 97fd3b2879608204447388d37bcc7fca710e5f1330785972f5e82edea83e0499 |