|
377 | 377 | ] |
378 | 378 | } |
379 | 379 | }, |
380 | | - { |
381 | | - "match": { |
382 | | - "userMessage": "introduce yourself per your config" |
383 | | - }, |
384 | | - "response": { |
385 | | - "content": "Hello — I'm operating with the configured tone, expertise, and responseLength forwarded by the CopilotKit provider. Adjust the controls above the chat and my system prompt will rebuild on the next turn." |
386 | | - } |
387 | | - }, |
388 | 380 | { |
389 | 381 | "match": { |
390 | 382 | "userMessage": "good name for a goldfish" |
|
1050 | 1042 | "content": "Reasoning: first, I identified the question requires step-by-step thinking. Then, I broke it into sub-steps and worked through each one. Finally, I aggregated the partial answers into a single response. The reasoning block above the answer demonstrates intermediate-thought rendering." |
1051 | 1043 | } |
1052 | 1044 | }, |
| 1045 | + { |
| 1046 | + "match": { |
| 1047 | + "userMessage": "poem about autumn leaves", |
| 1048 | + "toolCallId": "call_d5_write_document_poem_001" |
| 1049 | + }, |
| 1050 | + "response": { |
| 1051 | + "content": "Done — the poem has been written into the shared document state." |
| 1052 | + } |
| 1053 | + }, |
| 1054 | + { |
| 1055 | + "match": { |
| 1056 | + "userMessage": "poem about autumn leaves" |
| 1057 | + }, |
| 1058 | + "response": { |
| 1059 | + "content": "Streaming the poem now.", |
| 1060 | + "toolCalls": [ |
| 1061 | + { |
| 1062 | + "id": "call_d5_write_document_poem_001", |
| 1063 | + "name": "write_document", |
| 1064 | + "arguments": "{\"document\":\"Crimson and amber in slow descent, / each leaf a quiet ledger of summer spent. / The wind, a courier with nothing to say, / files them gently into the morning's gray. / Somewhere a kettle hums, and afternoons grow brief — / autumn keeps its books in vermilion and gold leaf.\"}" |
| 1065 | + } |
| 1066 | + ] |
| 1067 | + } |
| 1068 | + }, |
| 1069 | + { |
| 1070 | + "match": { |
| 1071 | + "userMessage": "polite email declining", |
| 1072 | + "toolCallId": "call_d5_write_document_email_001" |
| 1073 | + }, |
| 1074 | + "response": { |
| 1075 | + "content": "Done — the decline-email draft has been written into the shared document state." |
| 1076 | + } |
| 1077 | + }, |
| 1078 | + { |
| 1079 | + "match": { |
| 1080 | + "userMessage": "polite email declining" |
| 1081 | + }, |
| 1082 | + "response": { |
| 1083 | + "content": "Drafting the email now.", |
| 1084 | + "toolCalls": [ |
| 1085 | + { |
| 1086 | + "id": "call_d5_write_document_email_001", |
| 1087 | + "name": "write_document", |
| 1088 | + "arguments": "{\"document\":\"Hi — thanks for sending the invite for Tuesday afternoon. Unfortunately I won't be able to make it this week. I'd love to find time later in the month if your schedule allows. In the meantime, feel free to send any pre-reads my way and I'll review them async so we don't lose momentum. Best, [name]\"}" |
| 1089 | + } |
| 1090 | + ] |
| 1091 | + } |
| 1092 | + }, |
| 1093 | + { |
| 1094 | + "match": { |
| 1095 | + "userMessage": "quantum computing for a curious teenager", |
| 1096 | + "toolCallId": "call_d5_write_document_quantum_001" |
| 1097 | + }, |
| 1098 | + "response": { |
| 1099 | + "content": "Done — the quantum-computing explainer has been written into the shared document state." |
| 1100 | + } |
| 1101 | + }, |
| 1102 | + { |
| 1103 | + "match": { |
| 1104 | + "userMessage": "quantum computing for a curious teenager" |
| 1105 | + }, |
| 1106 | + "response": { |
| 1107 | + "content": "Streaming the explainer now.", |
| 1108 | + "toolCalls": [ |
| 1109 | + { |
| 1110 | + "id": "call_d5_write_document_quantum_001", |
| 1111 | + "name": "write_document", |
| 1112 | + "arguments": "{\"document\":\"A regular computer stores information in bits — tiny switches that are either on (1) or off (0). A quantum computer uses qubits, which can sit in a fuzzy superposition of both states at once until you check them. Stack many qubits together and they can explore lots of possibilities in parallel, which is why people are excited.\\n\\nThis doesn't make quantum computers faster at everything. They're great at problems with hidden structure — like factoring big numbers, simulating molecules, or searching certain databases — but useless for, say, opening Excel. Today's machines are noisy and small, so we mostly use them to test ideas rather than replace your laptop.\"}" |
| 1113 | + } |
| 1114 | + ] |
| 1115 | + } |
| 1116 | + }, |
1053 | 1117 | { |
1054 | 1118 | "match": { |
1055 | 1119 | "userMessage": "stream the counter to 5" |
1056 | 1120 | }, |
1057 | 1121 | "response": { |
1058 | | - "content": "Streaming state updates: counter advanced from 0 through 1, 2, 3, 4 to 5. Each intermediate value was reflected in the shared state and visible to the UI mid-stream." |
| 1122 | + "content": "Streaming counter from 0 to 5." |
1059 | 1123 | } |
1060 | 1124 | }, |
1061 | 1125 | { |
|
2070 | 2134 | ] |
2071 | 2135 | } |
2072 | 2136 | }, |
2073 | | - { |
2074 | | - "match": { |
2075 | | - "userMessage": "poem about autumn leaves", |
2076 | | - "toolName": "write_document" |
2077 | | - }, |
2078 | | - "response": { |
2079 | | - "content": "Streaming the poem now.", |
2080 | | - "toolCalls": [ |
2081 | | - { |
2082 | | - "id": "call_d5_write_document_poem_001", |
2083 | | - "name": "write_document", |
2084 | | - "arguments": "{\"document\":\"Crimson and amber in slow descent, / each leaf a quiet ledger of summer spent. / The wind, a courier with nothing to say, / files them gently into the morning's gray. / Somewhere a kettle hums, and afternoons grow brief — / autumn keeps its books in vermilion and gold leaf.\"}" |
2085 | | - } |
2086 | | - ] |
2087 | | - } |
2088 | | - }, |
2089 | | - { |
2090 | | - "match": { |
2091 | | - "userMessage": "polite email declining", |
2092 | | - "toolName": "write_document" |
2093 | | - }, |
2094 | | - "response": { |
2095 | | - "content": "Drafting the email now.", |
2096 | | - "toolCalls": [ |
2097 | | - { |
2098 | | - "id": "call_d5_write_document_email_001", |
2099 | | - "name": "write_document", |
2100 | | - "arguments": "{\"document\":\"Hi — thanks for sending the invite for Tuesday afternoon. Unfortunately I won't be able to make it this week. I'd love to find time later in the month if your schedule allows. In the meantime, feel free to send any pre-reads my way and I'll review them async so we don't lose momentum. Best, [name]\"}" |
2101 | | - } |
2102 | | - ] |
2103 | | - } |
2104 | | - }, |
2105 | | - { |
2106 | | - "match": { |
2107 | | - "userMessage": "quantum computing for a curious teenager", |
2108 | | - "toolName": "write_document" |
2109 | | - }, |
2110 | | - "response": { |
2111 | | - "content": "Streaming the explainer now.", |
2112 | | - "toolCalls": [ |
2113 | | - { |
2114 | | - "id": "call_d5_write_document_quantum_001", |
2115 | | - "name": "write_document", |
2116 | | - "arguments": "{\"document\":\"A regular computer stores information in bits — tiny switches that are either on (1) or off (0). A quantum computer uses qubits, which can sit in a fuzzy superposition of both states at once until you check them. Stack many qubits together and they can explore lots of possibilities in parallel, which is why people are excited.\\n\\nThis doesn't make quantum computers faster at everything. They're great at problems with hidden structure — like factoring big numbers, simulating molecules, or searching certain databases — but useless for, say, opening Excel. Today's machines are noisy and small, so we mostly use them to test ideas rather than replace your laptop.\"}" |
2117 | | - } |
2118 | | - ] |
2119 | | - } |
2120 | | - }, |
2121 | 2137 | { |
2122 | 2138 | "match": { |
2123 | 2139 | "userMessage": "What do you know about me from my context" |
|
0 commit comments