File size: 5,393 Bytes
29edd33
 
 
 
 
 
 
 
 
 
 
 
 
c35438f
 
 
29edd33
 
 
 
 
 
 
 
 
 
 
 
c35438f
 
 
 
29edd33
 
 
 
 
 
 
 
 
 
 
 
c35438f
 
 
29edd33
 
 
 
 
 
 
 
 
 
 
 
c35438f
 
 
 
29edd33
 
 
 
 
 
 
 
 
 
 
 
c35438f
 
 
29edd33
868368d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c35438f
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
146
147
148
149
150
151
152
153
154
155
156
157
from openenv.models import TicketScenario, Observation, GroundTruth

EASY_TASKS = [
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E001",
            issue_type="unknown",
            sentiment="neutral",
            priority="low",
            message="Hi, I just placed an order but I put the wrong shipping address. Can I change it?",
        ),
        ground_truth=GroundTruth(
            issue_type="shipping",
            team="logistics_team",
            action_type="respond",
            response_keywords=["shipping address", "updated", "order"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E002",
            issue_type="unknown",
            sentiment="negative",
            priority="medium",
            message="My credit card was charged twice for the same purchase! Please help.",
        ),
        ground_truth=GroundTruth(
            issue_type="billing",
            team="finance_team",
            action_type="refund",
            response_keywords=["double charge", "refund", "apologize"],
            requires_refund=True,
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E003",
            issue_type="unknown",
            sentiment="positive",
            priority="low",
            message="I love your product, but I'm trying to figure out how to update my profile picture.",
        ),
        ground_truth=GroundTruth(
            issue_type="technical",
            team="tech_support_team",
            action_type="respond",
            response_keywords=["profile", "settings", "update"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E004",
            issue_type="unknown",
            sentiment="angry",
            priority="high",
            message="This item arrived completely broken. I want to return it immediately.",
        ),
        ground_truth=GroundTruth(
            issue_type="returns",
            team="orders_team",
            action_type="refund",
            response_keywords=["broken", "refund", "apologize", "return"],
            requires_refund=True,
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E005",
            issue_type="unknown",
            sentiment="neutral",
            priority="medium",
            message="I need to cancel my subscription renewal before next month.",
        ),
        ground_truth=GroundTruth(
            issue_type="cancellation",
            team="orders_team",
            action_type="respond",
            response_keywords=["subscription", "cancel", "renewal"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E006",
            issue_type="unknown",
            sentiment="negative",
            priority="medium",
            message="I ordered a blue laptop bag but received a black one instead. This is not what I paid for.",
        ),
        ground_truth=GroundTruth(
            issue_type="returns",
            team="orders_team",
            action_type="refund",
            response_keywords=["wrong item", "refund", "apologize", "return"],
            requires_refund=True,
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E007",
            issue_type="unknown",
            sentiment="negative",
            priority="high",
            message="I've been locked out of my account after enabling two-factor authentication. The codes aren't working.",
        ),
        ground_truth=GroundTruth(
            issue_type="technical",
            team="tech_support_team",
            action_type="respond",
            response_keywords=["two-factor", "account", "locked", "access"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E008",
            issue_type="unknown",
            sentiment="positive",
            priority="low",
            message="I'm placing a gift order — is it possible to add a gift wrap and a personal message card?",
        ),
        ground_truth=GroundTruth(
            issue_type="orders",
            team="orders_team",
            action_type="respond",
            response_keywords=["gift", "wrap", "message", "order"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E009",
            issue_type="unknown",
            sentiment="neutral",
            priority="low",
            message="I saw the same product at a competitor for $15 cheaper. Do you offer price matching?",
        ),
        ground_truth=GroundTruth(
            issue_type="billing",
            team="finance_team",
            action_type="respond",
            response_keywords=["price match", "competitor", "policy"],
        )
    ),
    TicketScenario(
        ticket=Observation(
            ticket_id="TKT-E010",
            issue_type="unknown",
            sentiment="neutral",
            priority="low",
            message="I recently moved and need to update my billing address on file. How do I do that?",
        ),
        ground_truth=GroundTruth(
            issue_type="billing",
            team="finance_team",
            action_type="respond",
            response_keywords=["billing address", "update", "account"],
        )
    ),
]