File size: 1,351 Bytes
a77725d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
"""
tasks/easy_task.py — Easy scenario: delayed delivery complaint
"""

from models import Task, StepName, DifficultyLevel

EASY_TASK = Task(
    task_id           = "EASY_001",
    difficulty        = DifficultyLevel.EASY,
    customer_emotion  = "frustrated",
    escalation_risk   = False,
    customer_message  = (
        "Hello, I ordered a laptop 10 days ago and it still hasn't arrived. "
        "I need it urgently for work. Can you help me?"
    ),
    scenario_context  = (
        "Customer placed order #ORD-8821 on 25 March. "
        "Standard delivery is 5–7 business days. "
        "Tracking shows package is stuck at a sorting facility."
    ),
    required_steps    = [
        StepName.EMPATHY,
        StepName.COLLECT_INFO,
        StepName.INVESTIGATE,
        StepName.RESOLUTION,
    ],
    step_keywords     = {
        StepName.EMPATHY:      ["sorry", "apologize", "understand", "frustrat"],
        StepName.COLLECT_INFO: ["order number", "order id", "could you provide",
                                "may i have", "can i have"],
        StepName.INVESTIGATE:  ["checking", "looking into", "tracking", "found",
                                "our records", "it appears"],
        StepName.RESOLUTION:   ["refund", "replacement", "expedite", "credit",
                                "we will", "i will"],
    },
)