forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagentic-chat.json
More file actions
116 lines (116 loc) · 4.4 KB
/
Copy pathagentic-chat.json
File metadata and controls
116 lines (116 loc) · 4.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"_meta": {
"description": "D6 fixtures for ms-agent-python / agentic-chat",
"sourceFile": "d5-all.json",
"copiedFrom": "langgraph-python",
"created": "2026-05-21"
},
"fixtures": [
{
"_comment": "agentic-chat turn 1 — goldfish name. No turnIndex gate: probe sends 3 sequential turns in one thread; turnIndex would restrict to turn 1 and cause turns 2-3 to 503. Mirrors langgraph-python.",
"match": {
"userMessage": "good name for a goldfish",
"context": "ms-agent-python"
},
"response": {
"content": "How about Bubbles? It is friendly, classic, and easy to call out at the tank. If you want alternatives: Goldie, Finley, or Mango."
}
},
{
"_comment": "agentic-chat turn 2 — tank name. No turnIndex gate (multi-turn conversation).",
"match": {
"userMessage": "name for its tank",
"context": "ms-agent-python"
},
"response": {
"content": "Following the Bubbles theme, you could call the tank The Bubble Bowl. It pairs naturally with the goldfish's name and keeps the playful tone."
}
},
{
"_comment": "agentic-chat turn 3 — recall. No turnIndex gate (multi-turn conversation).",
"match": {
"userMessage": "what we named the goldfish",
"context": "ms-agent-python"
},
"response": {
"content": "We named the goldfish Bubbles, and the tank The Bubble Bowl."
}
},
{
"match": {
"userMessage": "Write me a haiku about nature",
"hasToolResult": false,
"context": "ms-agent-python"
},
"response": {
"toolCalls": [
{
"id": "call_d5_generate_haiku_001",
"name": "generate_haiku",
"arguments": "{\"japanese\":[\"古池や\",\"蛙飛び込む\",\"水の音\"],\"english\":[\"An old silent pond\",\"A frog jumps into the pond\",\"Splash! Silence again.\"],\"image_name\":\"Mount_Fuji_Lake_Reflection_Cherry_Blossoms_Sakura_Spring.jpg\",\"gradient\":\"linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%)\"}"
}
]
}
},
{
"match": {
"userMessage": "Write me a haiku about nature",
"hasToolResult": true,
"context": "ms-agent-python"
},
"response": {
"content": "Haiku generated above — a beautiful verse about nature with an accompanying image."
}
},
{
"match": {
"userMessage": "describe the sample image",
"turnIndex": 0,
"context": "ms-agent-python"
},
"response": {
"content": "The image attachment shows a small abstract test pattern used by the multimodal demo to validate the image-upload pipeline. Successful render of this response confirms the binary attachment round-tripped through the runtime."
}
},
{
"match": {
"userMessage": "summarize the sample document",
"turnIndex": 0,
"context": "ms-agent-python"
},
"response": {
"content": "The PDF document contains a single test page used by the multimodal demo. Its text was flattened by pypdf on the Python side and forwarded as text content to the model. Receiving this response confirms the document upload path works."
}
},
{
"match": {
"userMessage": "hi from the popup test",
"turnIndex": 0,
"context": "ms-agent-python"
},
"response": {
"content": "Hello from the popup — the CopilotPopup prebuilt component is wired up and reachable. The launcher floats in the corner and the chat sits in an overlay panel."
}
},
{
"match": {
"userMessage": "hi from the sidebar test",
"turnIndex": 0,
"context": "ms-agent-python"
},
"response": {
"content": "Hello from the sidebar — the CopilotSidebar prebuilt component is wired up and reachable. Anything else you would like me to confirm from inside the sidebar?"
}
},
{
"match": {
"userMessage": "analyze data and call the tool",
"turnIndex": 0,
"context": "ms-agent-python"
},
"response": {
"content": "Reasoning step 1: I considered the query. Reasoning step 2: I decided to invoke the analysis tool. The tool returned its structured payload, and the reasoning chain wraps the rendered tool card. Both the reasoning block and the tool card should be visible in the transcript."
}
}
]
}