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.

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.0.0.tar.gz (9.6 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.0.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chitgpt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cf62d6bcf5d0235c094cb7895a1dada093e40b8952e85b0f48237ea7397463f3
MD5 2d6e05a8dc2d64ea76b61d62dd1dde04
BLAKE2b-256 3e920f65377f0a2f8e3ef8ed1d305828c922d748a1daa1dc3eaae2ac1c1266e2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chitgpt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a18ac7992a5818728f84553d86eab63fad5c93402155bfbc09ff5acc7b8ff18
MD5 48496d818cd665acc388286e411b8bfa
BLAKE2b-256 e8dd4393165faf89ff9d012c0e44c28420f877aa5499d4d1b69f2926c3bf1b17

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