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

basic.json

54 lines1.9 KB

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[multi-turn-reasoning] recommend a beginner guitar",
6 "sequenceIndex": 0
7 },
8 "response": {
9 "reasoning": "The user wants a beginner guitar recommendation. I should inspect inventory with getGuitars before recommending anything.",
10 "toolCalls": [
11 {
12 "name": "getGuitars",
13 "arguments": "{}"
14 }
15 ]
16 }
17 },
18 {
19 "match": {
20 "userMessage": "[multi-turn-reasoning] recommend a beginner guitar",
21 "sequenceIndex": 1
22 },
23 "response": {
24 "reasoning": "The inventory shows several premium guitars. The Fender Stratocaster is the lowest-priced and most versatile choice for a beginner.",
25 "content": "I recommend the Fender Stratocaster for a beginner. It is the most affordable guitar in stock at $1,299 and is versatile enough for many styles."
26 }
27 },
28 {
29 "match": {
30 "userMessage": "[multi-turn-reasoning-followup] compare cheapest and premium",
31 "sequenceIndex": 0
32 },
33 "response": {
34 "reasoning": "The user is asking a follow-up, and I should use the inventory tool again to compare the cheapest and premium options from current data.",
35 "toolCalls": [
36 {
37 "name": "getGuitars",
38 "arguments": "{}"
39 }
40 ]
41 }
42 },
43 {
44 "match": {
45 "userMessage": "[multi-turn-reasoning-followup] compare cheapest and premium",
46 "sequenceIndex": 1
47 },
48 "response": {
49 "reasoning": "The Fender Stratocaster is cheapest at $1,299, while the Taylor 814ce is the most premium by price at $3,299.",
50 "content": "The cheapest option is the Fender Stratocaster at $1,299. The premium option is the Taylor 814ce at $3,299, which is an acoustic-electric with exceptional clarity."
51 }
52 }
53 ]