PranavTM commited on
Commit
314c60d
·
verified ·
1 Parent(s): 58bc486

Update test_data_function_calling.json

Browse files
Files changed (1) hide show
  1. test_data_function_calling.json +1656 -1510
test_data_function_calling.json CHANGED
@@ -1,1510 +1,1656 @@
1
- [ {
2
- "text": "System Instruction:\n Your responsibility is to select the most appropriate agent to handle a user query. **NEVER answer the query yourself.**\n Instead, follow these strict rules:\n 1) If the user asks about 'find a date to apply leave' or list of holidays or best holiday window or anything related to holidays / festivals, **handoff to `holiday_agent`**.\n 2) If the user asks about leave policies, different types of leave (such as sabbatical leave, casual leave, sick leave), or general leave-related rules, **handoff to `policy_agent`**.\n 3) If user query is about\n a) Leave application then **handoff to `leave_apply_agent`** agent\n b) Enquiring their leave balance **handoff to `user_leave_balance_agent`** agent\n c) Enquiring details about already applied leaves/ upcoming leave dates **handoff to `personal_leave_details_agent`** agent\n d) Enquiring about their peer leaves or Manager details **handoff to `teammates_leave_details_agent`** agent\n 4) If query is about date, day, month, year **handoff to `date_agent`** agent\n - If you cannot determine the best agent, **handoff to `policy_agent` by default.** agent\n After analyzing the query always handoff to appropriate agent \n You **must** immediately transfer the query and **must not respond with anything else.**\nYou are an agent. Your internal name is 'root_agent'.\nYou have a list of other agents to transfer to:\nAgent name: holiday_agent\nAgent description: You are an helpful agent used to answer user queries related to holidays related to Techmojo.You are aware of the holidays provided to employees.\nAgent name: policy_agent\nAgent description: You are an helpful agent used to answer user queries related to leave policies and other question related to Techmojo.\n You are aware of all the policies related to leaves and general questions related to the organisation .\nAgent name: leave_apply_agent\nAgent description: You are an helpful agent used to apply leave for give dates, if not possible return the reason\nAgent name: user_leave_balance_agent\nAgent description: You help user to find his leave balance, remaining leaves, number of leaves available to apply\nAgent name: personal_leave_details_agent\nAgent description: You help with queries related to checking already applied leaves, upcoming leaves\nAgent name: teammates_leave_details_agent\nAgent description: You help to check leave details of use's teammates who are under user's manager\nAgent name: date_agent\nAgent description: Helps to find date, day, month, year\nIf you are the best to answer the question according to your description, you\ncan answer it.\nIf another agent is better for answering the question according to its\ndescription, call `transfer_to_agent` function to transfer the\nquestion to that agent. When transferring, do not generate any text other than\nthe function call.",
3
- "role": "system"
4
- },
5
- {
6
- "parts": [
7
- {
8
- "text": "fetch my leave balance\n"
9
- }
10
- ],
11
- "role": "user"
12
- },
13
- {
14
- "parts": [
15
- {
16
- "functionCall": {
17
- "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
18
- "args": {
19
- "agent_name": "user_leave_balance_agent"
20
- },
21
- "name": "transfer_to_agent"
22
- }
23
- }
24
- ],
25
- "role": "model"
26
- },{
27
- "parts": [
28
- {
29
- "text": "how many leaves i have left with\n"
30
- }
31
- ],
32
- "role": "user"
33
- },
34
- {
35
- "parts": [
36
- {
37
- "functionCall": {
38
- "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
39
- "args": {
40
- "agent_name": "user_leave_balance_agent"
41
- },
42
- "name": "transfer_to_agent"
43
- }
44
- }
45
- ],
46
- "role": "model"
47
- },{
48
- "parts": [
49
- {
50
- "text": "how many planned leaves do i have?\n"
51
- }
52
- ],
53
- "role": "user"
54
- },
55
- {
56
- "parts": [
57
- {
58
- "functionCall": {
59
- "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
60
- "args": {
61
- "agent_name": "user_leave_balance_agent"
62
- },
63
- "name": "transfer_to_agent"
64
- }
65
- }
66
- ],
67
- "role": "model"
68
- },{
69
- "parts": [
70
- {
71
- "text": "how many leaves have i consumed"
72
- }
73
- ],
74
- "role": "user"
75
- },
76
- {
77
- "parts": [
78
- {
79
- "functionCall": {
80
- "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
81
- "args": {
82
- "agent_name": "user_leave_balance_agent"
83
- },
84
- "name": "transfer_to_agent"
85
- }
86
- }
87
- ],
88
- "role": "model"
89
- },{
90
- "parts": [
91
- {
92
- "text": "check if I have any leaves in next 3 months"
93
- }
94
- ],
95
- "role": "user"
96
- },{
97
- "parts": [
98
- {
99
- "functionCall": {
100
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
101
- "args": {
102
- "agent_name": "personal_leave_details_agent"
103
- },
104
- "name": "transfer_to_agent"
105
- }
106
- }
107
- ],
108
- "role": "model"
109
- },{
110
- "parts": [
111
- {
112
- "text": "list all my leave for this year"
113
- }
114
- ],
115
- "role": "user"
116
- },{
117
- "parts": [
118
- {
119
- "functionCall": {
120
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
121
- "args": {
122
- "agent_name": "personal_leave_details_agent"
123
- },
124
- "name": "transfer_to_agent"
125
- }
126
- }
127
- ],
128
- "role": "model"
129
- },{
130
- "parts": [
131
- {
132
- "text": "check if i have applied any leavess"
133
- }
134
- ],
135
- "role": "user"
136
- },{
137
- "parts": [
138
- {
139
- "functionCall": {
140
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
141
- "args": {
142
- "agent_name": "personal_leave_details_agent"
143
- },
144
- "name": "transfer_to_agent"
145
- }
146
- }
147
- ],
148
- "role": "model"
149
- },{
150
- "parts": [
151
- {
152
- "text": "show all my leave details"
153
- }
154
- ],
155
- "role": "user"
156
- },{
157
- "parts": [
158
- {
159
- "functionCall": {
160
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
161
- "args": {
162
- "agent_name": "personal_leave_details_agent"
163
- },
164
- "name": "transfer_to_agent"
165
- }
166
- }
167
- ],
168
- "role": "model"
169
- },
170
- {
171
- "parts": [
172
- {
173
- "text": "show all my applied leaves from past one year"
174
- }
175
- ],
176
- "role": "user"
177
- },{
178
- "parts": [
179
- {
180
- "functionCall": {
181
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
182
- "args": {
183
- "agent_name": "personal_leave_details_agent"
184
- },
185
- "name": "transfer_to_agent"
186
- }
187
- }
188
- ],
189
- "role": "model"
190
- },{
191
- "parts": [
192
- {
193
- "text": "list all my upcoming leaves"
194
- }
195
- ],
196
- "role": "user"
197
- },{
198
- "parts": [
199
- {
200
- "functionCall": {
201
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
202
- "args": {
203
- "agent_name": "personal_leave_details_agent"
204
- },
205
- "name": "transfer_to_agent"
206
- }
207
- }
208
- ],
209
- "role": "model"
210
- },{
211
- "parts": [
212
- {
213
- "text": "how many leaves have i applied in next 6 months"
214
- }
215
- ],
216
- "role": "user"
217
- },{
218
- "parts": [
219
- {
220
- "functionCall": {
221
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
222
- "args": {
223
- "agent_name": "personal_leave_details_agent"
224
- },
225
- "name": "transfer_to_agent"
226
- }
227
- }
228
- ],
229
- "role": "model"
230
- },{
231
- "parts": [
232
- {
233
- "text": "how many leaves have i applied in past one month"
234
- }
235
- ],
236
- "role": "user"
237
- },{
238
- "parts": [
239
- {
240
- "functionCall": {
241
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
242
- "args": {
243
- "agent_name": "personal_leave_details_agent"
244
- },
245
- "name": "transfer_to_agent"
246
- }
247
- }
248
- ],
249
- "role": "model"
250
- },{
251
- "parts": [
252
- {
253
- "text": "list all my leaves from June"
254
- }
255
- ],
256
- "role": "user"
257
- },{
258
- "parts": [
259
- {
260
- "functionCall": {
261
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
262
- "args": {
263
- "agent_name": "personal_leave_details_agent"
264
- },
265
- "name": "transfer_to_agent"
266
- }
267
- }
268
- ],
269
- "role": "model"
270
- },{
271
- "parts": [
272
- {
273
- "text": "list all my leaves from September"
274
- }
275
- ],
276
- "role": "user"
277
- },{
278
- "parts": [
279
- {
280
- "functionCall": {
281
- "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
282
- "args": {
283
- "agent_name": "personal_leave_details_agent"
284
- },
285
- "name": "transfer_to_agent"
286
- }
287
- }
288
- ],
289
- "role": "model"
290
- },{
291
- "parts": [
292
- {
293
- "text": "check if my teammates have any leave during this period?"
294
- }
295
- ],
296
- "role": "user"
297
- },{
298
- "parts": [
299
- {
300
- "functionCall": {
301
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
302
- "args": {
303
- "agent_name": "teammates_leave_details_agent"
304
- },
305
- "name": "transfer_to_agent"
306
- }
307
- }
308
- ],
309
- "role": "model"
310
- },{
311
- "parts": [
312
- {
313
- "text": "check if my teammates have any leave in next three months?"
314
- }
315
- ],
316
- "role": "user"
317
- },{
318
- "parts": [
319
- {
320
- "functionCall": {
321
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
322
- "args": {
323
- "agent_name": "teammates_leave_details_agent"
324
- },
325
- "name": "transfer_to_agent"
326
- }
327
- }
328
- ],
329
- "role": "model"
330
- },{
331
- "parts": [
332
- {
333
- "text": "have any of my peers applied leaves in this month"
334
- }
335
- ],
336
- "role": "user"
337
- },{
338
- "parts": [
339
- {
340
- "functionCall": {
341
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
342
- "args": {
343
- "agent_name": "teammates_leave_details_agent"
344
- },
345
- "name": "transfer_to_agent"
346
- }
347
- }
348
- ],
349
- "role": "model"
350
- },{
351
- "parts": [
352
- {
353
- "text": "check if my teammates have applied leave in the moonth of August"
354
- }
355
- ],
356
- "role": "user"
357
- },{
358
- "parts": [
359
- {
360
- "functionCall": {
361
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
362
- "args": {
363
- "agent_name": "teammates_leave_details_agent"
364
- },
365
- "name": "transfer_to_agent"
366
- }
367
- }
368
- ],
369
- "role": "model"
370
- },{
371
- "parts": [
372
- {
373
- "text": "check if my teammates have applied leave during the week of Independance day"
374
- }
375
- ],
376
- "role": "user"
377
- },{
378
- "parts": [
379
- {
380
- "functionCall": {
381
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
382
- "args": {
383
- "agent_name": "teammates_leave_details_agent"
384
- },
385
- "name": "transfer_to_agent"
386
- }
387
- }
388
- ],
389
- "role": "model"
390
- },{
391
- "parts": [
392
- {
393
- "text": "any of my peers applied leave during the month of Ganesh chaturdi"
394
- }
395
- ],
396
- "role": "user"
397
- },{
398
- "parts": [
399
- {
400
- "functionCall": {
401
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
402
- "args": {
403
- "agent_name": "teammates_leave_details_agent"
404
- },
405
- "name": "transfer_to_agent"
406
- }
407
- }
408
- ],
409
- "role": "model"
410
- },{
411
- "parts": [
412
- {
413
- "text": "list all my teammates leave details from this year"
414
- }
415
- ],
416
- "role": "user"
417
- },{
418
- "parts": [
419
- {
420
- "functionCall": {
421
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
422
- "args": {
423
- "agent_name": "teammates_leave_details_agent"
424
- },
425
- "name": "transfer_to_agent"
426
- }
427
- }
428
- ],
429
- "role": "model"
430
- },{
431
- "parts": [
432
- {
433
- "text": "how many of my teammates applied leave during 2nd March to 5th March"
434
- }
435
- ],
436
- "role": "user"
437
- },{
438
- "parts": [
439
- {
440
- "functionCall": {
441
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
442
- "args": {
443
- "agent_name": "teammates_leave_details_agent"
444
- },
445
- "name": "transfer_to_agent"
446
- }
447
- }
448
- ],
449
- "role": "model"
450
- },{
451
- "parts": [
452
- {
453
- "text": "give me leave details of my peers"
454
- }
455
- ],
456
- "role": "user"
457
- },{
458
- "parts": [
459
- {
460
- "functionCall": {
461
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
462
- "args": {
463
- "agent_name": "teammates_leave_details_agent"
464
- },
465
- "name": "transfer_to_agent"
466
- }
467
- }
468
- ],
469
- "role": "model"
470
- },{
471
- "parts": [
472
- {
473
- "text": "provide me leave details of my peers"
474
- }
475
- ],
476
- "role": "user"
477
- },{
478
- "parts": [
479
- {
480
- "functionCall": {
481
- "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
482
- "args": {
483
- "agent_name": "teammates_leave_details_agent"
484
- },
485
- "name": "transfer_to_agent"
486
- }
487
- }
488
- ],
489
- "role": "model"
490
- },{
491
- "parts": [
492
- {
493
- "text": "fetch all holidays in next 3 months"
494
- }
495
- ],
496
- "role": "user"
497
- },{
498
- "parts": [
499
- {
500
- "functionCall": {
501
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
502
- "args": {
503
- "agent_name": "holiday_agent"
504
- },
505
- "name": "transfer_to_agent"
506
- }
507
- }
508
- ],
509
- "role": "model"
510
- },{
511
- "parts": [
512
- {
513
- "text": "list holidays in August"
514
- }
515
- ],
516
- "role": "user"
517
- },{
518
- "parts": [
519
- {
520
- "functionCall": {
521
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
522
- "args": {
523
- "agent_name": "holiday_agent"
524
- },
525
- "name": "transfer_to_agent"
526
- }
527
- }
528
- ],
529
- "role": "model"
530
- },{
531
- "parts": [
532
- {
533
- "text": "how many holidays in the month of september"
534
- }
535
- ],
536
- "role": "user"
537
- },{
538
- "parts": [
539
- {
540
- "functionCall": {
541
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
542
- "args": {
543
- "agent_name": "holiday_agent"
544
- },
545
- "name": "transfer_to_agent"
546
- }
547
- }
548
- ],
549
- "role": "model"
550
- },{
551
- "parts": [
552
- {
553
- "text": "how many holidays in the month of January"
554
- }
555
- ],
556
- "role": "user"
557
- },{
558
- "parts": [
559
- {
560
- "functionCall": {
561
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
562
- "args": {
563
- "agent_name": "holiday_agent"
564
- },
565
- "name": "transfer_to_agent"
566
- }
567
- }
568
- ],
569
- "role": "model"
570
- },{
571
- "parts": [
572
- {
573
- "text": "list all holidays of this year"
574
- }
575
- ],
576
- "role": "user"
577
- },{
578
- "parts": [
579
- {
580
- "functionCall": {
581
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
582
- "args": {
583
- "agent_name": "holiday_agent"
584
- },
585
- "name": "transfer_to_agent"
586
- }
587
- }
588
- ],
589
- "role": "model"
590
- },{
591
- "parts": [
592
- {
593
- "text": "find a holiday window of 4 days"
594
- }
595
- ],
596
- "role": "user"
597
- },{
598
- "parts": [
599
- {
600
- "functionCall": {
601
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
602
- "args": {
603
- "agent_name": "holiday_agent"
604
- },
605
- "name": "transfer_to_agent"
606
- }
607
- }
608
- ],
609
- "role": "model"
610
- },{
611
- "parts": [
612
- {
613
- "text": "suggest best date to take leave in nect 3 months"
614
- }
615
- ],
616
- "role": "user"
617
- },{
618
- "parts": [
619
- {
620
- "functionCall": {
621
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
622
- "args": {
623
- "agent_name": "holiday_agent"
624
- },
625
- "name": "transfer_to_agent"
626
- }
627
- }
628
- ],
629
- "role": "model"
630
- },{
631
- "parts": [
632
- {
633
- "text": "suggest best date to take holidays of 5 days"
634
- }
635
- ],
636
- "role": "user"
637
- },{
638
- "parts": [
639
- {
640
- "functionCall": {
641
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
642
- "args": {
643
- "agent_name": "holiday_agent"
644
- },
645
- "name": "transfer_to_agent"
646
- }
647
- }
648
- ],
649
- "role": "model"
650
- },{
651
- "parts": [
652
- {
653
- "text": "list all hlidays in this quarter"
654
- }
655
- ],
656
- "role": "user"
657
- },{
658
- "parts": [
659
- {
660
- "functionCall": {
661
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
662
- "args": {
663
- "agent_name": "holiday_agent"
664
- },
665
- "name": "transfer_to_agent"
666
- }
667
- }
668
- ],
669
- "role": "model"
670
- },{
671
- "parts": [
672
- {
673
- "text": "holidays in next quarter"
674
- }
675
- ],
676
- "role": "user"
677
- },{
678
- "parts": [
679
- {
680
- "functionCall": {
681
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
682
- "args": {
683
- "agent_name": "holiday_agent"
684
- },
685
- "name": "transfer_to_agent"
686
- }
687
- }
688
- ],
689
- "role": "model"
690
- },{
691
- "parts": [
692
- {
693
- "text": "how many holidays in December"
694
- }
695
- ],
696
- "role": "user"
697
- },{
698
- "parts": [
699
- {
700
- "functionCall": {
701
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
702
- "args": {
703
- "agent_name": "holiday_agent"
704
- },
705
- "name": "transfer_to_agent"
706
- }
707
- }
708
- ],
709
- "role": "model"
710
- },{
711
- "parts": [
712
- {
713
- "text": "list all holidays which give long weekend"
714
- }
715
- ],
716
- "role": "user"
717
- },{
718
- "parts": [
719
- {
720
- "functionCall": {
721
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
722
- "args": {
723
- "agent_name": "holiday_agent"
724
- },
725
- "name": "transfer_to_agent"
726
- }
727
- }
728
- ],
729
- "role": "model"
730
- },{
731
- "parts": [
732
- {
733
- "text": "list all holidays which fall on monday's"
734
- }
735
- ],
736
- "role": "user"
737
- },{
738
- "parts": [
739
- {
740
- "functionCall": {
741
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
742
- "args": {
743
- "agent_name": "holiday_agent"
744
- },
745
- "name": "transfer_to_agent"
746
- }
747
- }
748
- ],
749
- "role": "model"
750
- },{
751
- "parts": [
752
- {
753
- "text": "list all holidays which fall on Friday's"
754
- }
755
- ],
756
- "role": "user"
757
- },{
758
- "parts": [
759
- {
760
- "functionCall": {
761
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
762
- "args": {
763
- "agent_name": "holiday_agent"
764
- },
765
- "name": "transfer_to_agent"
766
- }
767
- }
768
- ],
769
- "role": "model"
770
- },{
771
- "parts": [
772
- {
773
- "text": "when is Ganesh chaturdi"
774
- }
775
- ],
776
- "role": "user"
777
- },{
778
- "parts": [
779
- {
780
- "functionCall": {
781
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
782
- "args": {
783
- "agent_name": "holiday_agent"
784
- },
785
- "name": "transfer_to_agent"
786
- }
787
- }
788
- ],
789
- "role": "model"
790
- },{
791
- "parts": [
792
- {
793
- "text": "when is christmas"
794
- }
795
- ],
796
- "role": "user"
797
- },{
798
- "parts": [
799
- {
800
- "functionCall": {
801
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
802
- "args": {
803
- "agent_name": "holiday_agent"
804
- },
805
- "name": "transfer_to_agent"
806
- }
807
- }
808
- ],
809
- "role": "model"
810
- }{
811
- "parts": [
812
- {
813
- "text": "suggest a date to get 4 days off "
814
- }
815
- ],
816
- "role": "user"
817
- },{
818
- "parts": [
819
- {
820
- "functionCall": {
821
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
822
- "args": {
823
- "agent_name": "holiday_agent"
824
- },
825
- "name": "transfer_to_agent"
826
- }
827
- }
828
- ],
829
- "role": "model"
830
- },{
831
- "parts": [
832
- {
833
- "text": "apply leave during Diwali which would give me 4 consecutive days off"
834
- }
835
- ],
836
- "role": "user"
837
- },{
838
- "parts": [
839
- {
840
- "functionCall": {
841
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
842
- "args": {
843
- "agent_name": "holiday_agent"
844
- },
845
- "name": "transfer_to_agent"
846
- }
847
- }
848
- ],
849
- "role": "model"
850
- },{
851
- "parts": [
852
- {
853
- "text": "when is Rakshbandan?"
854
- }
855
- ],
856
- "role": "user"
857
- },{
858
- "parts": [
859
- {
860
- "functionCall": {
861
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
862
- "args": {
863
- "agent_name": "holiday_agent"
864
- },
865
- "name": "transfer_to_agent"
866
- }
867
- }
868
- ],
869
- "role": "model"
870
- },{
871
- "parts": [
872
- {
873
- "text": "what day is today?"
874
- }
875
- ],
876
- "role": "user"
877
- },{
878
- "parts": [
879
- {
880
- "functionCall": {
881
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
882
- "args": {
883
- "agent_name": "date_agent"
884
- },
885
- "name": "transfer_to_agent"
886
- }
887
- }
888
- ],
889
- "role": "model"
890
- },{
891
- "parts": [
892
- {
893
- "text": "what is today's date?"
894
- }
895
- ],
896
- "role": "user"
897
- },{
898
- "parts": [
899
- {
900
- "functionCall": {
901
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
902
- "args": {
903
- "agent_name": "date_agent"
904
- },
905
- "name": "transfer_to_agent"
906
- }
907
- }
908
- ],
909
- "role": "model"
910
- },{
911
- "parts": [
912
- {
913
- "text": "today's date"
914
- }
915
- ],
916
- "role": "user"
917
- },{
918
- "parts": [
919
- {
920
- "functionCall": {
921
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
922
- "args": {
923
- "agent_name": "date_agent"
924
- },
925
- "name": "transfer_to_agent"
926
- }
927
- }
928
- ],
929
- "role": "model"
930
- },{
931
- "parts": [
932
- {
933
- "text": "which year is this"
934
- }
935
- ],
936
- "role": "user"
937
- },{
938
- "parts": [
939
- {
940
- "functionCall": {
941
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
942
- "args": {
943
- "agent_name": "date_agent"
944
- },
945
- "name": "transfer_to_agent"
946
- }
947
- }
948
- ],
949
- "role": "model"
950
- },{
951
- "parts": [
952
- {
953
- "text": "we are in which month"
954
- }
955
- ],
956
- "role": "user"
957
- },{
958
- "parts": [
959
- {
960
- "functionCall": {
961
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
962
- "args": {
963
- "agent_name": "date_agent"
964
- },
965
- "name": "transfer_to_agent"
966
- }
967
- }
968
- ],
969
- "role": "model"
970
- },{
971
- "parts": [
972
- {
973
- "text": "apply a leave for next 3 days"
974
- }
975
- ],
976
- "role": "user"
977
- },{
978
- "parts": [
979
- {
980
- "functionCall": {
981
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
982
- "args": {
983
- "agent_name": "leave_apply_agent"
984
- },
985
- "name": "transfer_to_agent"
986
- }
987
- }
988
- ],
989
- "role": "model"
990
- },{
991
- "parts": [
992
- {
993
- "text": "apply leave on 25th of this month"
994
- }
995
- ],
996
- "role": "user"
997
- },{
998
- "parts": [
999
- {
1000
- "functionCall": {
1001
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1002
- "args": {
1003
- "agent_name": "leave_apply_agent"
1004
- },
1005
- "name": "transfer_to_agent"
1006
- }
1007
- }
1008
- ],
1009
- "role": "model"
1010
- },{
1011
- "parts": [
1012
- {
1013
- "text": "apply leave for same date in next month"
1014
- }
1015
- ],
1016
- "role": "user"
1017
- },{
1018
- "parts": [
1019
- {
1020
- "functionCall": {
1021
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1022
- "args": {
1023
- "agent_name": "leave_apply_agent"
1024
- },
1025
- "name": "transfer_to_agent"
1026
- }
1027
- }
1028
- ],
1029
- "role": "model"
1030
- },{
1031
- "parts": [
1032
- {
1033
- "text": "apply leave for the suggested date"
1034
- }
1035
- ],
1036
- "role": "user"
1037
- },{
1038
- "parts": [
1039
- {
1040
- "functionCall": {
1041
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1042
- "args": {
1043
- "agent_name": "leave_apply_agent"
1044
- },
1045
- "name": "transfer_to_agent"
1046
- }
1047
- }
1048
- ],
1049
- "role": "model"
1050
- },{
1051
- "parts": [
1052
- {
1053
- "text": "apply a leave day before May day"
1054
- }
1055
- ],
1056
- "role": "user"
1057
- },{
1058
- "parts": [
1059
- {
1060
- "functionCall": {
1061
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1062
- "args": {
1063
- "agent_name": "leave_apply_agent"
1064
- },
1065
- "name": "transfer_to_agent"
1066
- }
1067
- }
1068
- ],
1069
- "role": "model"
1070
- },{
1071
- "parts": [
1072
- {
1073
- "text": "apply a leave day after Ugadhi"
1074
- }
1075
- ],
1076
- "role": "user"
1077
- },{
1078
- "parts": [
1079
- {
1080
- "functionCall": {
1081
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1082
- "args": {
1083
- "agent_name": "leave_apply_agent"
1084
- },
1085
- "name": "transfer_to_agent"
1086
- }
1087
- }
1088
- ],
1089
- "role": "model"
1090
- },{
1091
- "parts": [
1092
- {
1093
- "text": "apply a leave day after Ugadhi"
1094
- }
1095
- ],
1096
- "role": "user"
1097
- },{
1098
- "parts": [
1099
- {
1100
- "functionCall": {
1101
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1102
- "args": {
1103
- "agent_name": "leave_apply_agent"
1104
- },
1105
- "name": "transfer_to_agent"
1106
- }
1107
- }
1108
- ],
1109
- "role": "model"
1110
- },{
1111
- "parts": [
1112
- {
1113
- "text": "apply a leave day after Ugadhi"
1114
- }
1115
- ],
1116
- "role": "user"
1117
- },{
1118
- "parts": [
1119
- {
1120
- "functionCall": {
1121
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1122
- "args": {
1123
- "agent_name": "leave_apply_agent"
1124
- },
1125
- "name": "transfer_to_agent"
1126
- }
1127
- }
1128
- ],
1129
- "role": "model"
1130
- },{
1131
- "parts": [
1132
- {
1133
- "text": "rules to apply planned leave"
1134
- }
1135
- ],
1136
- "role": "user"
1137
- },{
1138
- "parts": [
1139
- {
1140
- "functionCall": {
1141
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1142
- "args": {
1143
- "agent_name": "policy_agent"
1144
- },
1145
- "name": "transfer_to_agent"
1146
- }
1147
- }
1148
- ],
1149
- "role": "model"
1150
- },{
1151
- "parts": [
1152
- {
1153
- "text": "rules to apply sabbatical leave"
1154
- }
1155
- ],
1156
- "role": "user"
1157
- },{
1158
- "parts": [
1159
- {
1160
- "functionCall": {
1161
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1162
- "args": {
1163
- "agent_name": "policy_agent"
1164
- },
1165
- "name": "transfer_to_agent"
1166
- }
1167
- }
1168
- ],
1169
- "role": "model"
1170
- },{
1171
- "parts": [
1172
- {
1173
- "text": "rules to apply maternity leave"
1174
- }
1175
- ],
1176
- "role": "user"
1177
- },{
1178
- "parts": [
1179
- {
1180
- "functionCall": {
1181
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1182
- "args": {
1183
- "agent_name": "policy_agent"
1184
- },
1185
- "name": "transfer_to_agent"
1186
- }
1187
- }
1188
- ],
1189
- "role": "model"
1190
- },{
1191
- "parts": [
1192
- {
1193
- "text": "number of leaves in a year"
1194
- }
1195
- ],
1196
- "role": "user"
1197
- },{
1198
- "parts": [
1199
- {
1200
- "functionCall": {
1201
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1202
- "args": {
1203
- "agent_name": "policy_agent"
1204
- },
1205
- "name": "transfer_to_agent"
1206
- }
1207
- }
1208
- ],
1209
- "role": "model"
1210
- },{
1211
- "parts": [
1212
- {
1213
- "text": "maximum duration of sabbatical leave"
1214
- }
1215
- ],
1216
- "role": "user"
1217
- },{
1218
- "parts": [
1219
- {
1220
- "functionCall": {
1221
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1222
- "args": {
1223
- "agent_name": "policy_agent"
1224
- },
1225
- "name": "transfer_to_agent"
1226
- }
1227
- }
1228
- ],
1229
- "role": "model"
1230
- },{
1231
- "parts": [
1232
- {
1233
- "text": "maximum duration of maternity leave"
1234
- }
1235
- ],
1236
- "role": "user"
1237
- },{
1238
- "parts": [
1239
- {
1240
- "functionCall": {
1241
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1242
- "args": {
1243
- "agent_name": "policy_agent"
1244
- },
1245
- "name": "transfer_to_agent"
1246
- }
1247
- }
1248
- ],
1249
- "role": "model"
1250
- },{
1251
- "parts": [
1252
- {
1253
- "text": "who can apply maternity leave"
1254
- }
1255
- ],
1256
- "role": "user"
1257
- },{
1258
- "parts": [
1259
- {
1260
- "functionCall": {
1261
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1262
- "args": {
1263
- "agent_name": "policy_agent"
1264
- },
1265
- "name": "transfer_to_agent"
1266
- }
1267
- }
1268
- ],
1269
- "role": "model"
1270
- },{
1271
- "parts": [
1272
- {
1273
- "text": "eligibilty criteria for maternity leave"
1274
- }
1275
- ],
1276
- "role": "user"
1277
- },{
1278
- "parts": [
1279
- {
1280
- "functionCall": {
1281
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1282
- "args": {
1283
- "agent_name": "policy_agent"
1284
- },
1285
- "name": "transfer_to_agent"
1286
- }
1287
- }
1288
- ],
1289
- "role": "model"
1290
- },{
1291
- "parts": [
1292
- {
1293
- "text": "is maternity leave paid leave?"
1294
- }
1295
- ],
1296
- "role": "user"
1297
- },{
1298
- "parts": [
1299
- {
1300
- "functionCall": {
1301
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1302
- "args": {
1303
- "agent_name": "policy_agent"
1304
- },
1305
- "name": "transfer_to_agent"
1306
- }
1307
- }
1308
- ],
1309
- "role": "model"
1310
- },{
1311
- "parts": [
1312
- {
1313
- "text": "how to get sabbatical leave?"
1314
- }
1315
- ],
1316
- "role": "user"
1317
- },{
1318
- "parts": [
1319
- {
1320
- "functionCall": {
1321
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1322
- "args": {
1323
- "agent_name": "policy_agent"
1324
- },
1325
- "name": "transfer_to_agent"
1326
- }
1327
- }
1328
- ],
1329
- "role": "model"
1330
- },{
1331
- "parts": [
1332
- {
1333
- "text": "when will my appraisla happen?"
1334
- }
1335
- ],
1336
- "role": "user"
1337
- },{
1338
- "parts": [
1339
- {
1340
- "functionCall": {
1341
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1342
- "args": {
1343
- "agent_name": "policy_agent"
1344
- },
1345
- "name": "transfer_to_agent"
1346
- }
1347
- }
1348
- ],
1349
- "role": "model"
1350
- },{
1351
- "parts": [
1352
- {
1353
- "text": "who can help with laptop issues?"
1354
- }
1355
- ],
1356
- "role": "user"
1357
- },{
1358
- "parts": [
1359
- {
1360
- "functionCall": {
1361
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1362
- "args": {
1363
- "agent_name": "policy_agent"
1364
- },
1365
- "name": "transfer_to_agent"
1366
- }
1367
- }
1368
- ],
1369
- "role": "model"
1370
- },{
1371
- "parts": [
1372
- {
1373
- "text": "when can we take flexi holidays?"
1374
- }
1375
- ],
1376
- "role": "user"
1377
- },{
1378
- "parts": [
1379
- {
1380
- "functionCall": {
1381
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1382
- "args": {
1383
- "agent_name": "policy_agent"
1384
- },
1385
- "name": "transfer_to_agent"
1386
- }
1387
- }
1388
- ],
1389
- "role": "model"
1390
- },{
1391
- "parts": [
1392
- {
1393
- "text": "do we get holidays on national holidays?"
1394
- }
1395
- ],
1396
- "role": "user"
1397
- },{
1398
- "parts": [
1399
- {
1400
- "functionCall": {
1401
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1402
- "args": {
1403
- "agent_name": "policy_agent"
1404
- },
1405
- "name": "transfer_to_agent"
1406
- }
1407
- }
1408
- ],
1409
- "role": "model"
1410
- },{
1411
- "parts": [
1412
- {
1413
- "text": "how are flexi holidays approved?"
1414
- }
1415
- ],
1416
- "role": "user"
1417
- },{
1418
- "parts": [
1419
- {
1420
- "functionCall": {
1421
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1422
- "args": {
1423
- "agent_name": "policy_agent"
1424
- },
1425
- "name": "transfer_to_agent"
1426
- }
1427
- }
1428
- ],
1429
- "role": "model"
1430
- },{
1431
- "parts": [
1432
- {
1433
- "text": "can everyone take flexi holidays at once?"
1434
- }
1435
- ],
1436
- "role": "user"
1437
- },{
1438
- "parts": [
1439
- {
1440
- "functionCall": {
1441
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1442
- "args": {
1443
- "agent_name": "policy_agent"
1444
- },
1445
- "name": "transfer_to_agent"
1446
- }
1447
- }
1448
- ],
1449
- "role": "model"
1450
- },{
1451
- "parts": [
1452
- {
1453
- "text": "eligibilty criteria for Sabbatical leave?"
1454
- }
1455
- ],
1456
- "role": "user"
1457
- },{
1458
- "parts": [
1459
- {
1460
- "functionCall": {
1461
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1462
- "args": {
1463
- "agent_name": "policy_agent"
1464
- },
1465
- "name": "transfer_to_agent"
1466
- }
1467
- }
1468
- ],
1469
- "role": "model"
1470
- },{
1471
- "parts": [
1472
- {
1473
- "text": "eligibilty criteria for maternity leave?"
1474
- }
1475
- ],
1476
- "role": "user"
1477
- },{
1478
- "parts": [
1479
- {
1480
- "functionCall": {
1481
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1482
- "args": {
1483
- "agent_name": "policy_agent"
1484
- },
1485
- "name": "transfer_to_agent"
1486
- }
1487
- }
1488
- ],
1489
- "role": "model"
1490
- },{
1491
- "parts": [
1492
- {
1493
- "text": "for what reasons can we take sabbatical leave?"
1494
- }
1495
- ],
1496
- "role": "user"
1497
- },{
1498
- "parts": [
1499
- {
1500
- "functionCall": {
1501
- "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1502
- "args": {
1503
- "agent_name": "policy_agent"
1504
- },
1505
- "name": "transfer_to_agent"
1506
- }
1507
- }
1508
- ],
1509
- "role": "model"
1510
- }]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "text": "System Instruction:\n Your responsibility is to select the most appropriate agent to handle a user query. **NEVER answer the query yourself.**\n Instead, follow these strict rules:\n 1) If the user asks about 'find a date to apply leave' or list of holidays or best holiday window or anything related to holidays / festivals, **handoff to `holiday_agent`**.\n 2) If the user asks about leave policies, different types of leave (such as sabbatical leave, casual leave, sick leave), or general leave-related rules, **handoff to `policy_agent`**.\n 3) If user query is about\n a) Leave application then **handoff to `leave_apply_agent`** agent\n b) Enquiring their leave balance **handoff to `user_leave_balance_agent`** agent\n c) Enquiring details about already applied leaves/ upcoming leave dates **handoff to `personal_leave_details_agent`** agent\n d) Enquiring about their peer leaves or Manager details **handoff to `teammates_leave_details_agent`** agent\n 4) If query is about date, day, month, year **handoff to `date_agent`** agent\n - If you cannot determine the best agent, **handoff to `policy_agent` by default.** agent\n After analyzing the query always handoff to appropriate agent \n You **must** immediately transfer the query and **must not respond with anything else.**\nYou are an agent. Your internal name is 'root_agent'.\nYou have a list of other agents to transfer to:\nAgent name: holiday_agent\nAgent description: You are an helpful agent used to answer user queries related to holidays related to Techmojo.You are aware of the holidays provided to employees.\nAgent name: policy_agent\nAgent description: You are an helpful agent used to answer user queries related to leave policies and other question related to Techmojo.\n You are aware of all the policies related to leaves and general questions related to the organisation .\nAgent name: leave_apply_agent\nAgent description: You are an helpful agent used to apply leave for give dates, if not possible return the reason\nAgent name: user_leave_balance_agent\nAgent description: You help user to find his leave balance, remaining leaves, number of leaves available to apply\nAgent name: personal_leave_details_agent\nAgent description: You help with queries related to checking already applied leaves, upcoming leaves\nAgent name: teammates_leave_details_agent\nAgent description: You help to check leave details of use's teammates who are under user's manager\nAgent name: date_agent\nAgent description: Helps to find date, day, month, year\nIf you are the best to answer the question according to your description, you\ncan answer it.\nIf another agent is better for answering the question according to its\ndescription, call `transfer_to_agent` function to transfer the\nquestion to that agent. When transferring, do not generate any text other than\nthe function call.",
4
+ "role": "system"
5
+ },
6
+ {
7
+ "parts": [
8
+ {
9
+ "text": "fetch my leave balance\n"
10
+ }
11
+ ],
12
+ "role": "user"
13
+ },
14
+ {
15
+ "parts": [
16
+ {
17
+ "functionCall": {
18
+ "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
19
+ "args": {
20
+ "agent_name": "user_leave_balance_agent"
21
+ },
22
+ "name": "transfer_to_agent"
23
+ }
24
+ }
25
+ ],
26
+ "role": "model"
27
+ },
28
+ {
29
+ "parts": [
30
+ {
31
+ "text": "how many leaves i have left with\n"
32
+ }
33
+ ],
34
+ "role": "user"
35
+ },
36
+ {
37
+ "parts": [
38
+ {
39
+ "functionCall": {
40
+ "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
41
+ "args": {
42
+ "agent_name": "user_leave_balance_agent"
43
+ },
44
+ "name": "transfer_to_agent"
45
+ }
46
+ }
47
+ ],
48
+ "role": "model"
49
+ },
50
+ {
51
+ "parts": [
52
+ {
53
+ "text": "how many planned leaves do i have?\n"
54
+ }
55
+ ],
56
+ "role": "user"
57
+ },
58
+ {
59
+ "parts": [
60
+ {
61
+ "functionCall": {
62
+ "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
63
+ "args": {
64
+ "agent_name": "user_leave_balance_agent"
65
+ },
66
+ "name": "transfer_to_agent"
67
+ }
68
+ }
69
+ ],
70
+ "role": "model"
71
+ },
72
+ {
73
+ "parts": [
74
+ {
75
+ "text": "how many leaves have i consumed"
76
+ }
77
+ ],
78
+ "role": "user"
79
+ },
80
+ {
81
+ "parts": [
82
+ {
83
+ "functionCall": {
84
+ "id": "adk-c8f3c78e-7a1c-48ac-bf7d-e80c35455310",
85
+ "args": {
86
+ "agent_name": "user_leave_balance_agent"
87
+ },
88
+ "name": "transfer_to_agent"
89
+ }
90
+ }
91
+ ],
92
+ "role": "model"
93
+ },
94
+ {
95
+ "parts": [
96
+ {
97
+ "text": "check if I have any leaves in next 3 months"
98
+ }
99
+ ],
100
+ "role": "user"
101
+ },
102
+ {
103
+ "parts": [
104
+ {
105
+ "functionCall": {
106
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
107
+ "args": {
108
+ "agent_name": "personal_leave_details_agent"
109
+ },
110
+ "name": "transfer_to_agent"
111
+ }
112
+ }
113
+ ],
114
+ "role": "model"
115
+ },
116
+ {
117
+ "parts": [
118
+ {
119
+ "text": "list all my leave for this year"
120
+ }
121
+ ],
122
+ "role": "user"
123
+ },
124
+ {
125
+ "parts": [
126
+ {
127
+ "functionCall": {
128
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
129
+ "args": {
130
+ "agent_name": "personal_leave_details_agent"
131
+ },
132
+ "name": "transfer_to_agent"
133
+ }
134
+ }
135
+ ],
136
+ "role": "model"
137
+ },
138
+ {
139
+ "parts": [
140
+ {
141
+ "text": "check if i have applied any leavess"
142
+ }
143
+ ],
144
+ "role": "user"
145
+ },
146
+ {
147
+ "parts": [
148
+ {
149
+ "functionCall": {
150
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
151
+ "args": {
152
+ "agent_name": "personal_leave_details_agent"
153
+ },
154
+ "name": "transfer_to_agent"
155
+ }
156
+ }
157
+ ],
158
+ "role": "model"
159
+ },
160
+ {
161
+ "parts": [
162
+ {
163
+ "text": "show all my leave details"
164
+ }
165
+ ],
166
+ "role": "user"
167
+ },
168
+ {
169
+ "parts": [
170
+ {
171
+ "functionCall": {
172
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
173
+ "args": {
174
+ "agent_name": "personal_leave_details_agent"
175
+ },
176
+ "name": "transfer_to_agent"
177
+ }
178
+ }
179
+ ],
180
+ "role": "model"
181
+ },
182
+ {
183
+ "parts": [
184
+ {
185
+ "text": "show all my applied leaves from past one year"
186
+ }
187
+ ],
188
+ "role": "user"
189
+ },
190
+ {
191
+ "parts": [
192
+ {
193
+ "functionCall": {
194
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
195
+ "args": {
196
+ "agent_name": "personal_leave_details_agent"
197
+ },
198
+ "name": "transfer_to_agent"
199
+ }
200
+ }
201
+ ],
202
+ "role": "model"
203
+ },
204
+ {
205
+ "parts": [
206
+ {
207
+ "text": "list all my upcoming leaves"
208
+ }
209
+ ],
210
+ "role": "user"
211
+ },
212
+ {
213
+ "parts": [
214
+ {
215
+ "functionCall": {
216
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
217
+ "args": {
218
+ "agent_name": "personal_leave_details_agent"
219
+ },
220
+ "name": "transfer_to_agent"
221
+ }
222
+ }
223
+ ],
224
+ "role": "model"
225
+ },
226
+ {
227
+ "parts": [
228
+ {
229
+ "text": "how many leaves have i applied in next 6 months"
230
+ }
231
+ ],
232
+ "role": "user"
233
+ },
234
+ {
235
+ "parts": [
236
+ {
237
+ "functionCall": {
238
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
239
+ "args": {
240
+ "agent_name": "personal_leave_details_agent"
241
+ },
242
+ "name": "transfer_to_agent"
243
+ }
244
+ }
245
+ ],
246
+ "role": "model"
247
+ },
248
+ {
249
+ "parts": [
250
+ {
251
+ "text": "how many leaves have i applied in past one month"
252
+ }
253
+ ],
254
+ "role": "user"
255
+ },
256
+ {
257
+ "parts": [
258
+ {
259
+ "functionCall": {
260
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
261
+ "args": {
262
+ "agent_name": "personal_leave_details_agent"
263
+ },
264
+ "name": "transfer_to_agent"
265
+ }
266
+ }
267
+ ],
268
+ "role": "model"
269
+ },
270
+ {
271
+ "parts": [
272
+ {
273
+ "text": "list all my leaves from June"
274
+ }
275
+ ],
276
+ "role": "user"
277
+ },
278
+ {
279
+ "parts": [
280
+ {
281
+ "functionCall": {
282
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
283
+ "args": {
284
+ "agent_name": "personal_leave_details_agent"
285
+ },
286
+ "name": "transfer_to_agent"
287
+ }
288
+ }
289
+ ],
290
+ "role": "model"
291
+ },
292
+ {
293
+ "parts": [
294
+ {
295
+ "text": "list all my leaves from September"
296
+ }
297
+ ],
298
+ "role": "user"
299
+ },
300
+ {
301
+ "parts": [
302
+ {
303
+ "functionCall": {
304
+ "id": "adk-db47dee5-fbc5-441a-971a-8cc74c3e0bca",
305
+ "args": {
306
+ "agent_name": "personal_leave_details_agent"
307
+ },
308
+ "name": "transfer_to_agent"
309
+ }
310
+ }
311
+ ],
312
+ "role": "model"
313
+ },
314
+ {
315
+ "parts": [
316
+ {
317
+ "text": "check if my teammates have any leave during this period?"
318
+ }
319
+ ],
320
+ "role": "user"
321
+ },
322
+ {
323
+ "parts": [
324
+ {
325
+ "functionCall": {
326
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
327
+ "args": {
328
+ "agent_name": "teammates_leave_details_agent"
329
+ },
330
+ "name": "transfer_to_agent"
331
+ }
332
+ }
333
+ ],
334
+ "role": "model"
335
+ },
336
+ {
337
+ "parts": [
338
+ {
339
+ "text": "check if my teammates have any leave in next three months?"
340
+ }
341
+ ],
342
+ "role": "user"
343
+ },
344
+ {
345
+ "parts": [
346
+ {
347
+ "functionCall": {
348
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
349
+ "args": {
350
+ "agent_name": "teammates_leave_details_agent"
351
+ },
352
+ "name": "transfer_to_agent"
353
+ }
354
+ }
355
+ ],
356
+ "role": "model"
357
+ },
358
+ {
359
+ "parts": [
360
+ {
361
+ "text": "have any of my peers applied leaves in this month"
362
+ }
363
+ ],
364
+ "role": "user"
365
+ },
366
+ {
367
+ "parts": [
368
+ {
369
+ "functionCall": {
370
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
371
+ "args": {
372
+ "agent_name": "teammates_leave_details_agent"
373
+ },
374
+ "name": "transfer_to_agent"
375
+ }
376
+ }
377
+ ],
378
+ "role": "model"
379
+ },
380
+ {
381
+ "parts": [
382
+ {
383
+ "text": "check if my teammates have applied leave in the moonth of August"
384
+ }
385
+ ],
386
+ "role": "user"
387
+ },
388
+ {
389
+ "parts": [
390
+ {
391
+ "functionCall": {
392
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
393
+ "args": {
394
+ "agent_name": "teammates_leave_details_agent"
395
+ },
396
+ "name": "transfer_to_agent"
397
+ }
398
+ }
399
+ ],
400
+ "role": "model"
401
+ },
402
+ {
403
+ "parts": [
404
+ {
405
+ "text": "check if my teammates have applied leave during the week of Independance day"
406
+ }
407
+ ],
408
+ "role": "user"
409
+ },
410
+ {
411
+ "parts": [
412
+ {
413
+ "functionCall": {
414
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
415
+ "args": {
416
+ "agent_name": "teammates_leave_details_agent"
417
+ },
418
+ "name": "transfer_to_agent"
419
+ }
420
+ }
421
+ ],
422
+ "role": "model"
423
+ },
424
+ {
425
+ "parts": [
426
+ {
427
+ "text": "any of my peers applied leave during the month of Ganesh chaturdi"
428
+ }
429
+ ],
430
+ "role": "user"
431
+ },
432
+ {
433
+ "parts": [
434
+ {
435
+ "functionCall": {
436
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
437
+ "args": {
438
+ "agent_name": "teammates_leave_details_agent"
439
+ },
440
+ "name": "transfer_to_agent"
441
+ }
442
+ }
443
+ ],
444
+ "role": "model"
445
+ },
446
+ {
447
+ "parts": [
448
+ {
449
+ "text": "list all my teammates leave details from this year"
450
+ }
451
+ ],
452
+ "role": "user"
453
+ },
454
+ {
455
+ "parts": [
456
+ {
457
+ "functionCall": {
458
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
459
+ "args": {
460
+ "agent_name": "teammates_leave_details_agent"
461
+ },
462
+ "name": "transfer_to_agent"
463
+ }
464
+ }
465
+ ],
466
+ "role": "model"
467
+ },
468
+ {
469
+ "parts": [
470
+ {
471
+ "text": "how many of my teammates applied leave during 2nd March to 5th March"
472
+ }
473
+ ],
474
+ "role": "user"
475
+ },
476
+ {
477
+ "parts": [
478
+ {
479
+ "functionCall": {
480
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
481
+ "args": {
482
+ "agent_name": "teammates_leave_details_agent"
483
+ },
484
+ "name": "transfer_to_agent"
485
+ }
486
+ }
487
+ ],
488
+ "role": "model"
489
+ },
490
+ {
491
+ "parts": [
492
+ {
493
+ "text": "give me leave details of my peers"
494
+ }
495
+ ],
496
+ "role": "user"
497
+ },
498
+ {
499
+ "parts": [
500
+ {
501
+ "functionCall": {
502
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
503
+ "args": {
504
+ "agent_name": "teammates_leave_details_agent"
505
+ },
506
+ "name": "transfer_to_agent"
507
+ }
508
+ }
509
+ ],
510
+ "role": "model"
511
+ },
512
+ {
513
+ "parts": [
514
+ {
515
+ "text": "provide me leave details of my peers"
516
+ }
517
+ ],
518
+ "role": "user"
519
+ },
520
+ {
521
+ "parts": [
522
+ {
523
+ "functionCall": {
524
+ "id": "adk-243e2a8e-08ec-463a-a345-50523bb77f66",
525
+ "args": {
526
+ "agent_name": "teammates_leave_details_agent"
527
+ },
528
+ "name": "transfer_to_agent"
529
+ }
530
+ }
531
+ ],
532
+ "role": "model"
533
+ },
534
+ {
535
+ "parts": [
536
+ {
537
+ "text": "fetch all holidays in next 3 months"
538
+ }
539
+ ],
540
+ "role": "user"
541
+ },
542
+ {
543
+ "parts": [
544
+ {
545
+ "functionCall": {
546
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
547
+ "args": {
548
+ "agent_name": "holiday_agent"
549
+ },
550
+ "name": "transfer_to_agent"
551
+ }
552
+ }
553
+ ],
554
+ "role": "model"
555
+ },
556
+ {
557
+ "parts": [
558
+ {
559
+ "text": "list holidays in August"
560
+ }
561
+ ],
562
+ "role": "user"
563
+ },
564
+ {
565
+ "parts": [
566
+ {
567
+ "functionCall": {
568
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
569
+ "args": {
570
+ "agent_name": "holiday_agent"
571
+ },
572
+ "name": "transfer_to_agent"
573
+ }
574
+ }
575
+ ],
576
+ "role": "model"
577
+ },
578
+ {
579
+ "parts": [
580
+ {
581
+ "text": "how many holidays in the month of september"
582
+ }
583
+ ],
584
+ "role": "user"
585
+ },
586
+ {
587
+ "parts": [
588
+ {
589
+ "functionCall": {
590
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
591
+ "args": {
592
+ "agent_name": "holiday_agent"
593
+ },
594
+ "name": "transfer_to_agent"
595
+ }
596
+ }
597
+ ],
598
+ "role": "model"
599
+ },
600
+ {
601
+ "parts": [
602
+ {
603
+ "text": "how many holidays in the month of January"
604
+ }
605
+ ],
606
+ "role": "user"
607
+ },
608
+ {
609
+ "parts": [
610
+ {
611
+ "functionCall": {
612
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
613
+ "args": {
614
+ "agent_name": "holiday_agent"
615
+ },
616
+ "name": "transfer_to_agent"
617
+ }
618
+ }
619
+ ],
620
+ "role": "model"
621
+ },
622
+ {
623
+ "parts": [
624
+ {
625
+ "text": "list all holidays of this year"
626
+ }
627
+ ],
628
+ "role": "user"
629
+ },
630
+ {
631
+ "parts": [
632
+ {
633
+ "functionCall": {
634
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
635
+ "args": {
636
+ "agent_name": "holiday_agent"
637
+ },
638
+ "name": "transfer_to_agent"
639
+ }
640
+ }
641
+ ],
642
+ "role": "model"
643
+ },
644
+ {
645
+ "parts": [
646
+ {
647
+ "text": "find a holiday window of 4 days"
648
+ }
649
+ ],
650
+ "role": "user"
651
+ },
652
+ {
653
+ "parts": [
654
+ {
655
+ "functionCall": {
656
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
657
+ "args": {
658
+ "agent_name": "holiday_agent"
659
+ },
660
+ "name": "transfer_to_agent"
661
+ }
662
+ }
663
+ ],
664
+ "role": "model"
665
+ },
666
+ {
667
+ "parts": [
668
+ {
669
+ "text": "suggest best date to take leave in nect 3 months"
670
+ }
671
+ ],
672
+ "role": "user"
673
+ },
674
+ {
675
+ "parts": [
676
+ {
677
+ "functionCall": {
678
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
679
+ "args": {
680
+ "agent_name": "holiday_agent"
681
+ },
682
+ "name": "transfer_to_agent"
683
+ }
684
+ }
685
+ ],
686
+ "role": "model"
687
+ },
688
+ {
689
+ "parts": [
690
+ {
691
+ "text": "suggest best date to take holidays of 5 days"
692
+ }
693
+ ],
694
+ "role": "user"
695
+ },
696
+ {
697
+ "parts": [
698
+ {
699
+ "functionCall": {
700
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
701
+ "args": {
702
+ "agent_name": "holiday_agent"
703
+ },
704
+ "name": "transfer_to_agent"
705
+ }
706
+ }
707
+ ],
708
+ "role": "model"
709
+ },
710
+ {
711
+ "parts": [
712
+ {
713
+ "text": "list all hlidays in this quarter"
714
+ }
715
+ ],
716
+ "role": "user"
717
+ },
718
+ {
719
+ "parts": [
720
+ {
721
+ "functionCall": {
722
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
723
+ "args": {
724
+ "agent_name": "holiday_agent"
725
+ },
726
+ "name": "transfer_to_agent"
727
+ }
728
+ }
729
+ ],
730
+ "role": "model"
731
+ },
732
+ {
733
+ "parts": [
734
+ {
735
+ "text": "holidays in next quarter"
736
+ }
737
+ ],
738
+ "role": "user"
739
+ },
740
+ {
741
+ "parts": [
742
+ {
743
+ "functionCall": {
744
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
745
+ "args": {
746
+ "agent_name": "holiday_agent"
747
+ },
748
+ "name": "transfer_to_agent"
749
+ }
750
+ }
751
+ ],
752
+ "role": "model"
753
+ },
754
+ {
755
+ "parts": [
756
+ {
757
+ "text": "how many holidays in December"
758
+ }
759
+ ],
760
+ "role": "user"
761
+ },
762
+ {
763
+ "parts": [
764
+ {
765
+ "functionCall": {
766
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
767
+ "args": {
768
+ "agent_name": "holiday_agent"
769
+ },
770
+ "name": "transfer_to_agent"
771
+ }
772
+ }
773
+ ],
774
+ "role": "model"
775
+ },
776
+ {
777
+ "parts": [
778
+ {
779
+ "text": "list all holidays which give long weekend"
780
+ }
781
+ ],
782
+ "role": "user"
783
+ },
784
+ {
785
+ "parts": [
786
+ {
787
+ "functionCall": {
788
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
789
+ "args": {
790
+ "agent_name": "holiday_agent"
791
+ },
792
+ "name": "transfer_to_agent"
793
+ }
794
+ }
795
+ ],
796
+ "role": "model"
797
+ },
798
+ {
799
+ "parts": [
800
+ {
801
+ "text": "list all holidays which fall on monday's"
802
+ }
803
+ ],
804
+ "role": "user"
805
+ },
806
+ {
807
+ "parts": [
808
+ {
809
+ "functionCall": {
810
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
811
+ "args": {
812
+ "agent_name": "holiday_agent"
813
+ },
814
+ "name": "transfer_to_agent"
815
+ }
816
+ }
817
+ ],
818
+ "role": "model"
819
+ },
820
+ {
821
+ "parts": [
822
+ {
823
+ "text": "list all holidays which fall on Friday's"
824
+ }
825
+ ],
826
+ "role": "user"
827
+ },
828
+ {
829
+ "parts": [
830
+ {
831
+ "functionCall": {
832
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
833
+ "args": {
834
+ "agent_name": "holiday_agent"
835
+ },
836
+ "name": "transfer_to_agent"
837
+ }
838
+ }
839
+ ],
840
+ "role": "model"
841
+ },
842
+ {
843
+ "parts": [
844
+ {
845
+ "text": "when is Ganesh chaturdi"
846
+ }
847
+ ],
848
+ "role": "user"
849
+ },
850
+ {
851
+ "parts": [
852
+ {
853
+ "functionCall": {
854
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
855
+ "args": {
856
+ "agent_name": "holiday_agent"
857
+ },
858
+ "name": "transfer_to_agent"
859
+ }
860
+ }
861
+ ],
862
+ "role": "model"
863
+ },
864
+ {
865
+ "parts": [
866
+ {
867
+ "text": "when is christmas"
868
+ }
869
+ ],
870
+ "role": "user"
871
+ },
872
+ {
873
+ "parts": [
874
+ {
875
+ "functionCall": {
876
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
877
+ "args": {
878
+ "agent_name": "holiday_agent"
879
+ },
880
+ "name": "transfer_to_agent"
881
+ }
882
+ }
883
+ ],
884
+ "role": "model"
885
+ },
886
+ {
887
+ "parts": [
888
+ {
889
+ "text": "suggest a date to get 4 days off "
890
+ }
891
+ ],
892
+ "role": "user"
893
+ },
894
+ {
895
+ "parts": [
896
+ {
897
+ "functionCall": {
898
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
899
+ "args": {
900
+ "agent_name": "holiday_agent"
901
+ },
902
+ "name": "transfer_to_agent"
903
+ }
904
+ }
905
+ ],
906
+ "role": "model"
907
+ },
908
+ {
909
+ "parts": [
910
+ {
911
+ "text": "apply leave during Diwali which would give me 4 consecutive days off"
912
+ }
913
+ ],
914
+ "role": "user"
915
+ },
916
+ {
917
+ "parts": [
918
+ {
919
+ "functionCall": {
920
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
921
+ "args": {
922
+ "agent_name": "holiday_agent"
923
+ },
924
+ "name": "transfer_to_agent"
925
+ }
926
+ }
927
+ ],
928
+ "role": "model"
929
+ },
930
+ {
931
+ "parts": [
932
+ {
933
+ "text": "when is Rakshbandan?"
934
+ }
935
+ ],
936
+ "role": "user"
937
+ },
938
+ {
939
+ "parts": [
940
+ {
941
+ "functionCall": {
942
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
943
+ "args": {
944
+ "agent_name": "holiday_agent"
945
+ },
946
+ "name": "transfer_to_agent"
947
+ }
948
+ }
949
+ ],
950
+ "role": "model"
951
+ },
952
+ {
953
+ "parts": [
954
+ {
955
+ "text": "what day is today?"
956
+ }
957
+ ],
958
+ "role": "user"
959
+ },
960
+ {
961
+ "parts": [
962
+ {
963
+ "functionCall": {
964
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
965
+ "args": {
966
+ "agent_name": "date_agent"
967
+ },
968
+ "name": "transfer_to_agent"
969
+ }
970
+ }
971
+ ],
972
+ "role": "model"
973
+ },
974
+ {
975
+ "parts": [
976
+ {
977
+ "text": "what is today's date?"
978
+ }
979
+ ],
980
+ "role": "user"
981
+ },
982
+ {
983
+ "parts": [
984
+ {
985
+ "functionCall": {
986
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
987
+ "args": {
988
+ "agent_name": "date_agent"
989
+ },
990
+ "name": "transfer_to_agent"
991
+ }
992
+ }
993
+ ],
994
+ "role": "model"
995
+ },
996
+ {
997
+ "parts": [
998
+ {
999
+ "text": "today's date"
1000
+ }
1001
+ ],
1002
+ "role": "user"
1003
+ },
1004
+ {
1005
+ "parts": [
1006
+ {
1007
+ "functionCall": {
1008
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1009
+ "args": {
1010
+ "agent_name": "date_agent"
1011
+ },
1012
+ "name": "transfer_to_agent"
1013
+ }
1014
+ }
1015
+ ],
1016
+ "role": "model"
1017
+ },
1018
+ {
1019
+ "parts": [
1020
+ {
1021
+ "text": "which year is this"
1022
+ }
1023
+ ],
1024
+ "role": "user"
1025
+ },
1026
+ {
1027
+ "parts": [
1028
+ {
1029
+ "functionCall": {
1030
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1031
+ "args": {
1032
+ "agent_name": "date_agent"
1033
+ },
1034
+ "name": "transfer_to_agent"
1035
+ }
1036
+ }
1037
+ ],
1038
+ "role": "model"
1039
+ },
1040
+ {
1041
+ "parts": [
1042
+ {
1043
+ "text": "we are in which month"
1044
+ }
1045
+ ],
1046
+ "role": "user"
1047
+ },
1048
+ {
1049
+ "parts": [
1050
+ {
1051
+ "functionCall": {
1052
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1053
+ "args": {
1054
+ "agent_name": "date_agent"
1055
+ },
1056
+ "name": "transfer_to_agent"
1057
+ }
1058
+ }
1059
+ ],
1060
+ "role": "model"
1061
+ },
1062
+ {
1063
+ "parts": [
1064
+ {
1065
+ "text": "apply a leave for next 3 days"
1066
+ }
1067
+ ],
1068
+ "role": "user"
1069
+ },
1070
+ {
1071
+ "parts": [
1072
+ {
1073
+ "functionCall": {
1074
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1075
+ "args": {
1076
+ "agent_name": "leave_apply_agent"
1077
+ },
1078
+ "name": "transfer_to_agent"
1079
+ }
1080
+ }
1081
+ ],
1082
+ "role": "model"
1083
+ },
1084
+ {
1085
+ "parts": [
1086
+ {
1087
+ "text": "apply leave on 25th of this month"
1088
+ }
1089
+ ],
1090
+ "role": "user"
1091
+ },
1092
+ {
1093
+ "parts": [
1094
+ {
1095
+ "functionCall": {
1096
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1097
+ "args": {
1098
+ "agent_name": "leave_apply_agent"
1099
+ },
1100
+ "name": "transfer_to_agent"
1101
+ }
1102
+ }
1103
+ ],
1104
+ "role": "model"
1105
+ },
1106
+ {
1107
+ "parts": [
1108
+ {
1109
+ "text": "apply leave for same date in next month"
1110
+ }
1111
+ ],
1112
+ "role": "user"
1113
+ },
1114
+ {
1115
+ "parts": [
1116
+ {
1117
+ "functionCall": {
1118
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1119
+ "args": {
1120
+ "agent_name": "leave_apply_agent"
1121
+ },
1122
+ "name": "transfer_to_agent"
1123
+ }
1124
+ }
1125
+ ],
1126
+ "role": "model"
1127
+ },
1128
+ {
1129
+ "parts": [
1130
+ {
1131
+ "text": "apply leave for the suggested date"
1132
+ }
1133
+ ],
1134
+ "role": "user"
1135
+ },
1136
+ {
1137
+ "parts": [
1138
+ {
1139
+ "functionCall": {
1140
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1141
+ "args": {
1142
+ "agent_name": "leave_apply_agent"
1143
+ },
1144
+ "name": "transfer_to_agent"
1145
+ }
1146
+ }
1147
+ ],
1148
+ "role": "model"
1149
+ },
1150
+ {
1151
+ "parts": [
1152
+ {
1153
+ "text": "apply a leave day before May day"
1154
+ }
1155
+ ],
1156
+ "role": "user"
1157
+ },
1158
+ {
1159
+ "parts": [
1160
+ {
1161
+ "functionCall": {
1162
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1163
+ "args": {
1164
+ "agent_name": "leave_apply_agent"
1165
+ },
1166
+ "name": "transfer_to_agent"
1167
+ }
1168
+ }
1169
+ ],
1170
+ "role": "model"
1171
+ },
1172
+ {
1173
+ "parts": [
1174
+ {
1175
+ "text": "apply a leave day after Ugadhi"
1176
+ }
1177
+ ],
1178
+ "role": "user"
1179
+ },
1180
+ {
1181
+ "parts": [
1182
+ {
1183
+ "functionCall": {
1184
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1185
+ "args": {
1186
+ "agent_name": "leave_apply_agent"
1187
+ },
1188
+ "name": "transfer_to_agent"
1189
+ }
1190
+ }
1191
+ ],
1192
+ "role": "model"
1193
+ },
1194
+ {
1195
+ "parts": [
1196
+ {
1197
+ "text": "apply a leave day after Ugadhi"
1198
+ }
1199
+ ],
1200
+ "role": "user"
1201
+ },
1202
+ {
1203
+ "parts": [
1204
+ {
1205
+ "functionCall": {
1206
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1207
+ "args": {
1208
+ "agent_name": "leave_apply_agent"
1209
+ },
1210
+ "name": "transfer_to_agent"
1211
+ }
1212
+ }
1213
+ ],
1214
+ "role": "model"
1215
+ },
1216
+ {
1217
+ "parts": [
1218
+ {
1219
+ "text": "apply a leave day after Ugadhi"
1220
+ }
1221
+ ],
1222
+ "role": "user"
1223
+ },
1224
+ {
1225
+ "parts": [
1226
+ {
1227
+ "functionCall": {
1228
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1229
+ "args": {
1230
+ "agent_name": "leave_apply_agent"
1231
+ },
1232
+ "name": "transfer_to_agent"
1233
+ }
1234
+ }
1235
+ ],
1236
+ "role": "model"
1237
+ },
1238
+ {
1239
+ "parts": [
1240
+ {
1241
+ "text": "rules to apply planned leave"
1242
+ }
1243
+ ],
1244
+ "role": "user"
1245
+ },
1246
+ {
1247
+ "parts": [
1248
+ {
1249
+ "functionCall": {
1250
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1251
+ "args": {
1252
+ "agent_name": "policy_agent"
1253
+ },
1254
+ "name": "transfer_to_agent"
1255
+ }
1256
+ }
1257
+ ],
1258
+ "role": "model"
1259
+ },
1260
+ {
1261
+ "parts": [
1262
+ {
1263
+ "text": "rules to apply sabbatical leave"
1264
+ }
1265
+ ],
1266
+ "role": "user"
1267
+ },
1268
+ {
1269
+ "parts": [
1270
+ {
1271
+ "functionCall": {
1272
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1273
+ "args": {
1274
+ "agent_name": "policy_agent"
1275
+ },
1276
+ "name": "transfer_to_agent"
1277
+ }
1278
+ }
1279
+ ],
1280
+ "role": "model"
1281
+ },
1282
+ {
1283
+ "parts": [
1284
+ {
1285
+ "text": "rules to apply maternity leave"
1286
+ }
1287
+ ],
1288
+ "role": "user"
1289
+ },
1290
+ {
1291
+ "parts": [
1292
+ {
1293
+ "functionCall": {
1294
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1295
+ "args": {
1296
+ "agent_name": "policy_agent"
1297
+ },
1298
+ "name": "transfer_to_agent"
1299
+ }
1300
+ }
1301
+ ],
1302
+ "role": "model"
1303
+ },
1304
+ {
1305
+ "parts": [
1306
+ {
1307
+ "text": "number of leaves in a year"
1308
+ }
1309
+ ],
1310
+ "role": "user"
1311
+ },
1312
+ {
1313
+ "parts": [
1314
+ {
1315
+ "functionCall": {
1316
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1317
+ "args": {
1318
+ "agent_name": "policy_agent"
1319
+ },
1320
+ "name": "transfer_to_agent"
1321
+ }
1322
+ }
1323
+ ],
1324
+ "role": "model"
1325
+ },
1326
+ {
1327
+ "parts": [
1328
+ {
1329
+ "text": "maximum duration of sabbatical leave"
1330
+ }
1331
+ ],
1332
+ "role": "user"
1333
+ },
1334
+ {
1335
+ "parts": [
1336
+ {
1337
+ "functionCall": {
1338
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1339
+ "args": {
1340
+ "agent_name": "policy_agent"
1341
+ },
1342
+ "name": "transfer_to_agent"
1343
+ }
1344
+ }
1345
+ ],
1346
+ "role": "model"
1347
+ },
1348
+ {
1349
+ "parts": [
1350
+ {
1351
+ "text": "maximum duration of maternity leave"
1352
+ }
1353
+ ],
1354
+ "role": "user"
1355
+ },
1356
+ {
1357
+ "parts": [
1358
+ {
1359
+ "functionCall": {
1360
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1361
+ "args": {
1362
+ "agent_name": "policy_agent"
1363
+ },
1364
+ "name": "transfer_to_agent"
1365
+ }
1366
+ }
1367
+ ],
1368
+ "role": "model"
1369
+ },
1370
+ {
1371
+ "parts": [
1372
+ {
1373
+ "text": "who can apply maternity leave"
1374
+ }
1375
+ ],
1376
+ "role": "user"
1377
+ },
1378
+ {
1379
+ "parts": [
1380
+ {
1381
+ "functionCall": {
1382
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1383
+ "args": {
1384
+ "agent_name": "policy_agent"
1385
+ },
1386
+ "name": "transfer_to_agent"
1387
+ }
1388
+ }
1389
+ ],
1390
+ "role": "model"
1391
+ },
1392
+ {
1393
+ "parts": [
1394
+ {
1395
+ "text": "eligibilty criteria for maternity leave"
1396
+ }
1397
+ ],
1398
+ "role": "user"
1399
+ },
1400
+ {
1401
+ "parts": [
1402
+ {
1403
+ "functionCall": {
1404
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1405
+ "args": {
1406
+ "agent_name": "policy_agent"
1407
+ },
1408
+ "name": "transfer_to_agent"
1409
+ }
1410
+ }
1411
+ ],
1412
+ "role": "model"
1413
+ },
1414
+ {
1415
+ "parts": [
1416
+ {
1417
+ "text": "is maternity leave paid leave?"
1418
+ }
1419
+ ],
1420
+ "role": "user"
1421
+ },
1422
+ {
1423
+ "parts": [
1424
+ {
1425
+ "functionCall": {
1426
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1427
+ "args": {
1428
+ "agent_name": "policy_agent"
1429
+ },
1430
+ "name": "transfer_to_agent"
1431
+ }
1432
+ }
1433
+ ],
1434
+ "role": "model"
1435
+ },
1436
+ {
1437
+ "parts": [
1438
+ {
1439
+ "text": "how to get sabbatical leave?"
1440
+ }
1441
+ ],
1442
+ "role": "user"
1443
+ },
1444
+ {
1445
+ "parts": [
1446
+ {
1447
+ "functionCall": {
1448
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1449
+ "args": {
1450
+ "agent_name": "policy_agent"
1451
+ },
1452
+ "name": "transfer_to_agent"
1453
+ }
1454
+ }
1455
+ ],
1456
+ "role": "model"
1457
+ },
1458
+ {
1459
+ "parts": [
1460
+ {
1461
+ "text": "when will my appraisla happen?"
1462
+ }
1463
+ ],
1464
+ "role": "user"
1465
+ },
1466
+ {
1467
+ "parts": [
1468
+ {
1469
+ "functionCall": {
1470
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1471
+ "args": {
1472
+ "agent_name": "policy_agent"
1473
+ },
1474
+ "name": "transfer_to_agent"
1475
+ }
1476
+ }
1477
+ ],
1478
+ "role": "model"
1479
+ },
1480
+ {
1481
+ "parts": [
1482
+ {
1483
+ "text": "who can help with laptop issues?"
1484
+ }
1485
+ ],
1486
+ "role": "user"
1487
+ },
1488
+ {
1489
+ "parts": [
1490
+ {
1491
+ "functionCall": {
1492
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1493
+ "args": {
1494
+ "agent_name": "policy_agent"
1495
+ },
1496
+ "name": "transfer_to_agent"
1497
+ }
1498
+ }
1499
+ ],
1500
+ "role": "model"
1501
+ },
1502
+ {
1503
+ "parts": [
1504
+ {
1505
+ "text": "when can we take flexi holidays?"
1506
+ }
1507
+ ],
1508
+ "role": "user"
1509
+ },
1510
+ {
1511
+ "parts": [
1512
+ {
1513
+ "functionCall": {
1514
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1515
+ "args": {
1516
+ "agent_name": "policy_agent"
1517
+ },
1518
+ "name": "transfer_to_agent"
1519
+ }
1520
+ }
1521
+ ],
1522
+ "role": "model"
1523
+ },
1524
+ {
1525
+ "parts": [
1526
+ {
1527
+ "text": "do we get holidays on national holidays?"
1528
+ }
1529
+ ],
1530
+ "role": "user"
1531
+ },
1532
+ {
1533
+ "parts": [
1534
+ {
1535
+ "functionCall": {
1536
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1537
+ "args": {
1538
+ "agent_name": "policy_agent"
1539
+ },
1540
+ "name": "transfer_to_agent"
1541
+ }
1542
+ }
1543
+ ],
1544
+ "role": "model"
1545
+ },
1546
+ {
1547
+ "parts": [
1548
+ {
1549
+ "text": "how are flexi holidays approved?"
1550
+ }
1551
+ ],
1552
+ "role": "user"
1553
+ },
1554
+ {
1555
+ "parts": [
1556
+ {
1557
+ "functionCall": {
1558
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1559
+ "args": {
1560
+ "agent_name": "policy_agent"
1561
+ },
1562
+ "name": "transfer_to_agent"
1563
+ }
1564
+ }
1565
+ ],
1566
+ "role": "model"
1567
+ },
1568
+ {
1569
+ "parts": [
1570
+ {
1571
+ "text": "can everyone take flexi holidays at once?"
1572
+ }
1573
+ ],
1574
+ "role": "user"
1575
+ },
1576
+ {
1577
+ "parts": [
1578
+ {
1579
+ "functionCall": {
1580
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1581
+ "args": {
1582
+ "agent_name": "policy_agent"
1583
+ },
1584
+ "name": "transfer_to_agent"
1585
+ }
1586
+ }
1587
+ ],
1588
+ "role": "model"
1589
+ },
1590
+ {
1591
+ "parts": [
1592
+ {
1593
+ "text": "eligibilty criteria for Sabbatical leave?"
1594
+ }
1595
+ ],
1596
+ "role": "user"
1597
+ },
1598
+ {
1599
+ "parts": [
1600
+ {
1601
+ "functionCall": {
1602
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1603
+ "args": {
1604
+ "agent_name": "policy_agent"
1605
+ },
1606
+ "name": "transfer_to_agent"
1607
+ }
1608
+ }
1609
+ ],
1610
+ "role": "model"
1611
+ },
1612
+ {
1613
+ "parts": [
1614
+ {
1615
+ "text": "eligibilty criteria for maternity leave?"
1616
+ }
1617
+ ],
1618
+ "role": "user"
1619
+ },
1620
+ {
1621
+ "parts": [
1622
+ {
1623
+ "functionCall": {
1624
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1625
+ "args": {
1626
+ "agent_name": "policy_agent"
1627
+ },
1628
+ "name": "transfer_to_agent"
1629
+ }
1630
+ }
1631
+ ],
1632
+ "role": "model"
1633
+ },
1634
+ {
1635
+ "parts": [
1636
+ {
1637
+ "text": "for what reasons can we take sabbatical leave?"
1638
+ }
1639
+ ],
1640
+ "role": "user"
1641
+ },
1642
+ {
1643
+ "parts": [
1644
+ {
1645
+ "functionCall": {
1646
+ "id": "adk-db35fbcc-4bd3-4e36-be81-bcd74e21d0b2",
1647
+ "args": {
1648
+ "agent_name": "policy_agent"
1649
+ },
1650
+ "name": "transfer_to_agent"
1651
+ }
1652
+ }
1653
+ ],
1654
+ "role": "model"
1655
+ }
1656
+ ]