mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
docs: add tip
This commit is contained in:
@@ -9,6 +9,9 @@ AI is becoming cheaper and more accessible, but larger context windows allow for
|
||||
- Tabularizing arrays of objects
|
||||
- Writing inline primitive arrays without spaces
|
||||
|
||||
> [!TIP]
|
||||
> Wrap your JSON in `encode()` before sending it to LLMs and save ~2/3 of the token cost!
|
||||
|
||||
## Token Benchmarks
|
||||
|
||||
<!-- automd:file src="./docs/benchmarks.md" -->
|
||||
|
||||
Reference in New Issue
Block a user