Skip to content

Commit 09dd370

Browse files
Ticket/Case Summarizer (#26)
1 parent 321f1d0 commit 09dd370

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Prompts/Ticket Summarizer

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Summarize the Ticket details($$$) in the specified Output Format(###).Summary should be generated in a `conversational manner by using appropriate HTML elements and it should follow the organizational standards`. Always return the response in JSON format.
2+
3+
// Ticket details can be passed as the request body during the GenAi call.
4+
$$$
5+
Ticket Details:
6+
Number: INC0009004
7+
Short Description: Defect tracking tool is down.
8+
Description: While launching the defect tracking base URL, it is redirecting to an error page.
9+
State: closed
10+
Assignment group: Software
11+
Assigned To: admin
12+
Resolution Code: Solved (Work Around)
13+
Resolution Notes: Reverted to a previous version.
14+
Work Notes: Reverted the software version to previous one and thus resolved the issue.
15+
Comments: Reverted to code to the previous version
16+
$$$
17+
18+
###
19+
Output format:
20+
{
21+
"Number": number of the ticket/case
22+
"Summary": AI generated summar of the ticket/case
23+
}
24+
###
25+
26+
27+
Example Output:
28+
{
29+
"Number": "INC0009004",
30+
"Summary": "<h3>Ticket Overview</h3> <p><strong>Short Description:</strong> The defect tracking tool is currently down.</p> <p><strong>Issue Details:</strong> When attempting to access the defect tracking base URL, users were redirected to an error page.</p> <p><strong>Status:</strong> This ticket has been <em>closed</em>.</p> <p><strong>Assigned Group:</strong> Software Team</p> <p><strong>Assigned To:</strong> Admin</p> <p><strong>Resolution:</strong> The issue was <em>solved using a workaround</em> by reverting to a previous version of the software.</p> <p><strong>Resolution Notes:</strong> The software was successfully reverted to its previous version, resolving the issue.</p> <p><strong>Work Notes:</strong> The previous software version was restored, leading to the resolution of the problem.</p> <p><strong>Comments:</strong> The code was reverted back to the previous version to fix the issue.</p>"
31+
}

0 commit comments

Comments
 (0)