|
1 | 1 | [ |
2 | 2 | { |
3 | | - "parts": [ |
4 | | - { |
5 | | - "content": "good options for ethiopian restaurants?", |
6 | | - "timestamp": "2025-05-07T19:02:46.977501Z", |
7 | | - "part_kind": "user-prompt" |
8 | | - } |
9 | | - ], |
10 | | - "instructions": null, |
11 | | - "kind": "request" |
| 3 | + "role": "user", |
| 4 | + "content": "good options for ethiopian restaurants?" |
12 | 5 | }, |
13 | 6 | { |
14 | | - "parts": [ |
15 | | - { |
16 | | - "tool_name": "search_database", |
17 | | - "args": "{\"search_query\":\"ethiopian\"}", |
18 | | - "tool_call_id": "call_4HeBCmo2uioV6CyoePEGyZPc", |
19 | | - "part_kind": "tool-call" |
20 | | - } |
21 | | - ], |
22 | | - "model_name": "gpt-4o-mini-2024-07-18", |
23 | | - "timestamp": "2025-05-07T19:02:47Z", |
24 | | - "kind": "response" |
| 7 | + "id": "madeup", |
| 8 | + "call_id": "call_abc123", |
| 9 | + "name": "search_database", |
| 10 | + "arguments": "{\"search_query\":\"ethiopian\"}", |
| 11 | + "type": "function_call" |
25 | 12 | }, |
26 | 13 | { |
27 | | - "parts": [ |
28 | | - { |
29 | | - "tool_name": "search_database", |
30 | | - "content": "Search results for ethiopian: ...", |
31 | | - "tool_call_id": "call_4HeBCmo2uioV6CyoePEGyZPc", |
32 | | - "timestamp": "2025-05-07T19:02:48.242408Z", |
33 | | - "part_kind": "tool-return" |
34 | | - } |
35 | | - ], |
36 | | - "instructions": null, |
37 | | - "kind": "request" |
| 14 | + "id": "madeupoutput", |
| 15 | + "call_id": "call_abc123", |
| 16 | + "output": "Search results for ethiopian: ...", |
| 17 | + "type": "function_call_output" |
38 | 18 | }, |
39 | 19 | { |
40 | | - "parts": [ |
41 | | - { |
42 | | - "content": "are there any inexpensive chinese restaurants?", |
43 | | - "timestamp": "2025-05-07T19:02:46.977501Z", |
44 | | - "part_kind": "user-prompt" |
45 | | - } |
46 | | - ], |
47 | | - "instructions": null, |
48 | | - "kind": "request" |
| 20 | + "role": "user", |
| 21 | + "content": "are there any inexpensive japanese restaurants?" |
49 | 22 | }, |
50 | 23 | { |
51 | | - "parts": [ |
52 | | - { |
53 | | - "tool_name": "search_database", |
54 | | - "args": "{\"search_query\":\"chinese\",\"price_level_filter\":{\"comparison_operator\":\"<\",\"value\":3}}", |
55 | | - "tool_call_id": "call_4HeBCmo2uioV6CyoePEGyZPc", |
56 | | - "part_kind": "tool-call" |
57 | | - } |
58 | | - ], |
59 | | - "model_name": "gpt-4o-mini-2024-07-18", |
60 | | - "timestamp": "2025-05-07T19:02:47Z", |
61 | | - "kind": "response" |
| 24 | + "id": "madeup", |
| 25 | + "call_id": "call_abc456", |
| 26 | + "name": "search_database", |
| 27 | + "arguments": "{\"search_query\":\"japanese\",\"price_level_filter\":{\"comparison_operator\":\"<\",\"value\":3}}", |
| 28 | + "type": "function_call" |
62 | 29 | }, |
63 | 30 | { |
64 | | - "parts": [ |
65 | | - { |
66 | | - "tool_name": "search_database", |
67 | | - "content": "Search results for chinese: ...", |
68 | | - "tool_call_id": "call_4HeBCmo2uioV6CyoePEGyZPc", |
69 | | - "timestamp": "2025-05-07T19:02:48.242408Z", |
70 | | - "part_kind": "tool-return" |
71 | | - } |
72 | | - ], |
73 | | - "instructions": null, |
74 | | - "kind": "request" |
| 31 | + "id": "madeupoutput", |
| 32 | + "call_id": "call_abc456", |
| 33 | + "output": "Search results for japanese: ...", |
| 34 | + "type": "function_call_output" |
75 | 35 | } |
76 | 36 | ] |
0 commit comments