An unofficial Python wrapper for OpenAI's ChatGPT API
Project description
pyChatGPT
An unofficial Python wrapper for OpenAI's ChatGPT API
Getting Started
Installation
pip install pyChatGPT
Usage
from pyChatGPT import ChatGPT
session_token = 'abc123'
api = ChatGPT(session_token)
resp = api.send_message('Hello, world!')
print(resp['message'])
Insipration
This project is inspired by
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
pyChatGPT-0.0.1.tar.gz
(15.0 kB
view hashes)
Built Distribution
pyChatGPT-0.0.1-py3-none-any.whl
(15.2 kB
view hashes)
Close
Hashes for pyChatGPT-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52999124e14267471840cd6dde7edd4dc7d37925873980ad268d93918d3cd6f9 |
|
MD5 | 0df14e5311004c704df6cea6102216df |
|
BLAKE2b-256 | 2477641c113a24e887d0efd5ba9378655fce3181987499f640f621106c8ac146 |