NLP & Intelligent Handling
Advanced intent recognition and human-agent handoff protocols.
UC-BOT-003: Intent & Handoff
Purpose: Ensure users never hit a dead end, handling complex queries gracefully.
| Property | Value |
|---|---|
| Actor | Customer / Support Agent |
| Trigger | Free-text message |
| Priority | P0 |
Capabilities Breakdown:
1. Intent Classification (UC 32.1 - 32.5)
-
Booking Intents: "I need a cut", "Can I come in tomorrow?", "Are you open?".
-
Support Intents: "My payment failed", "Where is my refund?", "I'm running late".
-
Feedback Intents: "Service was great", "AC was too cold".
2. Audio/Voice Processing (UC 32.8)
-
Transcription: Convert Voice Notes -> Text using OpenAI Whisper/Google STT.
-
Action: Process transcribed text as a normal message intent.
3. Human Handoff (UC 32.7)
-
Trigger: Sentiment < -0.5 (Angry) OR Unrecognized Intent x 2.
-
Protocol: Bot pauses -> Tags "Urgent" in Support Dashboard -> Agent takes over.
-
Context: Agent sees full bot conversation history.
Main Success Scenario:
- User sends voice note: "Hey, I'm stuck in traffic, will be 10 mins late."
- Bot transcribes audio.
- Bot detects intent:
appointment.update_arrival. - Bot replies: "No problem! I've updated your arrival time. Drive safe!"
Acceptance Criteria:
- [ ] Classification accuracy > 90% for top 10 intents.
- [ ] Handoff alerts support agent within 30 seconds.
- [ ] Voice notes processing latency < 5 seconds.
Related Use Cases
-
Staff Attendance: To check if stylist is still available for late arrival.
-
CRM: Updating booking notes.