ChatGPT Bot
This is a small library that tries to make it easier to create a ChatGPT bot. It has a simple interface that keeps conversational context in a SQLite database:
from chatgpt_bot import Conversation
>>> conversation = Conversation("some random ID", api_key="YOUR_OPENAI_API_KEY")
>>> conversation.ask("Hi, how are you today?")
"As an AI language model, I don't have feelings, but I'm always ready to assist you
with any questions or tasks you have. How can I help you today?"
>>> conversation.set_metadata({"anything": "here"})
>>> conversation.get_metadata()
{"anything": "here"}
Metadata
Release files for chatgpt-bot 0.2.1
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 |
|---|---|---|---|---|
| chatgpt_bot-0.2.1.tar.gz | 3.0 kB | Without provenance | Details for chatgpt_bot-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chatgpt_bot-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for chatgpt_bot-0.2.1-py3-none-any.whl |
Total release size: 6.2 kB
Release files / chatgpt_bot-0.2.1.tar.gz
| Download URL | chatgpt_bot-0.2.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ebafbd6f4d98f095305abecc4d8bf3dd516c9d8df7ebe36f04b8c617c780cd6
|
|
BLAKE2b-256 checksum How to use checksums |
172c0f745d2dc683908523504dba97653da7698f910126078ae0feff3132a8a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / chatgpt_bot-0.2.1-py3-none-any.whl
| Download URL | chatgpt_bot-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8eca6dd8322efdb3a758b072b45f2cc9c9e698c6ec6a9c2ceceaf93dd3758e37
|
|
BLAKE2b-256 checksum How to use checksums |
2a66e74b54cd702e3b917308bc4edadeb7dd6392f1e2bd0c880e215f19684d0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for chatgpt-bot 0.2.1
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.