Downshift
← All call sites

supportdesk/agent_assist.py:23

summarize_for_agent

found by astmediumjudgetextmax_tokens 120temperature 0

Produce a two-sentence English summary of a support ticket for a human agent.

Output contract

Exactly 2 short sentences in English. Sentence 1: what the customer wants. Sentence 2: the key details (order ID, dates, amounts) when the ticket has them. Must not invent details that are not in the ticket.

keepstays on qwen2.5:7b

no cheaper model passed the checks

$400.64
Before / month
$400.64
After / month
$0.00
Savings (0.0%)
20,000
Calls / day

Dollar figures are projections: measured token counts x illustrative per-model prices x an assumed call volume, all set in downshift.yaml. They are not a real bill.

Models

How each model did

ModelPass rateJudge avgTokens in / outLatencyCost / callvs baselineCheck
qwen2.5:7bbaseline
premium tier
59.1% (13/22)3.64 / 5115 / 382.52 s$0.000668n/an/a
qwen2.5:3b
standard tier
22.7% (5/22)2.41 / 5115 / 411.27 s$0.00011138.5%fail
qwen2.5:1.5b
budget tier
0.0% (0/22)1.14 / 5115 / 661.38 s$0.0000570.0%fail
qwen2.5:0.5b
nano tier
4.5% (1/22)1.41 / 5115 / 400.41 s$0.0000287.7%fail

Prompt

What the call sends

Model in code: qwen2.5:7b

user
Summarize this support ticket for a human support agent. Write exactly 2 short sentences in English: what the customer wants, and the key details (order ID, dates, amounts) if present. Subject: {subject} Message: {body}

Eval examples

3 of 22 cases, every model side by side

›sum-017b3b1.5b0.5b

Inputs

subject
Refund request for ORD-10421
body
Hi, I ordered a pair of wireless headphones on 2026-09-02 (order ORD-10421). They're unused and still in the box, but I changed my mind. Can I get a refund?

Expected

Exactly 2 short English sentences. Sentence 1 says the customer wants a refund for order ORD-10421. Sentence 2 mentions order ORD-10421, order date 2026-09-02, and that the item is unused and in original packaging. No details that are not in the ticket.

standard change-of-mind refund with order ID and date (T001)

Outputs

qwen2.5:7bfailjudge 1/5
The customer wants a refund for an unused pair of wireless headphones ordered on 2026-09-02 (order ID: ORD-10421).

judge 1/5: Output contains only one sentence instead of the required two.

qwen2.5:3bfailjudge 2/5
What the customer wants: A refund for unused wireless headphones ordered on 2026-09-02. Key details: Order ID ORD-10421, order date 2026-09-02.

judge 2/5: Sentences are present but the first omits the order ID and the second omits the unused/in-original-packaging detail.

qwen2.5:1.5bfailjudge 1/5
**What the customer wants:** The customer wants a refund for the pair of wireless headphones ordered on 2026-09-02 with order ID ORD-10421. **Key details:** - Order ID: ORD-10421 - Date of order: 2026-09-02 - The headphones are unused and still in the box.

judge 1/5: The response is not exactly two short sentences; it uses headings and bullet points, violating the required format.

qwen2.5:0.5bfailjudge 1/5
The customer wants to return the wireless headphones they ordered on September 2, 2026, and is seeking a refund.

judge 1/5: Output is only one sentence, missing order ID and item condition details required by the rubric.

›sum-027b3b1.5b0.5b

Inputs

subject
Where is my package??
body
Order ORD-10588 placed on 2026-08-28 still hasn't arrived. Tracking hasn't updated in 10 days. This is ridiculous. I want my money back.

Expected

Exactly 2 short English sentences. Sentence 1 says the customer wants a refund for a missing package. Sentence 2 mentions order ORD-10588, order date 2026-08-28, and that tracking has not updated in 10 days. No details that are not in the ticket.

non-delivery with refund demand (T002)

Outputs

qwen2.5:7bpassjudge 5/5
The customer wants a refund for an order that has not arrived. The order ID is ORD-10588, placed on 2026-08-28, and the tracking has not been updated in 10 days.

judge 5/5: Meets all rubric criteria with exactly two correct sentences and no extra details.

qwen2.5:3bfailjudge 1/5
What the customer wants: Delivery of their package. Key details: Order ID - ORD-10588, Order placed on 2026-08-28, Tracking hasn't updated in 10 days.

judge 1/5: Sentence 1 does not state the refund request as required.

qwen2.5:1.5bfailjudge 1/5
**Customer's Request:** The customer wants to know the status of their package and is demanding a refund due to the delay in delivery. **Key Details:** - Order ID: ORD-10588 - Date Placed: 2026-08-28 - Tracking Status: No updates in 10 days - Amount: Not specified in the message

judge 1/5: The response is not exactly two short sentences and includes bullet points and extra details, violating the rubric.

qwen2.5:0.5bfailjudge 1/5
The customer wants to know where their package is and if it's still in their possession. They are experiencing delays in tracking their package and are concerned about the status of their order.

judge 1/5: The output does not mention the refund request or the required order details, violating the rubric.

›sum-037b3b1.5b0.5b

Inputs

subject
App crashes on login
body
Every time I open the SupportDesk Store app on my phone and tap Log in, it crashes. I've reinstalled it twice. App version 4.2.1.

Expected

Exactly 2 short English sentences. Sentence 1 says the customer wants the login crash fixed. Sentence 2 mentions app version 4.2.1 and that the issue persists after two reinstalls. No details that are not in the ticket.

technical bug, no order details (T003)

Outputs

qwen2.5:7bpassjudge 5/5
The customer wants the SupportDesk Store app to stop crashing upon login. The key details are: the app version is 4.2.1, and the customer has reinstalled it twice.

judge 5/5: Meets all rubric criteria: exactly two short sentences, first states desire to fix login crash, second includes version 4.2.1 and two reinstalls, no extra info.

qwen2.5:3bfailjudge 1/5
What the customer wants: To fix the app crash issue. Key details: Order ID not provided, dates not provided, amounts not provided. App version: 4.2.1.

judge 1/5: The response has three sentences, includes irrelevant details, and omits mention of the two reinstalls, violating the rubric.

qwen2.5:1.5bfailjudge 1/5
**What the customer wants:** The customer wants the SupportDesk Store app to function properly without crashing when attempting to log in. **Key details:** - Order ID: Not provided - Dates: Not provided - Amounts: Not provided - App version: 4.2.1

judge 1/5: Output is not two short sentences; it uses bullet points and extra formatting, not meeting the rubric.

qwen2.5:0.5bfailjudge 2/5
The customer wants to log in to the SupportDesk Store app on their phone, but it crashes every time they open it. They have tried reinstalling the app twice, and the issue persists.

judge 2/5: Only two sentences, but second sentence omits the required app version and first sentence doesn't explicitly state the desire for the login crash to be fixed.

All cases

Pass and fail across all 22 cases

qwen2.5:7b
13/22
qwen2.5:3b
5/22
qwen2.5:1.5b
0/22
qwen2.5:0.5b
1/22
pass fail no resultHover a square for the case id.