File size: 2,036 Bytes
36d5977
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "answers": {
    "churn_risk": {
      "noul": 0.0846,
      "rl_agent": {
        "act_probability": 1.0
      },
      "type": "noul"
    },
    "department": {
      "choice": "billing",
      "confidence": 0.6004,
      "probabilities": {
        "billing": 0.8809,
        "sales": 0.0371,
        "support": 0.082
      },
      "rl_agent": {
        "act_probability": 1.0
      },
      "type": "choice"
    },
    "urgency": {
      "confidence": 0.1872,
      "legend": {
        "0": "low",
        "1": "medium",
        "2": "high"
      },
      "probabilities": {
        "0": 0.099,
        "1": 0.6055,
        "2": 0.2956
      },
      "rl_agent": {
        "act_probability": 1.0
      },
      "score": 1.1966,
      "type": "score"
    }
  },
  "arrays": "reference.npz",
  "format_version": 1,
  "questions": {
    "churn_risk": {
      "criteria": null,
      "instructions": "Is this customer at risk of leaving?",
      "type": "noul"
    },
    "department": {
      "criteria": {
        "billing": "Payments and refunds",
        "sales": "New purchases",
        "support": "Product help"
      },
      "instructions": "Route this ticket to one department.",
      "type": "choice"
    },
    "urgency": {
      "criteria": [
        "low",
        "medium",
        "high"
      ],
      "instructions": "Score urgency from low to high.",
      "type": "score"
    }
  },
  "rendered_options": {
    "churn_risk": [
      "false: no, the statement does not hold",
      "true: yes, the statement holds"
    ],
    "department": [
      "billing: Payments and refunds",
      "support: Product help",
      "sales: New purchases"
    ],
    "urgency": [
      "level 0: low",
      "level 1: medium",
      "level 2: high"
    ]
  },
  "state": {
    "ticket": {
      "body": "I was charged twice. Please refund one payment.",
      "customer_language": "English",
      "subject": "Refund request for a duplicate charge"
    }
  },
  "usage": {
    "input_tokens": 209,
    "output_tokens": 0
  }
}