Metadata-Version: 2.4
Name: llmir
Version: 0.0.17
Summary: Core message and tool IR for LLM pipelines
Author: Mathis Siebert
Project-URL: Homepage, https://github.com/mathisxy/llmir
Project-URL: Documentation, https://mathisxy.github.io/llmir/
Project-URL: Repository, https://github.com/mathisxy/llmir
Project-URL: Issues, https://github.com/mathisxy/llmir/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Software Development :: Libraries
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.0
Requires-Dist: rich>=14.0
Provides-Extra: dev
Requires-Dist: pyright; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: coverage; extra == "dev"
Provides-Extra: docs
Requires-Dist: mkdocs; extra == "docs"
Requires-Dist: mkdocs-material; extra == "docs"
Requires-Dist: mkdocstrings[python]; extra == "docs"
Requires-Dist: mkdocs-awesome-pages-plugin; extra == "docs"
Dynamic: license-file

# Intermediate Representation for LLM Chats

[![Pipy](https://img.shields.io/pypi/v/llmir)](https://pypi.org/project/llmir/)
[![Downloads](https://img.shields.io/pypi/dm/llmir)](https://pypi.org/project/llmir/#files)
[![Issues](https://img.shields.io/github/issues/mathisxy/llmir)](https://github.com/mathisxy/llmir/issues)
[![Type Check](https://github.com/mathisxy/llmir/actions/workflows/typecheck.yml/badge.svg?branch=main)](https://github.com/mathisxy/llmir/actions/workflows/typecheck.yml)
[![Deploy Docs](https://github.com/mathisxy/llmir/actions/workflows/docs.yml/badge.svg)](https://github.com/mathisxy/llmir/actions/workflows/docs.yml)
[![Documentation](https://img.shields.io/badge/Docs-GitHub%20Pages-blue)](https://mathisxy.github.io/llmir/)

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:

```bash
pip install llmir
```

## Imports:

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