docs: add tip about array length in TOON format

This commit is contained in:
Johann Schopplich
2025-10-23 14:19:35 +02:00
parent a34948ffdc
commit 425a34b6cd

View File

@@ -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