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.2.tar.gz
(15.2 kB
view hashes)
Built Distribution
pyChatGPT-0.0.2-py3-none-any.whl
(15.4 kB
view hashes)
Close
Hashes for pyChatGPT-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e3fff7185a1cabf889dabe0b4f087e6a427e3e3f375534ee4b03d2e7250cf6 |
|
MD5 | 429a4bb2a4ff01ab1ee4fa29db62c708 |
|
BLAKE2b-256 | 76b9455bf656cf23206804fca300dba86445cbbbe4fdcc39b3a7ba16d9eb5fd9 |