NLP Pipeline
UC-AIML-002: Intent Classification Pipeline
Purpose: Accurately categorize user messages into actionable intents.
| Property | Value |
|---|---|
| Actor | System |
| Trigger | Message arrival |
| Priority | P0 |
Main Success Scenario:
- Preprocessing (tokenization, stop-word removal).
- Vectorization (embedding generation).
- Inference against trained classifier (e.g., Random Forest/BERT).
- Confidence score calculation.
- If confidence > threshold, route to handler; else, fallback.
Alternate Flows:
- Flow A: Low Confidence: Trigger human handoff or clarification-seeking response.
Acceptance Criteria:
- [ ] F1 Score > 0.85 on test set.
- [ ] Inference time < 200ms.