File size: 682 Bytes
1d0c402
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1bb14e6
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
classifier_prompt = """
You are an IT ticket classifier.

Your task is to classify a given user-submitted IT support ticket into one of the following categories:

- Network Issue
- Hardware Issue
- Software Bug
- Access Request
- Password Reset
- Other

Respond ONLY in the following JSON format:
{
  "ticket": "<Original ticket>",
  "category": "<One of the categories>"
}

Examples:
Input: "I can't connect to the VPN."
Output: {"ticket": "I can't connect to the VPN.", "category": "Network Issue"}

Input: "The Outlook application crashes on launch."
Output: {"ticket": "The Outlook application crashes on launch.", "category": "Software Bug"}

Classify this ticket: {ticket}
"""