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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llmir-0.0.21.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for llmir-0.0.21.tar.gz
Algorithm Hash digest
SHA256 8ce319ac79d9a3ef98178ff1f56cb2d5a20f9bd28538aea0a5274f27458a2374
MD5 f1048a7a85c9de9daa12e7e4e0311a02
BLAKE2b-256 0f6b8f6e958b2e3c85c62b261f672ed15f0153e9eeca4f2b31e8aa7d1d154277

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: llmir-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for llmir-0.0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 4beb97471af5d8f323a3da96b724d312b76ab8cc54f70a06e5136b8c27ebed23
MD5 d9be8ff7c5312cad8af95b69a41d13b7
BLAKE2b-256 8031f29516c2b19d47c98b425d49cd5521cbf39a5e74fad520cf0833203ab12c

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

This release

0.0.21 This release

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

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