Ambiguous, Invalid, or System Error?
说明与用途
引入模糊、无效和系统错误状态改进了自动化机构工作流中的请求路由。
问题
The intake classifier needed distinct states for ambiguous, invalid, and system error to route requests appropriately.
结果
The updated classifier correctly routes ambiguous, invalid, and system_error cases, preserving the reason for each decision and avoiding misleading client messages.
工作流
- Define normal categories
- Add ambiguous state for overlapping categories
- Add invalid state with has_partial_intent boolean
- Add system_error state for classification failures
- Test with example requests
- Implement explicit Switch/IF routing
- Verify logging and email behavior
证据
I exercised a deliberately ambiguous request, vague and out-of-scope inputs, and a forced model failure.
The workflow retried classification three times at five-second intervals, then reached the fallback route for human review.
- 记录日期: 2026-10-20T10:56:11.440Z