TOON экономит токены
Token-Oriented Object Notation (TOON) toon.encode() JSON TOON tokens: ≈ save 40–60% sample: JSON → { "tags": ["jazz", "chill", "lofi"] } TOON → tags[3]: jazz,chill,lofi
An infographic compares JSON with TOON, showing how toon.encode() converts a verbose object into a more compact notation and saves approximately 40–60% of tokens. The joke is that the same information can be packed into a much shorter format, making it useful for LLM context limits and cost savings. Текстовая инфографика сравнивает JSON и TOON и показывает, как toon.encode() преобразует подробный объект в более компактную запись, экономя примерно 40–60% токенов. Шутка заключается в том, что ту же информацию можно упаковать в гораздо более короткий формат, что полезно для ограничений контекста LLM и экономии средств.
infographic / инфографикаJSON code box / блок кода JSONTOON code box / блок кода TOONarrow / стрелкаhatched conversion area / заштрихованная область преобразованияblue token bar / синяя полоса токеновdotted outline / пунктирный контурsample code / пример кодаtext labels / текстовые подписиcream background / кремовый фонdark blue footer / тёмно-синий нижний блок
- @ithueti / 17130 2025-10-28
- Type
- image
- Size
- 800×420 · 36.5 KiB
- Mood
- informative, ironic
- Language
- en
- Added