ticket-routing changedabout-claude/use-case-guides/ticket-routing
Nearest release: v2.1.310, published 11 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+8added
Lines−8removed
From line
1,058
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 1058, old and new numbered
/
from line 1058
10581058 DEFAULT_MODEL = "claude-haiku-5-5"
10591059
10601060
1061 def classify_support_request(request, actual_intent):
1061 def classify_support_request(ticket_contents, actual_intent):
10621062 # Define the prompt for the classification task
10631063 classification_prompt = f"""You will be acting as a customer support ticket classification system.
10641064 […]
from line 1101
11011101 const DEFAULT_MODEL = "claude-haiku-5-5";
11021102
11031103 async function classifySupportRequest(
1104 request: string,
1104 ticketContents: string,
11051105 actualIntent: string
11061106 ): Promise<{ reasoning: string; intent: string; correct: boolean; usage: Anthropic.Usage }> {
11071107 // Define the prompt for the classification task
from line 1147
11471147 // Set the default model
11481148 const Model DefaultModel = Model.ClaudeHaiku5_5;
11491149
1150 async Task<(string Reasoning, string Intent, bool Correct, Usage Usage)> ClassifySupportRequest(string request, string actualIntent)
1150 async Task<(string Reasoning, string Intent, bool Correct, Usage Usage)> ClassifySupportRequest(string ticketContents, string actualIntent)
11511151 {
11521152 // Define the prompt for the classification task
11531153 var classificationPrompt = """
from line 1205
12051205 // Set the default model
12061206 const defaultModel = anthropic.ModelClaudeHaiku5_5
12071207
1208 func classifySupportRequest(ctx context.Context, request, actualIntent string) (reasoning, intent string, correct bool, usage anthropic.Usage, err error) {
1208 func classifySupportRequest(ctx context.Context, ticketContents, actualIntent string) (reasoning, intent string, correct bool, usage anthropic.Usage, err error) {
12091209 // Define the prompt for the classification task
12101210 classificationPrompt := `You will be acting as a customer support ticket classification system.
12111211 […]
from line 1264
12641264
12651265 record Classification(String reasoning, String intent, boolean correct, Usage usage) {}
12661266
1267 Classification classifySupportRequest(String request, String actualIntent) {
1267 Classification classifySupportRequest(String ticketContents, String actualIntent) {
12681268 // Define the prompt for the classification task
12691269 String classificationPrompt = """
12701270 You will be acting as a customer support ticket classification system.
from line 1316
13161316 /**
13171317 * @return array{string, string, bool, Usage} the reasoning, the intent, whether the intent is correct, and the usage
13181318 */
1319 function classifySupportRequest(Client $client, string $request, string $actualIntent): array
1319 function classifySupportRequest(Client $client, string $ticketContents, string $actualIntent): array
13201320 {
13211321 // Define the prompt for the classification task
13221322 $classificationPrompt = <<<PROMPT
from line 1366
13661366 # Set the default model
13671367 DEFAULT_MODEL = Anthropic::Model::CLAUDE_HAIKU_5_5
13681368
1369 def classify_support_request(client, request, actual_intent)
1369 def classify_support_request(client, ticket_contents, actual_intent)
13701370 # Define the prompt for the classification task
13711371 classification_prompt = <<~PROMPT
13721372 You will be acting as a customer support ticket classification system.
from line 1411
14111411* **Accuracy:** 95% (out of 100 tests)
14121412* **Cost per classification:** 50% reduction on average (across 100 tests) from current routing method
14131413
1414Having these thresholds allows you to tell at scale, and with impartial empiricism, what method is best for you and what changes might need to be made to better fit your requirements.
1414Having these thresholds allows you to tell at scale, and with impartial empiricism, what method is best for you and what changes you might need to make to better fit your requirements.
14151415
14161416***
14171417
No line in this hunk matches that.