Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

basic.json

28 lines694 Bytes

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[text-tool-text] check what guitars we have",
6 "sequenceIndex": 0
7 },
8 "response": {
9 "content": "Let me check our inventory for you.",
10 "toolCalls": [
11 {
12 "name": "getGuitars",
13 "arguments": "{}"
14 }
15 ]
16 }
17 },
18 {
19 "match": {
20 "userMessage": "[text-tool-text] check what guitars we have",
21 "sequenceIndex": 1
22 },
23 "response": {
24 "content": "Here's what we have in stock: the Fender Stratocaster at $1,299, Gibson Les Paul at $2,499, Taylor 814ce at $3,299, and Martin D-28 at $2,999."
25 }
26 }
27 ]