mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
docs: add tip about array length in TOON format
This commit is contained in:
@@ -301,6 +301,9 @@ user:
|
||||
|
||||
### Arrays
|
||||
|
||||
> [!TIP]
|
||||
> TOON includes the array length in brackets (e.g., `items[3]` or `[2]`). This explicit count helps LLMs track the number of elements, reducing errors when generating or validating structured output.
|
||||
|
||||
#### Primitive Arrays (Inline)
|
||||
|
||||
```ts
|
||||
|
||||
Reference in New Issue
Block a user