Skip to main content

Add your description here

Project description

chit

chit is a git-analogous system for managing LLM chat conversations in a Jupyter notebook. Install as pip install chitgpt.

The chit.Chat class has methods:

  • commit() for adding new messages (either user or assistant). For creating an assistant message, the message path leading up to the current checked-out message is sent to the LLM.
  • branch() for creating a new branch at the current checked-out message
  • checkout() for changing the checkout message.
  • push() for dumping data to a json file we call the remote
  • clone() a classmethod for initializing a chit.Chat object from a json file
  • sensible indexing and slicing
  • rm() for removing a branch
  • mv() for moving a branch
  • find() for finding in conversation history

We use litellm for the LLM completions, so use their model naming conventions. Vision is supported, including images from the clipboard like so: chat.commit("user", "Analyze this image.", image_path = 'CB').

See example.ipynb for some demonstration.

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

chitgpt-1.1.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chitgpt-1.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file chitgpt-1.1.0.tar.gz.

File metadata

  • Download URL: chitgpt-1.1.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for chitgpt-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e5bb2a9bedde745296becab0c87b69f6d0f8a14bcf7eb0de1029b3ab9a475a0a
MD5 ded99573cfe993f348a4b29385308930
BLAKE2b-256 e50bcb1591138fa75680a7c981b78a8c5b7e7712cee0b534564a31747e9e5a9b

See more details on using hashes here.

File details

Details for the file chitgpt-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: chitgpt-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for chitgpt-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d1a9005623841b6a27decc43fa9c93ceb842006d5c6ad4a457a57f4fd1790d6
MD5 40e10f579a090f551723ebf813ea8e77
BLAKE2b-256 694885073ea2f394cd9106115e378d0c18aa7c067026faa63dde38f1c4981136

See more details on using hashes here.

Supported by

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