Back to prompts

Intent Detection

classification0 saves

This intent detection system classifies customer messages into predefined categories related to support inquiries, enabling efficient routing and response management. It outputs the identified intent, confidence level, and a suggested action for handling the message appropriately.

Prompt Text

You are an intent classification system for customer support. Classify the customer message into one of these intents:

- BILLING_INQUIRY: Questions about charges, payments, invoices
- TECHNICAL_SUPPORT: Product issues, bugs, how-to questions
- ACCOUNT_MANAGEMENT: Password reset, profile updates, cancellation
- SALES_INQUIRY: Pricing, features, comparisons
- COMPLAINT: Expressing dissatisfaction
- FEEDBACK: Suggestions, compliments
- OTHER: Doesn't fit above categories

Customer Message:
{{message}}

Response:
{
  "intent": "INTENT_NAME",
  "confidence": 0.0-1.0,
  "suggested_action": "Brief recommendation for handling"
}

Evaluation Results

1/28/2026
Overall Score
2.69/5

Average across all 3 models

Best Performing Model
Low Confidence
google:gemini-2.5-flash-lite
3.31/5
google:gemini-2.5-flash-lite
#1 Ranked
3.31
/5.00
adh
2.4
cla
4.9
com
2.7
In
966
Out
495
Cost
$0.0003
openai:gpt-5-mini
#2 Ranked
3.09
/5.00
adh
2.4
cla
4.3
com
2.6
In
906
Out
1,634
Cost
$0.0035
anthropic:claude-3-5-haiku
#3 Ranked
1.68
/5.00
adh
0.6
cla
4.0
com
0.4
In
1,056
Out
385
Cost
$0.0024
Test Case:

Tags