mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
docs: overhaul TOON example
This commit is contained in:
@@ -43,7 +43,7 @@ AI is becoming cheaper and more accessible, but larger context windows allow for
|
|||||||
{
|
{
|
||||||
"context": {
|
"context": {
|
||||||
"task": "Our favorite hikes together",
|
"task": "Our favorite hikes together",
|
||||||
"homeBase": "Boulder",
|
"location": "Boulder",
|
||||||
"season": "spring_2025"
|
"season": "spring_2025"
|
||||||
},
|
},
|
||||||
"friends": ["ana", "luis", "sam"],
|
"friends": ["ana", "luis", "sam"],
|
||||||
@@ -82,7 +82,7 @@ AI is becoming cheaper and more accessible, but larger context windows allow for
|
|||||||
```yaml
|
```yaml
|
||||||
context:
|
context:
|
||||||
task: Our favorite hikes together
|
task: Our favorite hikes together
|
||||||
homeBase: Boulder
|
location: Boulder
|
||||||
season: spring_2025
|
season: spring_2025
|
||||||
|
|
||||||
friends:
|
friends:
|
||||||
@@ -118,7 +118,7 @@ TOON conveys the same information with **even fewer tokens**, while keeping the
|
|||||||
```toon
|
```toon
|
||||||
context:
|
context:
|
||||||
task: Our favorite hikes together
|
task: Our favorite hikes together
|
||||||
homeBase: Boulder
|
location: Boulder
|
||||||
season: spring_2025
|
season: spring_2025
|
||||||
|
|
||||||
friends[3]: ana,luis,sam
|
friends[3]: ana,luis,sam
|
||||||
|
|||||||
Reference in New Issue
Block a user