TGViewer
DPS Build DPS Build @dps_build · 1.01K subscribers
Post #575 416
相较于 JSON,TOON 能把传给 LLM 的 token 量减少30-60%,而准确性还有略微提高。

JS 刚发了 1.0 版,其他语言的版本都还是 beta

JSON
{
"users": [
{ "id": 1, "name": "Alice", "role": "admin" },
{ "id": 2, "name": "Bob", "role": "user" }
]
}


TOON

users[2]{id,name,role}:
1,Alice,admin
2,Bob,user

https://github.com/toon-format/toon
GitHub GitHub - toon-format/toon: 🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM… 🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks. - toon-format/toon
More from @dps_build
  1. Oct 1, 2026再次在釜山地铁体验了鬼打墙一般的体验: 1. 地铁入口的售票机可以买单词票,只接受现金和插入信用卡支付,不支持 tap 或者移动支付; 2. 单日票或者三日票不能在机器上购买,只能…
  2. Sep 24, 2026迄今为止买过的,最贵的 Apple 产品
  3. Sep 23, 2026看了下 DHL 的记录,从深圳到香港,然后就飞了。有意思的是,飞机还没飞,目的地的清关已经开始了。 door to door 不到24小时。可惜我不在家,错过了第一次投递😢
  4. Sep 22, 2026提前从深圳发货了,说是已经备货成功,物流准备提货了。提早了整整一个月,Apple 的供应链真厉害!
  5. Sep 20, 2026看到一个基于 jev 分类 tweets 情绪进而推测市场走向的项目,不尽感慨。 从 jev 出来到现在不过四五天就出来这个项目; 还没 ChatGPT 之前,还在 deep le…
  6. Sep 18, 2026更高潮的来了,客户给的参考收入是他们四个市场收入。目标是希望明年在新渠道做到这四个市场的一半。 结果呢,这个负责项目的小朋友既没问清楚要从四个市场一起做,还是优先做哪个市场。也没问…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →