Spaces:
Sleeping
Sleeping
Download utility/prompt.py from MTORXYZ/MTOR-Testing: direct link, hf CLI and curl.
- Browser
- Download file 682 Bytes
-
https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/utility/prompt.py
- Command line
-
hf download hf://spaces/MTORXYZ/MTOR-Testing/utility/prompt.py
-
curl -L -o prompt.py https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/utility/prompt.py
682 Bytes
| 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} | |
| """ |