File size: 6,529 Bytes
f60bad5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
send an email to joe<|im_end|>
<|im_start|>assistant
SendEmail(to=joe)<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
send an email with the subject hello<|im_end|>
<|im_start|>assistant
"SendEmail(subject=""hello"")"<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email joe to say hello<|im_end|>
<|im_start|>assistant
"SendEmail(to=joe subject=""hello"")"<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email bob saying that I need to reschedule meeting due to conflict<|im_end|>
<|im_start|>assistant
"SendEmail(to=bob subject=""need to reschedule meeting due to conflict"")"<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
shoot an email to alice to say I will be late<|im_end|>
<|im_start|>assistant
"SendEmail(to=alice subject=""I will be late"")"<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email Lisa and Mark inviting them to the quarterly meeting<|im_end|>
yfhp@YongAndaz:~$ python3 convert_chatml.py
yfhp@YongAndaz:~$ more conductor_train_chatml.txt
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
send an email to joe<|im_end|>
<|im_start|>assistant
SendEmail(to=joe)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
send an email with the subject hello<|im_end|>
<|im_start|>assistant
"SendEmail(subject=""hello"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email joe to say hello<|im_end|>
<|im_start|>assistant
"SendEmail(to=joe subject=""hello"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email bob saying that I need to reschedule meeting due to conflict<|im_end|>
<|im_start|>assistant
"SendEmail(to=bob subject=""need to reschedule meeting due to conflict"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
shoot an email to alice to say I will be late<|im_end|>
<|im_start|>assistant
"SendEmail(to=alice subject=""I will be late"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email Lisa and Mark inviting them to the quarterly meeting<|im_end|>
<|im_start|>assistant
"SendEmail(to=""Lisa; Mark"" subject=""quaterly meeting"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
send email to john about lunch together<|im_end|>
<|im_start|>assistant
"SendEmail(to=john subject=""lunch together"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email alex and mark the email urgent<|im_end|>
<|im_start|>assistant
"SendEmail(to=alex subject=""urgent"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
email john doe with the title catch up<|im_end|>
<|im_start|>assistant
"SendEmail(to=""john doe"" subject=""catchup"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
draft an email about flights info and send to albert<|im_end|>
<|im_start|>assistant
"SendEmail(to=albert subject=""flights info"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
write email to grace on how to coordinate<|im_end|>
<|im_start|>assistant
"SendEmail(to=grace subject=""how to coordinate"")"
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
turn up the volume<|im_end|>
<|im_start|>assistant
ChangeVolume(delta=10)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
make the sound louder<|im_end|>
<|im_start|>assistant
ChangeVolume(delta=5)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
reduce the volume to 5<|im_end|>
<|im_start|>assistant
ChangeVolume(value=5)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
reduce the volume by 5<|im_end|>
<|im_start|>assistant
ChangeVolume(delta=-5)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
make the sound quieter<|im_end|>
<|im_start|>assistant
ChangeVolume(delta=-5)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
change the volume to 6<|im_end|>
<|im_start|>assistant
ChangeVolume(value=6)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
set the volume to 11<|im_end|>
<|im_start|>assistant
ChangeVolume(value=11)
<|im_start|>system
You are an agent that routes user queries by mapping the user query into a function call style output.<|im_end|>
<|im_start|>user
reset the volume to 12<|im_end|>
<|im_start|>assistant
ChangeVolume(value=12)