You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/messages.py
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
"content": "You are a bot.",
5
5
},
6
6
"count": 12,
7
+
"count_omni": 12,
7
8
}
8
9
9
10
system_message= {
@@ -12,6 +13,7 @@
12
13
"content": "You are a helpful, pattern-following assistant that translates corporate jargon into plain English.",
13
14
},
14
15
"count": 25,
16
+
"count_omni": 24,
15
17
}
16
18
17
19
system_message_long= {
@@ -20,6 +22,7 @@
20
22
"content": "Assistant helps the company employees with their healthcare plan questions, and questions about the employee handbook. Be brief in your answers.",
21
23
},
22
24
"count": 31,
25
+
"count_omni": 31,
23
26
}
24
27
25
28
system_message_unicode= {
@@ -28,6 +31,7 @@
28
31
"content": "á",
29
32
},
30
33
"count": 8,
34
+
"count_omni": 8,
31
35
}
32
36
33
37
system_message_with_name= {
@@ -37,6 +41,7 @@
37
41
"content": "New synergies will help drive top-line growth.",
38
42
},
39
43
"count": 20, # Less tokens in older vision preview models
44
+
"count_omni": 20,
40
45
}
41
46
42
47
user_message= {
@@ -45,6 +50,7 @@
45
50
"content": "Hello, how are you?",
46
51
},
47
52
"count": 13,
53
+
"count_omni": 13,
48
54
}
49
55
50
56
user_message_unicode= {
@@ -53,6 +59,7 @@
53
59
"content": "á",
54
60
},
55
61
"count": 8,
62
+
"count_omni": 8,
56
63
}
57
64
58
65
user_message_perf= {
@@ -61,6 +68,7 @@
61
68
"content": "What happens in a performance review?",
62
69
},
63
70
"count": 14,
71
+
"count_omni": 14,
64
72
}
65
73
66
74
assistant_message_perf= {
@@ -69,6 +77,7 @@
69
77
"content": "During the performance review at Contoso Electronics, the supervisor will discuss the employee's performance over the past year and provide feedback on areas for improvement. They will also provide an opportunity for the employee to discuss their goals and objectives for the upcoming year. The review is a two-way dialogue between managers and employees, and employees will receive a written summary of their performance review which will include a rating of their performance, feedback, and goals and objectives for the upcoming year [employee_handbook-3.pdf].",
70
78
},
71
79
"count": 106,
80
+
"count_omni": 106,
72
81
}
73
82
74
83
assistant_message_perf_short= {
@@ -77,6 +86,7 @@
77
86
"content": "The supervisor will discuss the employee's performance and provide feedback on areas for improvement. They will also provide an opportunity for the employee to discuss their goals and objectives for the upcoming year. The review is a two-way dialogue between managers and employees, and employees will receive a written summary of their performance review which will include a rating of their performance, feedback, and goals for the upcoming year [employee_handbook-3.pdf].",
78
87
},
79
88
"count": 91,
89
+
"count_omni": 91,
80
90
}
81
91
82
92
user_message_dresscode= {
@@ -85,6 +95,7 @@
85
95
"content": "Is there a dress code?",
86
96
},
87
97
"count": 13,
98
+
"count_omni": 13,
88
99
}
89
100
90
101
assistant_message_dresscode= {
@@ -93,13 +104,15 @@
93
104
"content": "Yes, there is a dress code at Contoso Electronics. Look sharp! [employee_handbook-1.pdf]",
0 commit comments