main
txt 27 lines 1 KB
Raw
1 # auto (from_token_zero)
2 sequence
3 optional
4 sequence
5 tag `<think>` text `</think>`
6 `\n\n`
7 triggered_tags [`<tool_call>`] excluding [`<think>`, `</think>`]
8 tag `<tool_call>\n{"name": "get_weather", "arguments": ` json({ location: string }) `}\n</tool_call>`
9 tag `<tool_call>\n{"name": "add", "arguments": ` json({ y: number, x: number, items: string[] }) `}\n</tool_call>`
10
11 # required (from_token_zero)
12 sequence
13 optional
14 sequence
15 tag `<think>` text `</think>`
16 `\n\n`
17 triggered_tags [`<tool_call>`] excluding [`<think>`, `</think>`] at_least_one
18 tag `<tool_call>\n{"name": "get_weather", "arguments": ` json({ location: string }) `}\n</tool_call>`
19 tag `<tool_call>\n{"name": "add", "arguments": ` json({ y: number, x: number, items: string[] }) `}\n</tool_call>`
20
21 # named (from_token_zero)
22 sequence
23 optional
24 sequence
25 tag `<think>` text `</think>`
26 `\n\n`
27 tag `<tool_call>\n{"name": "get_weather", "arguments": ` json({ location: string }) `}\n</tool_call>`