Metadata-Version: 2.4
Name: chatml-llm
Version: 0.2
Summary: ChatML for LLM
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# ChatML

Simple functions to convert raw text to ChatML
(LLMs speak ChatML)



\## Installation



just

```bash

pip install chatml-llm

```



\## Usage



```Python

from chatml import ChatML



ai = ChatML(role="assistant") # or however you name it


ai.build("Hi, how can I help you?") # self.text inside build is now ChatML'ed string you gave inside



text = ai.build("...", format="str") # returns ChatML'ed text you put inside

```

