Skip to main content

Core message and tool IR for LLM pipelines

Project description

Intermediate Representation for LLM Chats

Pipy Downloads Issues Type Check Deploy Docs Documentation

This repository provides the core types for a standardized way to represent messages for LLMs. Additional chunk-types will be added in the future.

Installation via Pypi:

pip install llmir

Imports:

from llm_ir import AIMessage, AIRoles, AIChunks, AIChunkText, AIChunkFile, AIChunkImageURL

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

llmir-0.0.18.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.

llmir-0.0.18-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file llmir-0.0.18.tar.gz.

File metadata

  • Download URL: llmir-0.0.18.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llmir-0.0.18.tar.gz
Algorithm Hash digest
SHA256 61e0655ea6e63e45c14a3bec27d01d320a9213b0aecc4d5887c464730da766d5
MD5 79740d9a0c29c3378a8402e822bf0a1b
BLAKE2b-256 9ef147328e17c8d0f8c620b3a79b5624d61638f9c29d835ef3e3399338eab0af

See more details on using hashes here.

Provenance

The following attestation bundles were made for llmir-0.0.18.tar.gz:

Publisher: publish.yml on mathisxy/llmir

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llmir-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: llmir-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llmir-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 4810f9154e027b6ba8a14eae713fbb1b6d731b93f398a3328cfbf082f3aa145d
MD5 df3a0b4520529f21969f3cae8e6e3f99
BLAKE2b-256 4d8eb4a4706ef0942fc8751363d2e3df4a01eeaa0c683c8c31f972450d7309e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for llmir-0.0.18-py3-none-any.whl:

Publisher: publish.yml on mathisxy/llmir

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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