DevGround
ChatGPT API wrapper
This is a wrapper for the ChatGPT API by DevGround.
Model
gpt-3.5-turbo
License
It is licensed under the MIT license.
Language
Written in Python 3.11
Requirements
requires environment variables:
- OPENAI_API_KEY
Installation
install the package with pip:
pip install dg_chatgpt_api
Usage
from dg_chatgpt_api import ChatGPTAPI as api
api.reconnect()
api.add_user("user_id", "username")
api.add_conversation("user_id")
message = {
"role": "user",
"content": "message"
}
response = api.get_response("user_id", message)
Metadata
Release files for dg-chatgpt 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dg_chatgpt-0.1.5.tar.gz | 4.4 kB | Without provenance | Details for dg_chatgpt-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dg_chatgpt-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for dg_chatgpt-0.1.5-py3-none-any.whl |
Total release size: 9.6 kB
Release files / dg_chatgpt-0.1.5.tar.gz
| Download URL | dg_chatgpt-0.1.5.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
becee58b8c6f93c19dd977efc5226391ba83f402e1df1492f0d95743ce90e7aa
|
|
BLAKE2b-256 checksum How to use checksums |
e9435157c677a9554067d06ae4603bc31f8eccb57053d27b796620034c1b1dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / dg_chatgpt-0.1.5-py3-none-any.whl
| Download URL | dg_chatgpt-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
396e71cdd24dbe08a4c373e311f8226399065ef4a6d3c30d2ca4e4b7d015e138
|
|
BLAKE2b-256 checksum How to use checksums |
e08d020f787fc46dfc04721af6f7e994669104ed6d454692fe328715cebf3550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for dg-chatgpt 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.