Crates.io | llm-minify |
lib.rs | llm-minify |
version | 0.1.1 |
source | src |
created_at | 2023-04-09 17:15:24.540247 |
updated_at | 2023-04-11 22:59:45.377946 |
description | shrink files when pasting into LLMs |
homepage | |
repository | |
max_upload_size | |
id | 834436 |
size | 11,227 |
Minimize the number of tokens a file requires for an LLM to understand it. For instance:
<xml>
<foo>
<bar>baz</bar>
</foo>
</xml>
becomes
a=xml,b=foo,c=bar
<a><b><c>baz</c></b></a>