Skip to main content

A library that takes the pain out of creating ChatGPT bots.

Project description

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?"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatgpt_bot-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

chatgpt_bot-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt_bot-0.1.1.tar.gz.

File metadata

  • Download URL: chatgpt_bot-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for chatgpt_bot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d32507af7b613b0434f4b51db663cc6741f0083548a884caf62fb43c226066d
MD5 8391e37baadf8c44df05d3e5129d711a
BLAKE2b-256 1b14ed40309ebb53b49187b1dfbf86c153d2aca6ed19cbbd74fc33e0e4b27d7a

See more details on using hashes here.

File details

Details for the file chatgpt_bot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: chatgpt_bot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for chatgpt_bot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 401046a202ea20a147b44599968a4dc2597e716b74942058544139ea380ca160
MD5 1f28865ffd0036ae235380c33b43a2cf
BLAKE2b-256 985540e33ecffbe7c1fa7bbd6c647e6711074cdc5db1773b386b53b9d73fee62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page