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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmir-0.0.17.tar.gz
  • Upload date:
  • Size: 8.8 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.17.tar.gz
Algorithm Hash digest
SHA256 51a29e2e12d7cbfb065c91bbb39da31c3b2b7877671d0abd2580bdc9e35a60cc
MD5 56ff85c89c2e7b9c6a1f8ce81487e883
BLAKE2b-256 09ac21050232009b8d4ff565987b3f2c1676ccc0a9eaef1907b8ff1d123161f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for llmir-0.0.17.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.17-py3-none-any.whl.

File metadata

  • Download URL: llmir-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 2fc9af3afc2a46117e777abdb42cb3443eac69901a9059d8b6e66979f1f58617
MD5 ca288c4a8d511e694f7fffd307599457
BLAKE2b-256 da7cdf9b37e23f64225b2d7414f7cc2312f12c7559e60037bf9b87e13ea5fcf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for llmir-0.0.17-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