Skip to main content

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 llmir import AIMessages, AIMessage, AIMessageToolResponse, AIRoles, AIChunks, AIChunkText, AIChunkFile, AIChunkImageURL, AIChunkToolCall, AITool

Metadata

Release files for llmir 0.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llmir 0.0.21
File Size Uploaded
llmir-0.0.21.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llmir 0.0.21
File Interpreter ABI Platform
llmir-0.0.21-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / llmir-0.0.21.tar.gz

Download URL llmir-0.0.21.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8ce319ac79d9a3ef98178ff1f56cb2d5a20f9bd28538aea0a5274f27458a2374
BLAKE2b-256 checksum
How to use checksums
0f6b8f6e958b2e3c85c62b261f672ed15f0153e9eeca4f2b31e8aa7d1d154277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.

Transparency log

Release files / llmir-0.0.21-py3-none-any.whl

Download URL llmir-0.0.21-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4beb97471af5d8f323a3da96b724d312b76ab8cc54f70a06e5136b8c27ebed23
BLAKE2b-256 checksum
How to use checksums
8031f29516c2b19d47c98b425d49cd5521cbf39a5e74fad520cf0833203ab12c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.21 This release

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page