Use openai chat-gpt on your cli
Project description
Use openai chat-gpt on your CLI
cgpt
is a Python module that allows you to use Chat-GPT directly in your favorite Terminal.
REQUIREMENTS
- python >=3.7
- openai API KEY :
You need to register on openai to receive your own api key , here : api_key.
SETUP
pip install cgpt
😌 VERIFY IF IT IS CORRECTLY INSTALLED
cgpt hello
⏯️ GET VERSION
cgpt version
🚀 RUN
cgpt tellme
🔗 CGPT INSIDE A LOCAL NETWORK
You can use cgpt inside a LAN.
- You just need one Host (
connected to internet
) to be the server. - Other Hosts (
not connected to internet
) can ALWAYS use Chat GPT asclient
.
NOTES :
-
For now , a server must be launched inside a
Linux
computer . If the server is insideWindows
: the address is sometimes wrong (to be fixed in the next version). -
Also , make sure that your
/etc/hosts
is configured correctly like :
127.0.0.1 localhost
127.0.1.1 your-hostanme
- A
client
can also use his own api_key in the next version.
GITHUB
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
cgpt-1.1.25.tar.gz
(8.2 kB
view hashes)
Built Distribution
cgpt-1.1.25-py3-none-any.whl
(9.5 kB
view hashes)